![]() |
Quote:
|
Quote:
First you need to get a map key for your website. http://code.google.com/apis/maps/signup.html Second view and copy source from this page. http://maps.juhlin.com/maps/geomulti_demo.htm Third Replace my map key with yours. <script src="http://maps.google.com/maps?file=api&v=2&key=***your_key_here***" type="text/javascript"></script> Fourth Put the addresses you want in here. var addresses = [ "PAWNEE EAST, OK", "MEHAN NE, OK", "RATTLESNAKE, OK", "ORLANDO EAST, OK", "HARTSHORNE, OK" ]; Fifth upload the file to your webserver and view it. It will process about one record every 2 seconds. It works nice up to about 1000 records then the browser slows down so I suggest breaking the data down into ~1000 record chunks. Edit; Oho another thing is that is is usually best to provide a full state name to Google as they will often interpret CA as Canada and CO as Columbia and KY as one of the Former Soviet republics. |
Here is another source for a simpler multi geocode solution.
http://www.batchgeocode.com/ I really don't like it though. It uses Yahoo's geocode model which tries to always return something. If it can't find a city within a state it returns the center of the state. Google tells you when it cant find something which is much more useful IMO. |
All times are GMT -6. The time now is 05:15 PM. |
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.