Questions tagged [osmbonuspack]
31 questions
6
votes
3 answers
customized icon in osmdroid marker android
I have several stops in route and I wanna display them with customized icons.
Everything works like a charm when using default osmdroid icons.
But when I change them to image from drawable, markers are displayed above the route (see the image).
…

Haniku
- 671
- 1
- 7
- 16
2
votes
1 answer
Failed to resolve: com.github.MKergall:osmbonuspack:6.7.0 #410
I am getting error while trying to implement a routing system into my map.
Here is the error : Failed to resolve: com.github.MKergall:osmbonuspack:6.7.0
Affected Modules: app
I have the following dependencies : implementation…

Andrew Wong
- 39
- 3
2
votes
1 answer
Display multiple InfoWindows using osmdroid
I want to display multiple marker infoWindows to mark different routes. However, only the last created one is being displayed.
My (relevant) marker creation code is:-
if (routes.size() < 3) {
Polyline roadOverlay = new Polyline();
…

Doug Conran
- 437
- 1
- 5
- 17
2
votes
1 answer
osmdroid zoomToBoundingBox not zooming to boundingBox coordinates
I am plotting a route using the osmdroid bonuspack. The start and end coordinates of this route are:-
origin - 52.24896,0.71795
destination - 54.27916,-1.9732
The relevant part of my code is:-
BoundingBox b =…

Doug Conran
- 437
- 1
- 5
- 17
2
votes
1 answer
How to draw a curved line between two coordinates using Osmdroid library
I have found that Google map provides PolylineOptions but I haven't been able to find anything for Osmdroid.
If any one can suggest a solution with an example it would be very helpfull.

Dheeraj Kumar Singh
- 11
- 3
2
votes
1 answer
Draw image on osm map osmdroid
I want to draw image on osm map, using osmdroid/osmbonuspack. I have tried Marker and SimpleLocationOverlay. These display the image as overlay, like a pin which doesn't change scale. But I want to show image which becomes part of Map, such that…

M. Usman Khan
- 3,689
- 1
- 59
- 69
1
vote
0 answers
Osmdroid how to move position marker in animative way with animateTo function
Im doing car navigation app based on Osmdroid and selfhosted OSRM and Nominatim.
What im trying to archive right now is simply smooth position marker and map movement while driving. Second is simple, using animateTo function of osmBonudPack. First…

user1618809
- 9
- 1
1
vote
1 answer
OSMDroid Points of interest using multiple facilities
I am using OSMDroid with its bonus pack to display a map and get point of interest near a location, but I can't find a way to get POI of different type in once.
As indicated in the documentation I am using the function getPOICloseTo() but it doesn't…

C Lia
- 11
- 2
1
vote
1 answer
Creating URL based on an API key in OSRMRoadManager
I've signed up for an API on openrouteservice.org. How do I import it into OSRMRoadManager? I've tried all the combinations from the examples on their website, but my every try results in the 403 error with a comment org.json.JSONException: No value…

tymwitko
- 33
- 1
- 6
1
vote
1 answer
osmbonuspack: unable to assign each marker its own style in kml structure
I'm developing an Android application using osmdroid and osmbonus pack libraries which allows the user to drag and drop icons to the map from a menu.
The application is intended to allow the user to "save the map", so i'm trying to manage how to…

miukr
- 11
- 2
1
vote
1 answer
Reasons for using OSMBonusPack versus OSRM (Open Source Routing Machine)?
UPDATE to question:
If we are running our own database and tile server, do we also need to run our own instance of OSRM to get routing via OSMDroid using OSRMRoadManager? OR if not running our own, pull from another OSRM instance somewhere?
We are…

user3398945
- 93
- 3
- 9
1
vote
1 answer
How to set up correctly the OSMbonuspack in my project?
Hello guys I tried to install the osmbonuspack in an Android Studio project. I tried this with the osmbonuspack wiki, but when I try to sync my project I get an error in this dependency. I assume that this is a compatibility problem. Can you please…

geek2geek
- 33
- 1
- 7
1
vote
1 answer
Can I implement offline navigation in osmdroid?
I'm developing an app that uses offline maps.
Now I need to implement offline navigation in the app.
Can I implement offline navigation?
UPD:
I tried grapphopper, but it doesn't work offline.
GeoPoint startPoint = new…

TikTak
- 713
- 1
- 11
- 23
0
votes
0 answers
OSRMRoad - updating the length of the route polyline
I am a novice android developer, creating an application based on the OSMNavigator principle from the OSMBonusPack (OSMDROID) package.
Building routes does not cause problems, I move along the route, but at the same time the Polyline remains the…
0
votes
0 answers
How to draw a route having GeoPoint and using OSMRoadManager with osmdroid in a fragment kotlin?
I have issues when I want to draw paths. Following the tutorial just in the first line it asks me to do
RoadManager roadManager = new OSRMRoadManager(this, MY_USER_AGENT);
I have tried to convert all in Kotlin version so
val roadManager =…

Rob1234
- 1