地理位置标记javascript错误不显示地图

时间:2016-08-28 02:26:18

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

https://github.com/ChadKillingsworth/geolocation-marker/releases/tag/v2.0.4

它加载的错误java脚本但很快出现错误

  

Google Maps API错误:MissingKeyMapError    HTTPS: // developers.google.com/maps/documentation/javascript/error-messages#missing-key-map-error“JS:34:391

     

Google Maps API警告:NoApiKeys    HTTPS ://developers.google.com/maps/documentation/javascript/error-messages#no-api-keys

CONSOLE ERROR

1 个答案:

答案 0 :(得分:0)

https://developers.google.com/maps/documentation/javascript/error-messages#missing-key-map-error创建关键开发者.google.com/maps/documentation/javascript/get-api-key