Darrin Ward Blog

Putting multiple Lat/Long Points on a Google Map

June 26 2009, 5:52pm in Fun Stuff

Latitude Longitude Coordinates / Points Mapping Tool.

I was having a tough time finding a tool to map lat / long coordinates for a project. I needed to just copy and paste a bunch of coordinates and have points show up on a map, but I couldn't find a tool to do that, so I put a simple lat/long point mapping tool together.

Simply paste your geo-coded coordinates into the text box and hit submit. The page will reload and your points will be mapped. However, you must be sure to provide the latitude and longitude coordinates in the right format (this was just for internal use so I didn't bother with formatting or error checking). The right format is to use ONE combination lat,long per line. Separate the lat/long with a comma and there should be no spaces.

Latitude Longitude Coordinates / Points Mapping Tool.

« Blog Homepage
« Fun Stuff

Reader Comments:

brian pierrotti wrote:
August 5 2009, 9:51am

This looks like exactly what I need. But I am not sure if I am using it correctly. I enter multiple lat/longs but when I submit I only get a gray box with the pointers, the map disappears. Any help would be greatly appreciated.
Darrin Ward wrote:
August 5 2009, 2:17pm

Hi,

It seems to be working for me.

Try clicking on the example link and then clicking to submit the points. Do you still get a grey map? If so, then it may be a compatibility issue with your browser.

If the example works correctly, try following the lat/long format exactly in the example when using your own points.
Simon wrote:
January 16 2010, 12:37pm

Dear Darrin,

Thank you so much for this tool. This is what exactly i am searching for. Tons of appreciation to you.

I tried to execute the same using the view source. But for some reason its not working.
Can i request you to send me the code. I wont forget this help.

Please let me know if i can help you in any other way. Hoping you will consider my request.

Regards
Simon

Darrin Ward wrote:
January 16 2010, 12:47pm

Simon - Most of the code is JavaScript but there is one vital thing that's done in PHP, for which I guess you may need the source, so I've made it available at the following URL:

http://www.darrinward.com/cgi-bin/map-lat-long-points.php.txt

Be sure to look through the code and replace "INSERT_YOUR_GOOGLE_MAPS_API_HERE" with the Google Maps API for the domain under which you will be running it.

Best of luck.
Darrin
Simon wrote:
January 18 2010, 2:23am

Darrin, You are an angel. Thank you so much for the help. You have saved lot for me.
I am praying to get some SEO related business to you through me. I hope very soon I will forward some potential Leads.

Thank you again for the help you have done.

Regards
Simon
Darrin Ward wrote:
January 18 2010, 10:05am

You're welcome :)

Submit Your Comment:

Name:
Email: (Not publicy displayed)
Website: Optional
Comment:
Contact / Submit RFP
Latest Blog Posts
© Copyright Darrin Ward / De Ward Group, LLC. - All Rights Reserved | Website Design by LinkShape