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
3
votes
1 answer

Cannot parse MapBox DirectionsRoute class from JSON

I use MapBox REST API on backend side to create a route. Here is a simplified code: public class MapBoxRequest { // using string pattern just for convenience private static final String PATTERN = …
Ildar Zaripov
  • 491
  • 7
  • 15
3
votes
6 answers

Why is mapbox-android sdk not resolving from build.gradle?

I'm trying to setup the basic tutorial here but i am blocked by errors in Android Studio: https://docs.mapbox.com/android/maps/overview/#install-the-maps-sdk Error 1: seen when i Sync the build.gradle: Unable to resolve dependency for…
glutz
  • 1,889
  • 7
  • 29
  • 44
3
votes
1 answer

How to draw a polyline under street names in MapBox Android

Currently I'm drawing polyline using LineLayer and adding it to the map using style.addLayer(lineLayer). I noticed that polyline is drawn on top of the street labels. I want to get it under the labels in the map. I found the method…
Chanaka NZ
  • 127
  • 1
  • 8
3
votes
0 answers

Will MapBox supports for Indoor Navigation implementation in Xamarin.Forms (Android/IOS/UWP)?

I just started checking for MapBox. I could not find any information about Indoor Navigation Implementation with the following requirements: IPS (Indoor Positioning System by displaying "Blue dot" for accuracy) Showing POI's Static / Dynamic…
3
votes
1 answer

Mapbox: Do we need LineLayer if we want to display a Line on the map

I'm reading the documentation of the Annotation Plugin along with the examples, but still can't quite understand how to work with Lines. I want to create a Line, which need to be updated frequently with additional coordinates. In Google Maps is…
H.Karatsanov
  • 199
  • 4
  • 16
3
votes
1 answer

Mapbox Android SDK: Add makers using symbolManager

I'm trying to add multiple markers using Mapbox Android SDK and using symbolManager as recommended here. I just create this function which is responsible to create one marker for each car object. I don't get any error but nothing is displayed on the…
wawanopoulos
  • 9,614
  • 31
  • 111
  • 166
3
votes
0 answers

How can i fix Mapbox - ANR - Broadcast of Intent?

I am using Mapbox navigation in my app, something like Uber, I start a trip and start navigation to some point. Everything is working fine except at some point of the navigation my app freezes and i get a warning that my App isn`t…
3
votes
1 answer

What is the alternative to BubbleLayout(Deprecated) of Mapbox android SDK for info window on Markers Selection?

I want to pop up info window on the marker when selected, to show information about the markered location on Mapbox map in android, something like this: I tried this code link but here the bubble layout is depricated and due to which I am having…
Haroon khan
  • 1,018
  • 2
  • 15
  • 27
3
votes
1 answer

MapBox SDK black screen on resume

I am using MapBox SDK on my android application, the map onCreate appears perfectly. I can add layers and show my markers and so on. When the user clicks on a marker another activity is started. So I use mapView.onPause() on my onPause()…
3
votes
1 answer

How to change mapbox language to Farsi / Persian

I used localization plugin version 0.5.0 and use MapLocale.ARABIC local for changing labels to persian and every thing work fine and all the labels turns to persian. After update mapbox to version 7.1.2 and plugin-localization-v7 to 0.8.0 no more…
Radesh
  • 13,084
  • 4
  • 51
  • 64
3
votes
1 answer

WMS Authorization header for mapBox Android SDK

How to add a Authorization header when making a call to WMS services on mapBox Android SDK. we have a satellite image service provider called Airbus. we want to make a call to their WMS restful API using mapBox Android SDK. the issue is Airbus…
3
votes
0 answers

Mapbox waypoint arrival event in android

I am using mapbox library for turn by turn navigation. In my application I need to perform some action when user reach to particular waypoints(stop-point). In IOS, there is didArriveAt method which call when reach to particular waypoint. I have…
Kinjal
  • 426
  • 4
  • 8
3
votes
2 answers

Mapbox - Failed resolution of LostLocationEngine

When I try to start navigation: MapboxNavigation navigation = new MapboxNavigation(this, Mapbox.getAccessToken(), options); navigation.startNavigation(route); I get the following error on runtime: java.lang.NoClassDefFoundError: Failed resolution…
Steve
  • 65
  • 5
3
votes
1 answer

How to detect I'm near a waypoint

I want to make a navigation application on Android (Kotlin) using the mapbox-android SDK. I need to create a route with specific waypoints and want to know when I am near one of those waypoints (200m before for example). I already managed to display…
1 2
3
37 38