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)

WebmasterWorld Senior Member 10+ Year Member

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 Jul 13, 2008 (gmt 0)

5+ Year Member

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 Jul 14, 2008 (gmt 0)

WebmasterWorld Senior Member eelixduppy is a WebmasterWorld Top Contributor of All Time 5+ Year Member

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 Jul 14, 2008 (gmt 0)

10+ Year Member

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.

Featured Threads

Hot Threads This Week

Hot Threads This Month