问题
I'm using this library for using google maps with delphi: GMLib
This has worked fine for several months, but today when I started my application I got a lot of script errors on the page and everything broke down!
After troubleshooting all day I have concluded that this is outside of my control. To demonstrate this you only need to build & run the demo project as it demonstrate the exact same problem (loads of script errors).
The only reasonable explanation is that the js files that the library loads from the Internet has changed. However this is very hard to pinpoint.
I'm hoping the developer of the library sees this as I'm completely lost on how to even start adressing this.
回答1:
base on this article Google Maps JS API (v3) InfoWindow Script Error - JSON Undefined
Delphi's solution step is
- modify map.html
- rebuild gmmapres.rc(use brcc32.exe)
- rebuild GMLib_DXE5.dproj
- rebuild your project
回答2:
You can download the newest version 1.5.4 from 1.5.4
来源:https://stackoverflow.com/questions/26362464/google-maps-library-for-delphi-suddenly-stopped-working