homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / WebmasterWorld / Webmaster General
Forum Library, Charter, Moderators: phranque

Webmaster General Forum

Google Map API
LatLng and GLatLng Push pins wrong locations

WebmasterWorld Senior Member 10+ Year Member

Msg#: 3697313 posted 12:11 am on Jul 13, 2008 (gmt 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



5+ Year Member

Msg#: 3697313 posted 12:24 am on Jul 13, 2008 (gmt 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.


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

Msg#: 3697313 posted 3:30 am on Jul 14, 2008 (gmt 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.


10+ Year Member

Msg#: 3697313 posted 7:24 am on Jul 14, 2008 (gmt 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.

Global Options:
 top home search open messages active posts  

Home / Forums Index / WebmasterWorld / Webmaster General
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved