Plugin Author
bozdoz
(@bozdoz)
Like have a number appear instead of a marker?
Thread Starter
ccmp
(@ccmp)
Hi,
No a number on the marker. Something like this https://www.visitalmere.com/nl/routes/3725421068/fietsroute-almere-haven .
This is also nice : https://www.geoapify.com/create-custom-map-marker-icon
What I do is looping through highlights or bars and will display the number on the icon that correspondent with the count of the loop.
Plugin Author
bozdoz
(@bozdoz)
if you’re dynamically adding them you should be able to change the class you add to the markers:
[leaflet-marker svg background="#777" iconClass="dashicons dashicons-star-filled" color="gold"]Hello World[/leaflet-marker]
Thread Starter
ccmp
(@ccmp)
Yes that’s true. But I can’t add a ‘1’ or ‘2’ above the marker.