B4A Library OSMDroid - MapView for B4A

warwound

Expert
Licensed User
Longtime User
Is OSMDroid MapView 3.0.8 from a build prior to r1099?

Looking at the version 3.0.8 source code i see no revision number.
Each class file has a 'Created by plusminus on ????' comment, and the date and time of the comments vary on each class file.
The dates and time all seem to be from 2008 which is long before issue 331 was corrected.

So i'd assume that the b4a verison 3.0.8 library does not contain the fix.
 

androidvh

Member
Licensed User
Longtime User
Dear Martin,

I use your libary in version 4.1.
Since last week no tiles are loaded.
You can check it if you rename the osm folder.

Any idea?

Kind regards Volker
 

MetalOS

Member
Licensed User
Longtime User
Hello,

I'm trying to use your OSMdroid library and I'm having a problem. When I test your SimpleMap example all works wonderfully on B4A 8.0. But if I test your code in my application I only have a frame in place of the OSM tiles. If I modify in my application the package name by your "uk.co.martinpearman.b4a.mapviewtutorial" the tiles will show up well and all will work. Can you tell me or declare the package name of my application to display the OSM tiles in my application. Thank you in advance and sorry for my english because I use Google Translate. Cordially.

Julien
 

corwin42

Expert
Licensed User
Longtime User
Since Martin seems to have disabled conversations I ask him here publicly:

Hello Martin,

I'm currently working on a project which will later run on a device without any Google Services. For this project I need a map and I'm considering using OSMDroid for this.

Your latest OSMDroid wrapper targets OSMDroid 4.1. The latest version of OSMDroid is 6.0.3 with many changes. From what I have seen you don't work anymore on the OSMDroid wrapper so I'm thinking about to create a new wrapper for OSMDroid. Since I even need routing capabilities which can be done with OSMBonuspack I'm thinking about to wrap this, too.

Is the source of your OSMDroid wrapper publicly available somewhere or are you willing to share it? Then I don't need to start completely from the beginning, even if many stuff has changed in OSMDroid.

Thanks and best regards,
Markus
 

ThePuiu

Active Member
Licensed User
Longtime User
I tested the examples provided at the beginning of the thread and it works perfectly! In my application, in MainFrame when I press a button, I want to see the map. I created a new module where I copied your code. All I can see is a background with a grid on it. No map ... Can you tell me what to do?
Thank you!
 

maurizio barbera

Member
Licensed User
Longtime User


hi, where can I download the 6.0.3 library? thank you
 

maurizio barbera

Member
Licensed User
Longtime User
i read ...our latest OSMDroid wrapper targets OSMDroid 4.1. The latest version of OSMDroid is 6.0.3 with many changes...
 

MbedAndroid

Active Member
Licensed User
Longtime User
sorry to bump in on this old thread, but osmdroid 4.1 hasnt included this command. Is there a way we can do it ourselfs? Currently 4.1 seems to be banned from tileserver.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…