Google Maps library for Delphi suddenly stopped working?

我们两清 提交于 2019-12-11 09:45:42

问题


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

  1. modify map.html
  2. rebuild gmmapres.rc(use brcc32.exe)
  3. rebuild GMLib_DXE5.dproj
  4. 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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!