首页 > 解决方案 > 地图自上次更新后已停止工作

问题描述

地图停止工作,因此出于开发目的,我无法再访问地图中更改密码 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>

标签: google-maps

解决方案


您必须启用计费帐户才能使用谷歌地图


推荐阅读