【问题标题】:Google Maps Api v3 custom InfoWindow - "google is not defined" errorGoogle Maps Api v3 自定义 InfoWindow - “google 未定义”错误
【发布时间】:2011-04-26 15:56:59
【问题描述】:

尝试在我的基于谷歌地图的应用程序中创建自定义信息窗口。

下一个例子是我的开发基点之一:

http://gmaps-samples-v3.googlecode.com/svn/trunk/infowindow_custom/infowindow-custom.html

问题是无论我使用这个或其他示例,在 forefox 的萤火虫中我都会出错

google is not defined
InfoBox.prototype = new google.maps.OverlayView(); 

你能帮我解决这个问题吗,如果没有自定义信息窗口,我将无法继续我的工作.....

【问题讨论】:

    标签: google-maps-api-3 infowindow


    【解决方案1】:

    我的错误 - 我没有正确包含谷歌地图 api 库 - 我在 http://maps.google.com/maps/api/js?sensor=false 之前包含 infobox.js

    【讨论】:

      猜你喜欢
      • 2014-12-09
      • 1970-01-01
      • 2011-02-19
      • 1970-01-01
      • 2012-06-07
      • 2011-06-03
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多