29 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
54
views
OSM Buildings viewer.remove() and viewer.destroy() not working propperly
I am kind of newbie at programming, so please bear with me...
So I am trying to dynamically add and remove objects from the OSMBuildings 3D viewer using JavaScript.
Short explanation:
I tried using ...
1
vote
0
answers
206
views
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, ...
0
votes
1
answer
150
views
Osmbonuspack : marker's onDoubleTap function not working when adding the markers in RadiusMarkerClusterer
I created a custom marker where I overrode onDoubleTap Method, which worked as I expected, but when I added my custom Marker to RadiusMarkerClusterer, my onDoubleTap function didn't work as I wanted ...
0
votes
2
answers
2k
views
Why androidx.appcompat.widget.AppCompatEditText cannot be cast to com.google.android.material.textfield.TextInputEditText?
I would like to be able to create a path between two points by entering coordinates through two text fields and using the function I created, to create the path, using a button that takes the two ...
0
votes
1
answer
170
views
Custom Marker in RadiusMarkerClusterer
I created a customMarker that in addition to the image contains a label at the bottom with a name.
If I create a "FolderOverlay" everything works correctly I see my custom Marker.
This is my ...
1
vote
1
answer
249
views
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 ...
1
vote
1
answer
354
views
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 ...
0
votes
2
answers
261
views
How do I select a language in OSRM's RoadManager
I need to force OSRM to switch the language in road.mNodes.mInstructions to English in order to work with English TTS. How do I achieve that in Kotlin? I'm using OSRMRoadManager from OSMBonusPack.
2
votes
1
answer
2k
views
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 ...
1
vote
1
answer
245
views
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 &...
1
vote
1
answer
682
views
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, ...
0
votes
1
answer
709
views
OSM Bonus Pack - OSRMRoadManager::getRoad: request failed
Here's my problem, I'm trying to create a route between 2 waypoints with osm bonus pack, but I got the straight line bug and this debugger error: "E/BONUSPACK: OSRMRoadManager::getRoad: request failed"...
6
votes
3
answers
6k
views
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 ...
0
votes
1
answer
266
views
How do I Stop a running runOnUiThread Runnable
I want to be able to toggle a MyLocationNewOverlay on and off. My current code is:-
void btnTrack() {
btnTrack = (Button) findViewById(R.id.btnStart);
btnTrack....
2
votes
1
answer
711
views
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) {...