Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to implement google maps to search by street name, city?

Tags:

google-maps

I need search functionality like this site. But I am wondering how can I get coordinates from google api by street name?

like image 902
Reno Avatar asked Mar 23 '11 15:03

Reno


1 Answers

Google Geocoding API

You can enter in an address and it will return the Lat/long co-ordinates in a Json response or XML etc

You can read about it here:

http://code.google.com/apis/maps/documentation/geocoding/

like image 75
jenniem001 Avatar answered Sep 28 '22 01:09

jenniem001



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!