Google Maps ExpiredKeyMapError with recently created API Key

霸气de小男生 提交于 2020-01-03 08:43:34

问题


I just created an API key for using with my site, the map is going to just show where the company it's placed.

But somehow the map is loaded and then it self refreshed and shows the ExpiredKeyMapError in the js console.

Have you got any idea what it can be?

PS: I tried to re-create it from another account and remove any non google parameters from url generation and still not working.

Page is: https://corporativo.androsol.com/contact/

Thanks for any help!


回答1:


For me it showed that Javascript Maps API was enabled, I had to disable and enable it again.




回答2:


I experimented the same error. I think this is because Javascript Maps API is disabled. To solve go to https://console.developers.google.com/apis/library and click in Google Maps JavaScript API. I found this solution at ExpiredKeyMapError on newly generated API key. Sorry for poor english. I hope it helps.



来源:https://stackoverflow.com/questions/41631982/google-maps-expiredkeymaperror-with-recently-created-api-key

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