Welcome to WebmasterWorld Guest from

Forum Moderators: phranque

Message Too Old, No Replies

Google Map API

LatLng and GLatLng Push pins wrong locations

12:11 am on Jul 13, 2008 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Apr 7, 2002
votes: 0

I have some push pins that are not even close to the right locations , I have double checked Lats and Longs and GlatLng against other Google Maps and they work fine

I have double checked the actual addresses and double checked them in regular google maps

I'd say about 95% of the Push Pins are in the right locations ..

Appreciate some Ideas on why the other 5% are off ..sometimes by hundreds of miles

12:24 am on July 13, 2008 (gmt 0)

Full Member from US 

10+ Year Member

joined:Mar 22, 2008
posts: 319
votes: 0

This happened to me too. It was off by about one block. That's not as bad as yours, but just as much of a pain to find places nonetheless.
3:30 am on July 14, 2008 (gmt 0)

Senior Member

joined:Nov 12, 2005
votes: 0

Only for the API? Sounds odd unless there is something in the script you are writing that is off. Have you tried debugging your script to make sure the necessary data is being properly formatted and sent to the API? I'd check there if you cannot find the error elsewhere, and especially if the correct results come back when you manually enter in the data to Google Maps.
7:24 am on July 14, 2008 (gmt 0)

Full Member

10+ Year Member

joined:Feb 4, 2004
votes: 0

Like webfoo I also see some mismatches sometimes, from a few meters to a few hundred meters. But never hundreds of miles. When I use the coordinates from my GPS they hardly ever corresponds with the location in google maps.
Aren't your lat/lon positions in degrees and minutes while google maps want them in degrees and decimal degrees? That could give you a large error, especially near the equator.
You can also consider posting this question in the Google group for the Google maps API. There it is also allowed to post a link to your map for others to check it.