PDA

View Full Version : Google map coordinates



SpankMe
1st July 2009, 15:33
Anyone know how to convert the line drawn on the map when doing directions on Google maps into a list of lat/lon coordinates that will trace that line.

Their are add ons that will let you draw a line and list the coordinates to recreate it, but it's hardly effortless. <_<

Freakshow
1st July 2009, 16:06
this may help??

The always helpful Tech-Recipes has come up with an ingenius way to find latitude and longitude values for any location using Google Maps.

You'll first need to look up an address (duh), but this trick only works if the address is centered (it's centered by default). So, moving the map around will not make this work. When the address you want to find latitude and longitude for is dead center, copy and paste this code into your browser bar:

javascript:void(prompt('',gApplication.getMap().ge tCenter()));

SpankMe
1st July 2009, 16:25
Thats just for one point, I need every point in the route. Never mind, I've figured it out anyway.

sil3nt
1st July 2009, 16:48
Took me ages to figure this out. It is actually pretty simple but they do not explain it well.

Was taking the coordinates of my local roads so i could drive them in a game :bleh: