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

Changing disableScrollWheelZoom map option doesn't affect the map #38

Open
devinrhode2 opened this issue Apr 14, 2020 · 2 comments
Open

Comments

@devinrhode2
Copy link

devinrhode2 commented Apr 14, 2020

I may be missing something. After a bing map renders, can I pass in different mapOptions and expect those to affect the map? For some reason changing disableScrollWheelZoom is having no effect on the map.

I was able to demo this behavior in this code sandbox few weeks ago but my sandbox broke somehow between now and then.. (https://codesandbox.io/s/react-bingmaps-toggle-scrollzoomenabled-dldbp?file=/src/App.js:335-357)

@jedmonsanto
Copy link

i think you need this to disable the zoom: showZoomButtons

@devinrhode2
Copy link
Author

devinrhode2 commented Jul 18, 2020 via email

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