Closed 77656233 closed 7 years ago
I also have scrolling disabled on my site by using 'mapsettings' parameter:
$('#bh-sl-map-container').storeLocator({ 'mapSettings' : {scrollwheel: false} });
Yes but if this snipped would be included the right way into the code it would be possible to activate it with a click or drag and drop and it gets disabled again on mouse out of map. So i really hope someone could add it.
In November of 2016 Google pushed out gestureHandling and from my testing it's set to cooperative by default on mobile devices without updating or changing anything. gestureHandling is a better solution compared to the code above and the above might actually interfere with this functionality so I don't consider it to be an issue and I'm closing this.
Hey guys,
i added this locator to a website project i am on right now and had the problem that i was not able to scroll the page when my mouse was over the map.
I found this site: http://bdadam.com/blog/simple-usability-trick-for-google-maps.html
on the commentars was a usefull function:
}
I now added the "scrollwheel: false" function to my map settings but i was not able to get the other functions included into the code. So right now i just disabled the zoom scroll ;/ but i would love to get it back on click on drag event like the function should work from top.
Can someone help me to get this working?
Greetings Chris