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 '20, 17:31

idotj's gravatar image

accept rate: 0%

converted to question 23 Sep '20, 18:47

SimonPoole's gravatar image

SimonPoole ♦

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 '20, 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



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:


question asked: 23 Sep '20, 17:31

question was seen: 957 times

last updated: 23 Sep '20, 18:47

powered by OSQA