https instead of http

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.

If I try https://jsfiddle.net/vfo8ywhx/ with sample Simple map in javascript with my APIkey everything
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:
https://www.delphipraxis.net/157004-google-maps-ueber-com-component-object-model-54.html
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

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:
http://www.winserion.org/images/Bild%201.png

Can you please make sure you have access to the domains mentioned below from IE on your system?


https://maps.googleapis.com
http://maps.google.com/
https://getfirebug.com/

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

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.