Putting a specific marker in foreground/ visible in front of all others
-
Hello,
I’m a real beginner and I’m creating a map on my wordpress site (it’s in local as it’s currently in developpment) using the Leaflet Map and Extensions for Leaflet Map plugins.
I have groups of markers in a close area and I would like a specific marker to be the most visible (in any zoom case), but I have issues as another marker is really close by and is hiding it. I wonder if maybe someone could help me achieve it.
I have tried using
riseOnHover
orzIndexOffset
in the shortcode and such but I didn’t seem to be able to make it work. And I’m less than sure it’s the correct thing to do!If it’s useful here is an exemple of my code :
[leaflet-map lat=43.79589433002964 lng=6.328071205823208 zoom=8 scrollwheel=true]
[leaflet-extramarker markerColor="red" lat=43.55 lng=6.00 shape="circle" title="Ecole maternelle"]Ecole maternelle[/leaflet-extramarker]
[leaflet-extramarker markerColor="red" lat=43.56 lng=6.01 shape="square" icon=fa-school-flag prefix=fa title="College"]College[/leaflet-extramarker]
(I’d like this marker visible every time “above” the others in this exemple)[hover][leaflet-scale][fullscreen][zoomhomemap]
I searched the forum but didn’t find quite the same issue. Thank you all in advance, any help is appreciated!
- The topic ‘Putting a specific marker in foreground/ visible in front of all others’ is closed to new replies.