Shikhar13 / codenameone

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

MapComponent.zoomTo(Coord coord, level) doesn't throw exception when coord is not regular wgs84 coordinate #202

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.MapComponent.zoomTo(new Coord(1000d,1000d), 8) 
=> Delta is null!

What is the expected output? What do you see instead?
there should be an exception

What version of the product are you using? On what operating system?
latest codenameone

Please provide any additional information below.
i got confused between the coordinates that i got from 
MapComponent.getCoord(x,y) and the ones i can use for zooming.

Do you want me to report things like these?

Original issue reported on code.google.com by tron.cos...@gmail.com on 29 May 2012 at 4:39

GoogleCodeExporter commented 9 years ago
assigning to Chen

Original comment by shai.almog on 29 May 2012 at 4:48

GoogleCodeExporter commented 9 years ago
Thanks I'll fix this.
I will also change the getCoord to return wg84 coordinate

Original comment by cf27...@gmail.com on 30 May 2012 at 10:05

GoogleCodeExporter commented 9 years ago
fixed the getCoordFromPosition to return wg84 format

Original comment by cf27...@gmail.com on 30 May 2012 at 12:10