1,204 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
28
views
OSMDroid 6.1.20 support 2:1 ratio database for EPSG:4326
I am trying to use OSMDroid v6.1.20 to display maps from a SQLite database using the EPSG:4326 tile system. I know OSMDroid supports EPSG:3857 out of the box, but you can subclass the TileSYstem ...
0
votes
0
answers
53
views
Graph Hopper Version 9.0 Not Loading Profiles
I am using OsmDroid to build map offline and achieve turn by turn navigation along with voice over instruction which I believe could be achievable by GRAPHHOPPER library version 9.0.
So these are my ...
0
votes
1
answer
72
views
how to get screen shot with OSMDroid
I'm building a running tracker app and i want to save a screenshot of the map at the end of the run
I'm using utsmannn's implementation of osmdroid in my app and was wondering if there's a way to do ...
0
votes
0
answers
27
views
osmdroid large polygon created on wrong places
I'm trying to create a large Polygon that cover the entire map. But after a value the polygon will be drawn from the other side of the map(?).
width is between -90 and +90°
width is 90.5°
it should ...
0
votes
1
answer
114
views
Marker in osmdroid map
I created a mapView in AndroidStudio's project using the osmdroid library, in this way:
mapView = findViewById(R.id.mapView)
mapView.setTileSource(TileSourceFactory.MAPNIK)
mapView....
1
vote
0
answers
176
views
How do I get OSMDroid sample code to show map tiles after clearing the app storage?
I am following the osmdroid sample code: https://github.com/osmdroid/osmdroid/wiki/How-to-use-the-osmdroid-library-(Kotlin). I also attempted the solution from here: osmdroid map tiles showing blank
...
0
votes
1
answer
79
views
how to add marker to osmroid map
I put the marker attribute to map.getOverlays().add(marker) but they are saying add metgod requre attribute drawable not a marker.
The currentMarker is a Marker universal verable.
` private void ...
1
vote
0
answers
239
views
I can't display map tiles other than MAPNIK with osmdroid, I want a simplier map
I'm new here, I'm working on a small gps game that display a simple map.
I'm using Kotlin with osmdroid 6.1.18
I successfully displayed a map with MAPNIK as tile source :
MapView.setTileSource(...
0
votes
1
answer
100
views
how to remove overlays from mapview with index in osmdroid?
I add my overlays to osmdroid mapview with index as below:
kmzOverlay.setName(fileName);
kmzFolderOverlay.add(kmzOverlay);
mapView.getOverlays().add(kmzId,kmzOverlay);
mapView.invalidate();
now when ...
1
vote
1
answer
124
views
Fragment - TileLoader failed to load tile due to mWriter being null (Message displayed after onPause and onResume)
I'm currently developing an android apk which needs the map. I'm using the library osmdroid.
org.osmdroid:osmdroid-android:6.1.17
I'm also using fragments (2 only) and the mapView is inside the first ...
0
votes
1
answer
759
views
using osmdroid in a jetpack compose project
hello everyone im trying to use osmdroid in my compose project and im not really familiar with xml,when i run the app its just a checkered screen and no map in UI. i will provide the whole code down ...
-1
votes
1
answer
104
views
OSMDroid: how do I set a fixed layer alpha?
I want to set alpha level of layer, like is it done in Alpine Quest, but I don't know how. I have not found any information on this issue on the Internet. Maybe someone has come across something like ...
1
vote
0
answers
106
views
osmdroid map disappears after switchings tabs
I want to show a map using OSMdroid. I have a singleton to create the MapView:
object MapViewSingleton {
private var mapView: MapView? = null
fun getMapView(context: Context): MapView {
...
2
votes
2
answers
7k
views
Create a map using openstreetmap with jetpack compose in Kotlin programming language for Android
I want to develop an Android app using Kotlin and jetpack compose. I want to show a map on the display. For this I want to use openstreetmap. I need a composable function which can show me a map on ...
2
votes
0
answers
494
views
Handling configuration changes in OSMDroid + Jetpack Compose
I'm trying to use OSMDroid library in my Compose Android app. I used this approach and it works great, but when I change to dark mode in my app, the map becomes just a grid, and no tiles are displayed....