Support » Plugin: Extensions for Leaflet Map » Map overlay layer opacity

  • Resolved jackaspades

    (@jackaspades)


    Hi
    I am using several map layers with [layerswitch]. One of the layers is an overlay requiring an opacity ajustment. Is there a way to do this with your layer controls ?
    Regards

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author hupe13

    (@hupe13)

    I think no. But are your maps included here? If yes, you can try this.

    Thread Starter jackaspades

    (@jackaspades)

    No my layers are not present in Leaflet-providers Thanks anyway for the reference. Maybe an option could be added in a future release of your plugin. Regards

    Plugin Author hupe13

    (@hupe13)

    Is your layer such a layer like WaymarkedTrails.hiking?

    Thread Starter jackaspades

    (@jackaspades)

    Hi
    No the layers are from France’s mapping institute – the IGN. They include a river course shading overlay and an altitude shading overlay. They can be seen on the Geoportail : https://www.geoportail.gouv.fr/
    Regards

    Plugin Author hupe13

    (@hupe13)

    I mean, you have a base layer and you can switch on and off the overlay layer.
    But I see, you need an overlay layer with opacity, as you wrote.

    Thread Starter jackaspades

    (@jackaspades)

    Yes the system provides a base map layer (road maps or sat images). The overlay can be set up with fixed opacity on a map with no other controls. However, IGN also provides a control layer for use with Leaflet and their map layers. The specific slider control allows you to modify the opacity using a map control. On the example following (not a wordpress site : https://www.aphyllanthe.fr/randonnees/circuit.php?rkey=1000) you can see the overlays in action using the control on the upper right and selecting IGN elevations or Hydrography. regards

    Plugin Author hupe13

    (@hupe13)

    So like this, right?

    Thread Starter jackaspades

    (@jackaspades)

    Yes That looks good.

    Plugin Author hupe13

    (@hupe13)

    Installed since 2.2.3

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Map overlay layer opacity’ is closed to new replies.