Wasn't it Ravi who wrote:
>
>Hi Ross
>
>Thanks for your prompt reply
>But still i didn't get good idea on this.
>
>actually i am storing some addresses of properties. based on that
>addresses i need to show them in Google map.
>I don't have lat/logt .how can i show those properties in map without
>having lat/logt in database.

The easiest solution is to capture the lat/lng when you add a new 
property, and write that information to the database at the same time as 
all the other property details.

Another alternative is to run a chron job that scans your database from 
time to time, looks for entries that have no coordinates and attempts to 
geocode them and stores the coordinates back in the database. The big 
problem with that is that you can't trust the geocoder. Some of your 
addresses will fail to geocode (and you really don't want your chron job 
to keep blindly retrying them) and a few will geocode to ridiculously 
incorrect locations.

-- 
http://econym.org.uk/gmap
The Blackpool Community Church Javascript Team


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to