Changing disableScrollWheelZoom map option doesn't affect the map
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)
i think you need this to disable the zoom: showZoomButtons
I'm no longer on the team/project using react bingmaps anymore, but maybe flipping that extra setting is key. If you can't zoom with scrollwheel, as a user, you need the zoom buttons to zoom instead right? I believe we had the zoom buttons enabled.
On Sat, Jul 18, 2020, 2:50 AM Jed Monsanto [email protected] wrote:
i think you need this to disable the zoom: showZoomButtons
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/iniamudhan/react-bingmaps/issues/38#issuecomment-660445484, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEDZKAOAOAVFVG2PECJZYDR4FH6DANCNFSM4MH7CF7A .