Avoid open browser windows
Joined: 17 Apr 2013
Topic: Avoid open browser windows
Posted: 05 Apr 2018 at 8:14pm
I use WebGMaps for my Windows FMX project.
Situation is that I want to use it in a kiosk mode.
So users can navigate on the map but should not be able to leave my application by clicking on links on the map (e.g. Google symbol, POI links, ...).
Currently I cannot use this component because of this reason.
Of course I tried to fetch the request by TMSFMXWebGMaps1BeforeNavigate event, but there was no event triggered when you click on such link.
Any solution of this??
Thanks in advance,
Joined: 18 May 2010
|Post Options Quote Reply Posted: 09 Apr 2018 at 11:24am|
- Please note that the OnBeforeNavigate event is not triggered in this case because the link is opened in a new browser window and not in the TWebBrowser control.
Unfortunately it's currently not supported to catch these clicks.
- As a partial workaround you can disable POI links by setting MapOptions.DisablePOI to true.
|Forum Jump||Forum Permissions
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum