Disable map scroll by default?

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: http://stackoverflow.com/questions/2330197/how-to-disable-mouse-scroll-wheel-scaling-with-google-maps-api

1 Like

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.

2 Likes

This seems to contain a solution for this problem:

Maybe someone will add it to the Google Maps Onebox.

6 Likes

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

2 Likes

Fixed via:

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

@elberet fixed short Google Maps URL issue via:

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

6 Likes