Google proposed city name auto-complete

I'm trying to create a web page in which I want to use the combinations of city and state names suggested by google, when the user starts entering his address, he automatically completes the city and state, as on google maps.

For reference, visit this URL:

Google maps

When someone starts typing in the upper left green box. it gives you an automatically suggested list.

Can someone help me do the same for my website? Or is there such a google api that I can use?

thanks

+6
source share
3 answers

Google does not provide such a service for automatic downloads, google has a service for receiving geocodes, etc., when you have a full address.

check out this post where I had the same problem, I'm looking for a service that gives me city names and addresses

there was an offer from someone to use geonames.com as a service, but I'm not sure that they have street names too ...

0
source

Is there a reason this should be the names suggested by Google?

Here is an api that provides autocomplete for city names and a lot of additional data that you can squeeze out of the city (population, quality of life data and even photos)

http://developers.teleport.org/api/

more specifically widget http://developers.teleport.org/api/autocomplete_widget/

0
source

Source: https://habr.com/ru/post/898049/


All Articles