We've
indeed seen intermittent issues from Google with their Google Maps service in
the past days. We could
also see the problem here last week at specific times only but today we do not
see the issue. When we
saw the issue, it was resolved by specifying a Google Maps Javascript API
key to TMSFMXWebGMaps.APIKey before launching the map, so I'd recommend as a
precaution to request such (free) key and assign it.
Bruno replied to my direct support request and told me that you need to put the API Key in the constructor of the Tform (or the Tframe in my case). I did that and it made no difference. I'm not sure this is a TMS problem, because sometimes it happens and sometimes it doesn't. The problem is that we have no visibility of the actual error that would be posted in the Developer's Console so we don't know what the problem is.
Bruno replied to myself regarding this issue too in regards to a support ticket. His fix was to set the WebGMaps.APIKey to out own API key. This is something that we are already doing and it's still not working for us.
The maps goes down in the middle of the day and comes back up around the same time that Google resets it's API limit count.
This makes me to believe that somewhere there is a hard coded API key which is being used by TMS which may be going over quota (which would explain why at a certain time of the day the map software stops working and then continues to work early in the morning in the UK) I believe the daily request pool resets at 12:00am PST.
Could TMS please list the entire Google APIs which should be enabled to have full use of the software please? Such as maps javascript, directions API and so on. Just so we can ensure our API key has everything enabled that it should have.
We also see the issue at this time when no API Key is assigned.
After assigning the API Key, the issue goes away.
Can you please make sure you have correctly assigned the API Key value? Enabling only the "Google Maps JavaScript API" in the Google Developers Console should be sufficient. If you are using the directions functionality, also enable the "Google Maps Directions API". If the API Key is assigned correctly, you should be able to see the stats (In Google Developers Console) increase every time the map is loaded.
We have a Javascript API key, we're assigning it in the Constructor and if we read the key back during runtime we get the correct key returned. However, we get this error in the log :