阻止谷歌地图,无法平移和缩放,JS错误

时间:2015-06-04 16:49:23

标签: javascript google-maps google-maps-api-3

根据Google地图Api代码示例,我无法平移和缩放此基本地图。

地图 here

正如您在控制台中看到的,我收到了第一个错误:

Uncaught TypeError: Cannot read property 'getAttribution' of undefined

在我用鼠标去地图后,很多:

Uncaught TypeError: Cannot read property 'offsetX' of undefined

我可以通过加入 this library 来进行缩放和平移工作。

但在这种情况下,我得到的控件错误,如 this capture

0 个答案:

没有答案
相关问题