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

How can I access a control? #1011

Closed
milovanderlinden opened this issue Oct 28, 2015 · 4 comments
Closed

How can I access a control? #1011

milovanderlinden opened this issue Oct 28, 2015 · 4 comments

Comments

@milovanderlinden
Copy link

I have a custom button, somewhere in my angular bootstrap-ui page. From this button, I want to show or hide the minimap.

I know that leaflet has no way of telling which controls are loaded in the map, but does your wonderful directive offers this option?

For the history control I ended up declaring it in my controller and then accessing it's functions.

screenshot from 2015-10-28 20-59-52

@nmccready
Copy link
Contributor

I'd have to dig into this as I actually wanted to do the same thing. However, currently I am hiding it with css.

@milovanderlinden
Copy link
Author

That is indeed a fine solution for now! I will use that too. Thank you!

2015-10-28 21:19 GMT+01:00 nmccready notifications@github.com:

I'd have to dig into this as I actually wanted to do the same thing.
However, currently I am hiding it with css.


Reply to this email directly or view it on GitHub
#1011 (comment)
.

[image: http://www.dogodigi.net] http://www.dogodigi.net
Milo van der Linden
web: dogodigi http://www.dogodigi.net
tel: +31-6-16598808

@nmccready
Copy link
Contributor

This issue was moved to angular-ui/ui-leaflet#6

@nmccready
Copy link
Contributor

Actually besides being migrated this was resolved as well.

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

2 participants