简体   繁体   English

在线Google Maps问题

[英]Problems with Google Maps online

With the example code taken from w3schools, the google maps works perfect in my html editor but it does not work online. 从w3schools取得示例代码后,谷歌地图在我的html编辑器中运行完美,但无法在线运行。 What is the problem and how can I solve? 有什么问题,我该如何解决?

W3 example http://www.w3schools.com/graphics/google_maps_intro.asp W3示例http://www.w3schools.com/graphics/google_maps_intro.asp

my code online, view-source: http://www.joaocouto-espinho.com/places/sintra/castelo-mouros.html 我的在线代码,查看源代码: http : //www.joaocouto-espinho.com/places/sintra/castelo-mouros.html

Please check your console. 请检查您的控制台。 Google Maps API error: MissingKeyMapError Google Maps API错误:MissingKeyMapError

You will need to use map key. 您将需要使用地图密钥。 you can see detail here. 您可以在此处查看详细信息。 Google Maps API warning: NoApiKeys https://developers.google.com/maps/documentation/javascript/error-messages#no-api-keys Google Maps API警告:NoApiKeys https://developers.google.com/maps/documentation/javascript/error-messages#no-api-keys

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM