Hello,
I tried some of the TMSFMX Google Maps samples, but no map is loaded.
Is it because google changed globally the http to https?
Sincerely Peter
Did you set the APIKey property with a valid Google Maps JavaScript API key?
Hello,
I have put
TMSFMXWebGMaps1.MapOptions.DefaultLatitude := 28.538336;
TMSFMXWebGMaps1.MapOptions.DefaultLongitude := -81.379234;
TMSFMXWebGMaps1.MapOptions.ZoomMap := 6;
TMSFMXWebGMaps1.APIKey := 'AIzaHiddenPartOfKey';
in FormCreate, but on running nothing happens.
Sincerely Peter
Hello,
I have made some experiments:
Currently no results are obtained with all TMSFMX samples.
goes fine. So there is no problem with my key.
If the key is incomplete an error is shown,
if the key is empty, everything is ok again,
I think something has been changed in the interface between delphi and javascript by Google.
I have same problems with Thoms version 2.0 GoogleMap, see here:
None of the programs is working with current interface/framework.
Sincerely Peter
On what operating system do you use this component? Is this on Windows?
Hello,
It is on Windows Pro 7, 64Bit with Embarcadero RAD Studio 10.2.3.
Sincerely Peter
Bart
(Bart)
November 12, 2018, 8:53am
7
I haven't been able to reproduce any issues when using a valid API Key.
Can you try to enable the debug console to see if any error messages are displayed?
Example:
TMSFMXWebGMaps1.ShowDebugConsole := true;
Hello,
I have TMSFMXWebGMaps1.ShowDebugConsole := true;, but no console comes up and no map is loaded with
TMS FMX WebGMaps Demos\Overview\WebGMapsDemo
See Printscreen:
Hello,
I have TMSFMXWebGMaps1.ShowDebugConsole := true;, but no console comes up and no map is loaded with
TMS FMX WebGMaps Demos\Overview\WebGMapsDemo
See Printscreen:
Bart
(Bart)
November 27, 2018, 10:45am
10
Can you please make sure you have access to the domains mentioned below from IE on your system?
Hello,
The error was, that java scripting in internet explorer was set off. On activating everything seems to be ok.
Although I never use internet explorer but google chrome.
Sincerely Peter
Bart
(Bart)
November 28, 2018, 8:45am
12
Thanks for informing this issue was resolved.
The TWebBrowser control (which the TTMSFMXWebGMaps is based on) uses the IE engine in the background. This is why IE settings can influence it's behavior.