【问题标题】:does google maps v3 reverse geocoding has usage limit谷歌地图 v3 反向地理编码有使用限制吗
【发布时间】:2013-05-22 12:54:57
【问题描述】:

我不知道在哪里问所以我希望这是这个地方

我想问一下 google maps v3 反向地理编码是否有限制!我问是因为使用 Google Geocoding API 受到每天 2,500 个地理定位请求的查询限制。

function codeLatLng(newPosition) {

    geocoder = new google.maps.Geocoder();


  var latlng = new google.maps.LatLng(newPosition.lat(), newPosition.lng());
  geocoder.geocode({'latLng': latlng}, function(results, status) 
  {
    if (status == google.maps.GeocoderStatus.OK) 
    {
      if (results[1]) 
      {

        formattedaddress = results[0].formatted_address;
        alert (formattedaddress);

      } 
      else 
      {
        alert('No results found');
      }
    } 

【问题讨论】:

    标签: google-maps-api-3 reverse-geocoding


    【解决方案1】:

    是的。地理编码器和反向地理编码器都受到速率限制和配额的约束。

    如果超过,您将获得google.maps.GeocoderStatus.OVER_QUERY_LIMIT的状态

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-07-29
      • 2014-12-17
      • 1970-01-01
      • 1970-01-01
      • 2015-07-27
      • 1970-01-01
      相关资源
      最近更新 更多