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

disabling zoom gestures on AnyMap #15

Open
prfarlow1 opened this issue Oct 25, 2017 · 1 comment
Open

disabling zoom gestures on AnyMap #15

prfarlow1 opened this issue Oct 25, 2017 · 1 comment

Comments

@prfarlow1
Copy link

I noticed that AnyMap's UiSettings only has 3 settings methods. Google's UiSettings has 10 settings, while Baidu's has 5. I need to disable zoom gestures on maps using setZoomGesturesEnabled(boolean), which is provided by both Baidu and Google. The AnyMaps interface does not have this method. How do I accomplish this?

@Diolor
Copy link
Contributor

Diolor commented Oct 25, 2017

You may add the method in the UiSettings interface. Then implement it for Baidu + Google but throw an UnsupportedOperationException for Open street. We would be happy to merge your PR!

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

No branches or pull requests

2 participants