trailheadlabs / outerspatial-map-library

A Leaflet plugin built for use in OuterSpatial
https://www.trailheadlabs.com/labs/outerspatial-map-library/
Other
6 stars 1 forks source link

Overview control should honor the scrollwheelzoom setting from parent map #136

Closed nateirwin closed 6 years ago

nateirwin commented 6 years ago

Just noticed something on the map on this web page: https://www.visitutah.com/places-to-go/cities-and-towns/salt-lake-city/trails/. Scroll wheel zoom is turned off for the main map (which is good because it's embedded in a larger web page), but if you use the scroll wheel when the cursor is over the overview map in the bottom, right-hand corner of the map, it zooms in/out.

The preferred behavior would be turning scroll wheel zoom off for the overview map if it's turned off for the parent map.