NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

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

idotj
11111
accept rate: 0%

converted to question 23 Sep '20, 18:47

SimonPoole's gravatar image

SimonPoole ♦
44.7k13326701

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 ♦

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:

×74

question asked: 23 Sep '20, 17:31

question was seen: 2,967 times

last updated: 23 Sep '20, 18:47

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum