Gesture handling

Feature that prevents users from getting trapped on the map when scrolling a long page

SEEMAP integrates Leaflet Gesture Handling that brings the basic functionality of Google Maps Gesture Handling into Leaflet. Useful for iframe embedded maps, gesture handling prevents users from getting trapped on the map when scrolling a long page.

<SEEMAP_FILE_URL>?gesture=<true or false>
  • If default gesture handling is set to false, just add GET parameter gesture=true to enable gesture handling.
  • If default gesture handling is set to true, just add GET parameter gesture=false to disable gesture handling.
<iframe src="../../seemap.html"></iframe>
<!-- DEMO ONLY -->
<style>
    iframe {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: none;
    }
</style>
<iframe src="../../seemap.html?gesture=true"></iframe>
<!-- DEMO ONLY -->
<style>
    iframe {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: none;
    }
</style>