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

后端 未结 2 1114
野的像风
野的像风 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 04:01

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

    A service for converting between an address and a LatLng.

提交回复
热议问题