You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi all, this plugin is all i need for my app and its working well so far, but... i was wondering if i can do 2 important things (independent).
Add a map.addLayer(freeDraw) to a LayerGroup.
Create multiples draws with diferent selected colors.
For the first point, i just want to enable/disable the layers with the Leaflet control - i couldnt make it, for some reason, i cant save the draws in a layergroup, how can i get this right?
For the second one, i just want to create multiples draws with a choosen color. I read in some few issues posted and realize that have classes and i think that the next step would be override the CSS of each class. How can i use this? I tried to use the functions but it doesnt work :/
Can someone help me to achieve this 2 particular needs? Thanks!
Waiting for a reply =)
The text was updated successfully, but these errors were encountered:
Hi all, this plugin is all i need for my app and its working well so far, but... i was wondering if i can do 2 important things (independent).
map.addLayer(freeDraw)
to a LayerGroup.For the first point, i just want to enable/disable the layers with the Leaflet control - i couldnt make it, for some reason, i cant save the draws in a layergroup, how can i get this right?
For the second one, i just want to create multiples draws with a choosen color. I read in some few issues posted and realize that have
classes
and i think that the next step would be override the CSS of each class. How can i use this? I tried to use the functions but it doesnt work :/Can someone help me to achieve this 2 particular needs? Thanks!
Waiting for a reply =)
The text was updated successfully, but these errors were encountered: