Disable map scroll by default?


(Allen - Watchman Monitoring) #1

Continuing the discussion from Embedding google maps short urls is broken

This is a feature request… could we get the scrolling on embedded maps disabled by default?

A la: jquery - How to disable mouse scroll wheel scaling with Google Maps API - Stack Overflow


(Jens Maier) #2

Discourse doesn’t actually consume the Google maps API. The oneboxer fiddles with the oneboxed URL until it gets something that can be successfully embedded in an <iframe>, so unless there’s an option to disable the mousewheel that can be passed via the query string, this is going to be a problem.


(Gerhard Schlager) #3

This seems to contain a solution for this problem:

Maybe someone will add it to the Google Maps Onebox.


(Jeff Atwood) #4

Sure @techapj can you add this to the outstanding onebox issues along with short Google Maps URLs and the Flickr issue.


(Arpit Jalan) #5

Fixed via:

https://github.com/discourse/onebox/pull/281

@elberet fixed short Google Maps URL issue via:

https://github.com/discourse/onebox/pull/280


(Sam Saffron) #6