Web forum is in read-only mode. Login as active registered customer for write access
  Forum Search   New Posts New Posts

Avoid open browser windows

 Post Reply Post Reply
Author
Weiss Werner View Drop Down
New Member
New Member
Avatar

Joined: 17 Apr 2013
Posts: 22
Post Options Post Options   Quote Weiss Werner Quote  Post ReplyReply Direct Link To This Post Topic: Avoid open browser windows
    Posted: 05 Apr 2018 at 8:14pm
Hello!

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,
    /Werner
Back to Top
Bart Holvoet View Drop Down
TMS Support
TMS Support
Avatar

Joined: 18 May 2010
Posts: 2083
Post Options Post Options   Quote Bart Holvoet Quote  Post ReplyReply Direct Link To This Post Posted: 09 Apr 2018 at 11:24am
Hi,

- 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.
Please note that it is against the Google Maps Terms of use to delete or alter items like the Google logo on the map.

https://developers.google.com/maps/terms#9-license-requirements

- As a partial workaround you can disable POI links by setting MapOptions.DisablePOI to true.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down