Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LayerGroup and Colors - Free Draw instance #165

Open
ricard0-silva opened this issue May 13, 2020 · 0 comments
Open

LayerGroup and Colors - Free Draw instance #165

ricard0-silva opened this issue May 13, 2020 · 0 comments

Comments

@ricard0-silva
Copy link

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).

  1. Add a map.addLayer(freeDraw) to a LayerGroup.
  2. 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 =)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant