1

如何使用 nominatim goecode 进行更改?

         var geocoder = new google.maps.Geocoder(); 
                geocoder.geocode( { 'address': remote_ip_info.city}, function(results, status) { 
                  if (status == google.maps.GeocoderStatus.OK) { 
                     map.setCenter(results[0].geometry.location);
                     map.setZoom(8);
                  } else { 
                    //alert("Geocode was not successful for the following reason: " + status); 
                  } 
                }); 
4

0 回答 0