Wrong location using Gmap3

83 views
Skip to first unread message

Atanas Chikov

unread,
Jan 28, 2012, 4:07:52 PM1/28/12
to google-map...@googlegroups.com

I have a very strange problem.

Using Gmap3, I place the pin on the map and save its coordinates in a database. After a refresh, I give the same coordinates to Gmap3 to place the pin on the map. The problem here is that the pin is positioned on the same coordinates, but now these coordinates are in different position on the map.

Example: If I place the pin near Moscow, Russia, after a refresh, the pin is placed near Afghanistan...

the map is here www.bghelpmap.com

Any suggestions?

Rossko

unread,
Jan 28, 2012, 5:20:54 PM1/28/12
to Google Maps JavaScript API v3
> Any suggestions?

Don't get your lats and longs swapped over?

Pil

unread,
Jan 29, 2012, 4:06:14 AM1/29/12
to Google Maps JavaScript API v3


On Jan 28, 10:07 pm, Atanas Chikov <atanaschi...@gmail.com> wrote:

> the map is here www.bghelpmap.com


I get unresponsive script errors at this page with Firefox (not only
once).

Do you know what an unresponsive script error is?
Well, you may read on if you are interested

http://www.nczonline.net/blog/2009/01/05/what-determines-that-a-script-is-long-running/

Atanas Chikov

unread,
Jan 29, 2012, 4:43:14 AM1/29/12
to google-map...@googlegroups.com
Yes looks like this is the problem, but I don't know how to sort this problem?!

Rossko

unread,
Jan 29, 2012, 6:32:03 AM1/29/12
to Google Maps JavaScript API v3
> Yes looks like this is the problem, but I don't know how to sort this
> problem?!

You'll need to follow the trail of your data from the original
webpage, through your server-side processing, to storage, back through
server-side processing, back to your webpage. Looking for swappoing
of lat-long or 0-1 or order or something like. We can't do that for
you.

Blagomir Ivanov

unread,
Jan 29, 2012, 1:04:15 PM1/29/12
to google-map...@googlegroups.com
Hi Rossko,

Thanks for your help.

I tracked the coordinates as you described and they are all equal from the beginning to the moment I send them to google map via gmap3. 

Any other ideas ? :(
Reply all
Reply to author
Forward
0 new messages