This is critical - it was still working yesterday
Map not initialized - i have a blank white screen where the map is
Please add TmsFncMaps coponent and add google api key and set service to googlemaps
Please help
This is critical - it was still working yesterday
Map not initialized - i have a blank white screen where the map is
Please add TmsFncMaps coponent and add google api key and set service to googlemaps
Please help
I am having the same problem tonight. Oddly, my compiled version in Delphi 10.2 is unaffected, but coding in Delphi 12 Update 1 gets a white screen. The initialize routine event is never called. I have not updated to the latest TMSMap version 4.2.1, either.
As I wrote, it was working yesterday. This morning the same code is not working. Even yesterday's compiled exe is not working!
Are you on the 4.2.1 version? I am curious if that update would fix it?
i'm have TMS FNC Maps - v4.2.1.0
I would like to be wrong but I am betting on changes in Google API that TMS does not support
Well, the only counter to that thought is why my product in 10.2 is still working against 4.2 version, but my other product in Delphi 12 isn't.
the same problem!!! any help?
My Delphi 10.2 version, which still works, is using Google API version 3.57.13.
Hi,
It looks like there was a breaking change introduced in Google Maps API v3.58.
There are two workarounds available:
TTMSFNCMaps
, set LocalFileAccess
to True
TTMSFNCGoogleMaps
you can set Options.Version
to 3.57
or lower to revert to an earlier version of the APIWe are currently investigating a fix for this issue.
- In
TTMSFNCMaps
, setLocalFileAccess
toTrue
Unfortunately, the solution does not work when I have more than one map window open at the same time.
" * In TTMSFNCMaps
, set LocalFileAccess
to True
"
this will not solve the problem if there is more than one TTMSFNCMaps map window
please give me another solution
I have not been able to reproduce this issue.
Can you please provide more information so I can further investigate this?
F12
to open the browser console. Then select the Console
tab to see if any JavaScript errors are displayed.Create application with two form with TTMSFNCMaps VCL and TTMSFNCMaps.LocalFileAccess := true
First windows work good, second is blanc. Not initialized
Setting LocalFileAccess
to True
with multiple forms is working as expected when tested here.
Which version of Delphi are you using?
Do you see any JavaScript errors in the browser console of the blank map?
Delphi 11.2
Please put together a sample application so we can try to reproduce with the exact same conditions.
Unfortunately, the problem still occurs in a completely random way, and it is 100% related to the msGoogleMaps map service.
Unfortunately, I am not able to share the codes of my application, which is probably understandable.
In addition, I will repeat - until 2024-10-16, the application worked correctly on components 4.2.0.1 and today it does not work on either version 4.2.0.1 or version 4.2.1.0. With the Google map, the map is not initialized - the MapInitialized event is not triggered. If I switch to, for example, msHere, msLeaflet, the MapInitialized event is always triggered.
The test application can also generate errors when switching between services - and these are errors ONLY for msGoogleMaps
the problem does not occur with every change of child <> dialog, and besides, every time the window is opened there is an empty map, nevertheless the problem is there and it is repeatable