地图停止工作,因此出于开发目的,我无法再访问更改密码gmail的地图位置
http://4us.pythonanywhere.com/For-Sale-Listings/city/homes
<div id="map" style="height:400px"></div>
<script>
function initMap(){
// Map options
var options = {
zoom:8,
center:{lat:42.3601,lng:-71.0589}
}
// New map
var map = new google.maps.Map(document.getElementById('map'), options);
// Listen for click on map
google.maps.event.addListener(map, 'click', function(event){
alert(event.latLng);
});
}
</script>
<script async defer src="https://maps.googleapis.com/maps/api/js?key=AIzaSyDwxfea8ecYMmGKMO39JF1ko5bhF4UocpM&callback=initMap">
</script>
答案 0 :(得分:0)
您必须启用一个计费帐户才能使用Google地图