I would like on my site to give users the ability to add google maps but in a way that was enough to enter the address (city, street, number). I will do this on Django.
How to do it easy?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Nips,
This is pretty easy to do. Check out this little project I’ve got on GitHub that does what you’re asking:
https://github.com/johnfmorton/Get-That-LatLng
This uses Google’s geocoding service from the Maps API:
http://code.google.com/apis/maps/documentation/javascript/services.html#Geocoding
You provide it with an address and it returns an array of points on a map (latitude and longitude coordinates).