google maps - How to generate random street from city's IP? -
is there way generate random street if detect city ip. let live in london , app detects right , returns value city in our case london. there way generate fake street address located somwehre in london gps coordinates? example let google maps generates me random street in london city center radius of 10km.
to coordinates can use following service (replace address parameter name of city):
http://maps.googleapis.com/maps/api/geocode/json?address=london&sensor=false
the first result give location:
"location" : { "lat" : 51.5073509, "lng" : -0.1277583 }
Comments
Post a Comment