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
Weiss Werner View Drop Down
New Member
New Member

Joined: 17 Apr 2013
Posts: 23
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

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

Joined: 18 May 2010
Posts: 2219
Post Options Post Options   Quote Bart Holvoet Quote  Post ReplyReply Direct Link To This Post 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.
Please note that it is against the Google Maps Terms of use to delete or alter items like the Google logo on the map.


- 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