Javascript 有没有办法从Google.Maps对象中使用谷歌地图时区API

Javascript 有没有办法从Google.Maps对象中使用谷歌地图时区API,javascript,google-maps,google-maps-api-3,Javascript,Google Maps,Google Maps Api 3,因此,为了查找位置,您可以使用GooglePlacesAPI,您可以像这样使用API https://maps.googleapis.com/maps/api/place/nearbysearch/json?location=-33.8670522,151.1957362&radius=500&types=food&name=harbour&sensor=false&key=AddYourOwnKeyHere 或者您可以像这样使用google.maps对

因此,为了查找位置,您可以使用GooglePlacesAPI,您可以像这样使用API

https://maps.googleapis.com/maps/api/place/nearbysearch/json?location=-33.8670522,151.1957362&radius=500&types=food&name=harbour&sensor=false&key=AddYourOwnKeyHere
或者您可以像这样使用google.maps对象中的功能

  service = new google.maps.places.PlacesService(this.gmap);

  var that = this;

  if ( data.search.length <= 0 ) {
    request['types'] = data.types;
    service.nearbySearch(request, function(results, status) {
      that.markPlaces(results, status);
      that.gmap.setZoom(14);
    });
  } else {
    request['query'] = data.search;
    service.textSearch(request, function(results, status) {
      that.markPlaces(results, status);
      that.gmap.setZoom(14);
    });
  }

我之所以这么问是因为IE8让我很难处理ajax请求(跨域),我不想依赖IE8内置的XDomain对象通过服务器上的代理发送请求。不幸的是,这不是一个选项。服务器位于防火墙后面,无法对外访问internet。这就是我第一次发现google.maps.places.PlaceService的原因
https://maps.googleapis.com/maps/api/timezone/json?location=39.6034810,-119.6822510&timestamp=1331161200&key=API_KEY