Hi.
in this thread, we talk about how to use OSMDROID, it is the great alternative for googlemaps.
My idea is to load the points of a database, but with my current knowledge I can not do it.
This example shows how to do it, but in a static way.
link;
https://www.b4x.com/android/forum/threads/osmdroid-mapview-for-b4a-tutorial.16310/#post-92654
Thank you
in this thread, we talk about how to use OSMDROID, it is the great alternative for googlemaps.
My idea is to load the points of a database, but with my current knowledge I can not do it.
This example shows how to do it, but in a static way.
B4X:
Dim Icon As BitmapDrawable
Icon.Initialize(LoadBitmap(File.DirAssets, "limpieza_1.png"))
Dim Marker1 As Marker
Marker1.Initialize("Home sweet home", "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi egestas suscipit convallis. Etiam pellentesque gravida est, quis luctus nunc commodo at. Nam et risus orci. Integer malesuada lorem dolor. Maecenas vestibulum cursus enim, tincidunt luctus libero placerat non. In vitae metus tellus, nec euismod nibh. Phasellus ut quam vitae justo sagittis auctor. Sed vel sapien dolor. Etiam ut sem id dolor iaculis ullamcorper. Aenean eget sem nibh, a tempor augue. Nulla interdum luctus molestie.", -33.449498,-70.575460, Icon)
Marker1.Initialize("OTRO", " OTRO ", -33.446920,-70.56859, Icon)
Dim Markers As List
Markers.Initialize2(Array As Object(Marker1)) ' this is the new code
link;
https://www.b4x.com/android/forum/threads/osmdroid-mapview-for-b4a-tutorial.16310/#post-92654
Thank you