Plugin Author
hupe13
(@hupe13)
Do you have an example?
But you can only group by the options for leaflet-line.
This works for all options excepts leaflet-line:
[leaflet-map height=600 width=800 zoom=10 fitbounds zoomcontrol]
[leaflet-gpx className=”red” src=https://cdn.jsdelivr.net/gh/mapbox/togeojson@master/test/data/run.gpx color=black]
[leaflet-line className=”yellow” addresses=”Montreal;Ottawa” color=”purple”]Ottawa Line[/leaflet-line]
[leaflet-optiongroup option=”className” values=”red,yellow” groups=”Linea Linea,Linea Ottawa”]
[leaflet-marker alt=”mar1″]
[leaflet-marker alt=”mar2″ lat=43.68 lng=-79.275]
[leaflet-marker alt=”mar3″ lat=43.67 lng=-79.4]
[leaflet-optiongroup option=”alt” values=”mar1,mar2,mar3″ groups=”Linea 1,Linea 2,Linea 3″]
I have also tested with “native” options, as color, and nothing seems to work….
Am I missing something?
Thanks!
Plugin Author
hupe13
(@hupe13)
No, it works only for marker (+ extramarker) and geojsons (+ gpx, kml). I will provide this in the next version.
Plugin Author
hupe13
(@hupe13)
If you want test it, see the Github version.
Thanks again!
You are a machine, much more than ChatGPT!