Questions tagged [mapbox-android]

Mapbox Android Services contains directions, geocoding, and many more APIs to use inside your Android or Java application

Available specific SDK Docs and Tags:

Maps SDK for Android -> mapbox-android-maps

Navigation SDK for Android -> mapbox-android-nav

Vision SDK for Android -> mapbox-android-vision

570 questions
2
votes
2 answers

Hide mapbox POI in runtime

I'm making a "navigation" like app, and I want to display a lot of POI like food_and_drink and others (Hotels, Historical) and when the user starts the "navigation" I would like to hide some of this POI to avoid an extra "load" and "noise" in the…
Javier
  • 1,469
  • 2
  • 20
  • 38
2
votes
2 answers

Mapbox NavigationView.startNavigation crash -- Index 0;Size 0

The title is about as straightforward as it gets, I've been trying to start navigation with the Navigation SDK UI component for Java. It generates the route (which I can guarantee is not-null) but seems to fall apart when I try to begin navigation.…
Faris
  • 23
  • 2
2
votes
2 answers

Could not find com.mapbox.navigator:mapbox-navigation-native:7.0.0

I am currently building an android navigation app and have run into an issue. The full error is: Execution failed for task ':app:checkDebugAarMetadata'. Could not resolve all files for configuration ':app:debugRuntimeClasspath'. Could not find…
Mark van Heerden
  • 215
  • 4
  • 15
2
votes
1 answer

Mapbox GL JS: Updating Banner Instruction along the route (Finding next maneuver point)

Mapbox Android SDK and iOS SDK has navigation feature but Mapbox GL JS does not have. I am able to trying to create a navigation experience in Mapbox GL JS using available features. However, I am having trouble with the banner instructions. Along…
spockshr
  • 372
  • 2
  • 14
2
votes
1 answer

Display donut chart clusters with custom properties in Mapbox Android SDK

There are different type markers on a Mapbox SDK Android map. I'm using clustering for the source of the markers with custom filters that show the count of the different types. let geoJsonOptions = new…
Peter
  • 748
  • 6
  • 20
2
votes
2 answers

Mapbox android SDK error - java.lang.ClassNotFoundException: Didn't find class "com.mapbox.android.telemetry.MapboxTelemetry"

I have added mapbox sdk to existing android project via direct download (https://docs.mapbox.com/android/maps/overview/#add-the-dependency) I have added dependancy to build.gradle file like below. implementation…
2
votes
1 answer

Why does Mapbox request ACCESS_FINE_LOCATION permission when it's not needed?

Our app needs to display maps independent of the user's location, but the Play Console reports that the app is requesting the ACCESS_FINE_LOCATION permission (which is not in the app's manifest). The only Mapbox dependency lines used…
scottt
  • 8,301
  • 1
  • 31
  • 41
2
votes
0 answers

Mapbox Navigation android Repo cloned and not able to run facing debug compile error of Plugins

Mapbox Navigation SDK version: Steps to trigger behavior 1.Clone the Mapbox Android Navigation . 2.Add Username and Access Token key in project gradle propoerties 3.Add Authentication in project modue gradle file Expected behavior Project…
2
votes
1 answer

Builder is abstract; cannot be instantiated. Why?

I'm trying to implement one of Mapbox's examples. They have an options builder implemented in the way shown below. But when I try to build it I get the error error: Builder is abstract; cannot be instantiated MapboxNavigationOptions options = new…
user3080600
  • 1,309
  • 2
  • 11
  • 23
2
votes
3 answers

Mapbox: How to correct Line overlapping over a Symbol

I'm using the SymbolManager to display two symbols on the map. Here is an example: The dark symbol is because of the fact that I'm testing the project on the Emulator, but the Line goes under the symbol, as it should be. The problem comes with the…
H.Karatsanov
  • 199
  • 4
  • 16
2
votes
0 answers

How to update Mapbox Android Symbol layer with new markers

I'm using the Mapbox Android SDK and want to populate the map with markers whose locations are stored in a Firebase database common to all users of my application. Each marker is stored in a unique record and each record contains the Latitude &…
G. Steve
  • 2,739
  • 2
  • 11
  • 17
2
votes
1 answer

Zoom controls for MapBox Android

I'm trying to enable zoom controls for Mapbox Android but neither XML mapbox:mapbox_uiZoomControls="true" nor Kotlin/Java mapboxMap.getUiSettings().setZoomControlsEnabled(true) work for SDK 8.6.1 - both seems deprecated. Any ideas how to enable…
2
votes
1 answer

Why do dynamically added symbols show up grey in Mapbox

When I tap the screen, a marker gets added to the middle of a Mapbox map. The first marker shows up as it is supposed to. However as soon as I add a second marker, the markers show up grey. Here is the code I use to create the symbol source and the…
Jonasvle
  • 55
  • 1
  • 5
2
votes
0 answers

Mapbox keeps crashing

My Android application is using the Mapbox SDK. It keeps crashing and it's hard to understand why. Sometimes, it crashes pretty much immediately and sometimes, it works fine for a couple of minutes. I wish I could provide more clues, but the only…
Ben
  • 1,561
  • 4
  • 21
  • 33
2
votes
1 answer

Draw a route/polyline using MapBox with more than 25 waypoints/coordinates

I have a list of 26 coordinates, coordinates might increase in future. I am basically trying to draw a route/polyline around Australia. I want to draw the whole route/polyline in a single route builder call. There are 2 limitations right now. val…
Sadda Hussain
  • 343
  • 5
  • 19