UnLaunch

hi there

In the code I see TWebGMaps.Launch which launches the Google Map webpage etc......

However, what is the best way for me to implement an 'UnLaunch' function ie reset the page to blank etc ie Undo Launch.

Tried testing :-

procedure UnLaunch;
begin
         Map.WebBrowser.Stop;
         Map.Flush;
         Map.WebBrowser.Navigate(HTML_BLANK_PAGE);
end;

Is this correct???

Thanks

Lee




Hi,


Your code looks correct.
You can indeed use this to clear the map.

This is a good suggestion and we'll consider adding this method in a future version.