Skip to content Skip to sidebar Skip to footer

List Of All Street And Road Names In Google In Api

Am doing a location based app.When using GPS, it provides with street names from Google API. When user need to enter it manually, for a autocomplete text view am in need of names o

Solution 1:

As far as I can find, Google does not provide a database of street names for public download, but this site does: Open Street Map

These databases are available for free download. They contain geographical information about the whole planet. I hope you find them useful.

Solution 2:

The Google Places API suggests search results for city/street names etc. which you can use for an AutoCompleteTextView.

Here is a running JS demo for testing the results.

Because your using Maps API V3, here is the reference to google.maps.places.Autocomplete

Here you can find an API for Android.

Solution 3:

Thanks above :) Actually I found an another way too.. the names of the streets and roads in xml returned by google api are marked as "route".. so I parsed the xml having type="route" to get only road and street names!!

Post a Comment for "List Of All Street And Road Names In Google In Api"