Shikhar13 / codenameone

Automatically exported from code.google.com/p/codenameone
0 stars 0 forks source link

MapComponent.center() mixes up lat/lon #234

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. MapComponent.center()

What is the expected output? What do you see instead?
lat,lon in the right order, but its reversed!

What version of the product are you using? On what operating system?
latest cn1, w7

Please provide any additional information below.

Original issue reported on code.google.com by tron.cos...@gmail.com on 27 Jun 2012 at 11:16

GoogleCodeExporter commented 9 years ago
Assigning to Chen

Original comment by shai.almog on 28 Jun 2012 at 7:20

GoogleCodeExporter commented 9 years ago
double checked it, and I don't see a bug here.
Please verify your code and update me if this is relevant.

Original comment by cf27...@gmail.com on 28 Jun 2012 at 9:29

GoogleCodeExporter commented 9 years ago
I also double checked my code and if i go to berlin for example i get 
{'longitude':52.219761035813, 'latitude':13.393458668190844} although it should 
be reversed.. there is no update in netbeans
i only checked it in the simulator.

Original comment by tron.cos...@gmail.com on 28 Jun 2012 at 11:31

GoogleCodeExporter commented 9 years ago
a new update is available please it should be fixed, please verify

Original comment by cf27...@gmail.com on 5 Jul 2012 at 3:37

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
how is it possible that i still get mixed up coordinates? am i totally dumb? 
can you please give me the output of the coordinate you get with center() when 
you center the map in berlin?

Original comment by tron.cos...@gmail.com on 6 Jul 2012 at 8:40

GoogleCodeExporter commented 9 years ago
it works on the device when i send the build to the server, i have the problem 
only in the simulator

Original comment by tron.cos...@gmail.com on 6 Jul 2012 at 8:59

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I'm getting the coordinates in the right order on the simulator:

{'longitude':13.393458668190844, 'latitude':52.21976103581302}

Original comment by 1815...@coolman.ca on 6 Jul 2012 at 10:10

GoogleCodeExporter commented 9 years ago
sorry i now know the problem! i had to make a new project, not only update the 
plugin! sorry i'm feeling stupid

Original comment by tron.cos...@gmail.com on 6 Jul 2012 at 10:12