Change marker icons?
-
First, thank you for a easy and good plugin!
I wonder if it would be possible to make it possible to change the marker icons? Lets say with a attribute like
icon="../../../uploads/sites/2/2014/10/shark_icon.png"
? (but it might also then need ‘iconSize’ and ‘iconAnchor’)) Another way might be to use sprites, like this leaflet plugin https://github.com/leaflet-extras/leaflet.sprite
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Change marker icons?’ is closed to new replies.