Does Google Maps API offer a way to search for locations by name?

后端 未结 2 1113
野的像风
野的像风 2021-02-04 03:25

When one visits http://maps.google.com, they are able to type queries into the search field and receive results based on locations or places, and not hard search results, as the

相关标签:
2条回答
  • 2021-02-04 03:52

    What you are looking is Geocoding API from google maps.

    Find Documentation here

    UPDATE 5/12/2011

    Google just opened up public access to their Places API. This is more to the heart of the original question request:

    http://code.google.com/apis/maps/documentation/places/autocomplete.html

    0 讨论(0)
  • 2021-02-04 04:01

    I think you're looking for the google.maps.Geocoder class:

    A service for converting between an address and a LatLng.

    0 讨论(0)
提交回复
热议问题