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

Add option to control hiding #33

Open
cguldner opened this issue Jun 19, 2017 · 2 comments
Open

Add option to control hiding #33

cguldner opened this issue Jun 19, 2017 · 2 comments

Comments

@cguldner
Copy link

Would like to see an option such as screenSizeHide that takes a string that is a pixel value, em, rem, etc. This would set the screen size at which the widget will hide. You could also set it to false or an empty string and have it always display at any screen size

@alberto-acevedo
Copy link
Owner

Good idea. I would suggest the adding of properties for pixels screenWidthSizeHide and screenHeightSizeHide.

As an alternative, would it work for you if I add visibility functions to the plugin API to hide/unhide the compass, zoom controls, and distance scale? You could use these functions in your implementation to fully control the visibility. Thanks.

@cguldner
Copy link
Author

cguldner commented Jul 5, 2017

That could also work, but a single option might make it easier for simple uses

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