kartevonmorgen icon indicating copy to clipboard operation
kartevonmorgen copied to clipboard

Strg + Scroll to prevent unintended zooming in the map

Open wellemut opened this issue 3 years ago • 0 comments

Problem

When our Map is used in iframe, scrolling the page is suddenly stopping when you hit the map. That it is directly zooming.

I was wondering if you were the right person to ask, if there are plans for the embedded map (iframe) to support an overlay like "Press crtl + scroll to scroll". See also in the screenshot or at this homepage maps-iframe.com/ That would make it a lot simpler to scroll past the iFrame on our homepage! https://speisekammer.biz/

Solution

  1. It becomes standard, that you have to press Strg while scrolling, if you want to zoom in -> This is only needed in iframes, not in fulls-screen-maps
  2. Google does it, but even osm-maps can do it: https://nachhaltig-wirtschaften-mitteldeutschland.de/innovationsworkshop/projektuebersicht/
  3. Renn-Süd has found a quite nice and simple way in their TYPO3-Ifram: https://www.werkzeugkasten-wandel.de/werkzeuge-des-wandels/kooperation-mit-rennsued/karlsruhe-kooperation-mit-rennsued.html it has a delay of 3 sec. before it swiches from scrolling to zooming

wellemut avatar Mar 24 '21 09:03 wellemut