Show Open Street map in App

11 views
Skip to first unread message

wulfm...@googlemail.com

unread,
Sep 18, 2016, 8:15:01 AM9/18/16
to CodenameOne Discussions
IDE: Eclipse
Desktop OS: Win 10 64 Bit
Simulator iPhone
Device iPhone 5

Hello,

when I try to show my current possition on the OpenStreet Map, the map isn t displayed. See screenhot below:

When I let me show my current position strange coordinates are used. See screenshot below:

I m based in Germany.. 

What can I do that the map is being displayed and my position is correct? 

I had the hope with the new librarys from CN1 all errors from the previous version have been fixed. I had simular problems with the old version of CN1.

Thanks a lot for your help,
wulfman

Shai Almog

unread,
Sep 19, 2016, 12:45:05 AM9/19/16
to CodenameOne Discussions, wulfm...@googlemail.com
Hi,
as far as we know there hadn't been any such errors. I'm assuming you did something incorrectly since people have been using these APIs for quite a while now.
There are some complexities with global projection coordinates which I guess relate to your issue.

See issues such as this:
http://stackoverflow.com/questions/34190828/how-to-get-current-latitude-and-longitude-values-in-codename-one/34192838
http://stackoverflow.com/questions/36329529/source-event-strange-latitude-longitude/36331745
Reply all
Reply to author
Forward
0 new messages