umap icon indicating copy to clipboard operation
umap copied to clipboard

Prevent breaking out of a kiosk browser that uses umap in an iframe

Open Michael1337 opened this issue 2 years ago • 0 comments

Hey there,

is it possible to configure a umap so that users can not break out of a site that uses the umap in an iframe? I use a umap created on https://umap.openstreetmap.de/ in an iframe as part of a website that I use in a kiosk mode, meaning visitors who walk past the computer screen can only interact with it using touch, but can not open new tabs, jump back in the browser history, or stuff like that. The screen is left unattended 24/7 for the most part. If I simply include the map with no query parameters, users can click on the link on the bottom right, which will be opened in a new tab. Also, tapping the touch screen with two fingers opens a popup which again can lead to links that open in new tabs. Is there a way to disable certain touch gestures or to remove anything that leads users to a new website?

Kind regards, Michael

Michael1337 avatar Sep 14 '22 21:09 Michael1337