Marker Filters On/Off for Icons?
-
So I have a bunch of number markers
[leaflet-extramarker lat=-2.108898659243126 lng=-86.12040479526678 markerColor=purple shape=circle icon=fa-number number=1]
This is what I use for the optiongroup
[leaflet-optiongroup option=”number” values=”1,2,3,4,5,6,7,8,9″ groups=”1,2,3,4,5,6,7,8,9″ cluster radius=90 disableClusteringAtZoom=0]
This works to show on the map numbers 1-9, and you can toggle it off and on each number
But we dont know how to do it with Icons?
Here is a example of the Icons we use
[leaflet-marker lat=-1.7136116598836224 lng=98.43822701394923 iconurl=”/icons/Folgorite.png” iconsize=”20,20″]Folgorite Crystals[/leaflet-marker]
[leaflet-marker lat=46.76996843356982 lng=-45.664486889329254 iconurl=”/icons/Azurite.png” iconsize=”20,20″]Azurite Crystals[/leaflet-marker]
Can anyone help point me in the right direction? I assume this shouldnt be that hard, just we dont know the correct syntax / method of doing it.
Additionally, any way to add Text to the Filters / Toggle On / Off side screen thing?
- The topic ‘Marker Filters On/Off for Icons?’ is closed to new replies.