-
Notifications
You must be signed in to change notification settings - Fork 640
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
Is there a way to set active base layer ? #384
Comments
+1 |
|
and for overlays
|
This issue was moved to angular-ui/ui-leaflet#22 |
I'm going to rework&redesign angular-leaflet-directive to be compatible with Leaflet v1.0. It will mantain almost all its functionality, and will be compatible with the current features of the directive, but I must start from a fresh point, so I'm going to close this issue. If you think it must be worked with the new version, please reopen it. |
Hi,
I'm using the layers attribute for my fixed baselayers. I want to store and load the user's base layer selection in the localstorage so I need to set the base layer at start up.
With introducing an eg. activeLayer option and making a small change in the angular-leaflet code I could do it. Or I tried to use setting top = true for the active layer at start up, but that also ruins the order of the options in the layer control UI, making the active layer on top. ( I don't want this. ) Anyway maybe there is a simpler way to do this without changing the code. That's what I want to know.
Thanks.
The text was updated successfully, but these errors were encountered: