But what if the OSM comes from an embed iframe? Just the iframe with the link: https://www.openstreetmap.org/export/embed.html?.....

Thats my case and I can see the zoom buttons but impossible to add any attr or function to avoid the mouse scroll inside :(

asked 23 Sep, 17:31

idotj's gravatar image

idotj
11
accept rate: 0%

converted to question 23 Sep, 18:47

SimonPoole's gravatar image

SimonPoole ♦
41.2k13301653

This should probably be a new question, but see if https://gist.github.com/9to5IT/cdd01591813cb7a87c5b helps, and see also https://stackoverflow.com/questions/15494568/html-iframe-disable-scroll - this is about disabling scrolling for an iframe rather than OSM specifically.

(23 Sep, 17:47) EdLoach ♦
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×59

question asked: 23 Sep, 17:31

question was seen: 64 times

last updated: 23 Sep, 18:47

powered by OSQA