Questions tagged [mapbox-android-maps]

3 questions
1
vote
1 answer

How to remove a Linestring from a mapbox map on Android

I'm using mapbox for android (java) and I'm not sure how to remove a linestring after I've set it to a geojson source. I'm using the MapboxDirections builder to generate a route called currentroute, and then using this code to display it on the…
0
votes
1 answer

(Android-Mapbox)Failed to resolve: com.mapbox.navigation:android:2.3.0

I am trying the implement the navigation API of Mapbox into my android application. However, I have encountered the following issue: Failed to resolve: com.mapbox.navigation:android:2.3.0 May I have your advise for my case please?…
0
votes
1 answer

How to highlight a LineString (or Polygon) in Mapbox Android from a GeoJSON or the mapboxId

I am trying to highlight a feature on a map using Mapbox Android SDK. First, the map is loaded in the app using custom styles from a vector tiles server. To highlight the feature, the data is received from a server with the coordinates and feature…