Reputation: 21
As of today, the delphi component has been returning script errors when trying to load the map. We have not changed any code in the application or component. Have Google changed something in their API? If so, is there a new version of the component to deal with this? Thanks, Chris
Upvotes: 1
Views: 839
Reputation: 21
Found a resolution to this via Google Maps API v3.19 Broken in Internet Explorer Quirks Mode
Within the resource files of the GMLib component we found a map.html file. We added the following line to the section of the html file.
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
We then recompiled the resource files into the component, recompiled the delphi project and it worked.
I suppose this is one of the downsides of using relatively unsupported free components.
We are now considering moving to a commercial paid for google maps component to reduce the risk of this happening again.
Upvotes: 0
Reputation: 2203
See my question Google Maps API v3.19 Broken in Internet Explorer Quirks Mode
I suspect you have the same issue - note the comment 'This worked in my case, which was an embedded TWebBrowser inside of a Delphi project' from the user FLDelphi
Upvotes: 2