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

maven bintray is shutdown, after using secret token getting Could not resolve com.mapbox.navigator:mapbox-navigation-native6.2.1

image here i am getting this error Could not resolve com.mapbox.navigator:mapbox-navigation-native6.2.1
-2
votes
1 answer

Mapbox - FAILURE: Build failed with an exception. (Flutter)

I am using mapbox gl demo for my flutter application and getting below error at the time of running my flutter application in Android device : FAILURE: Build failed with an exception. What went wrong: Execution failed for task…
Jaimin Modi
  • 1,530
  • 4
  • 20
  • 72
-2
votes
1 answer

How to prevent auto re-route on off route in Mapbox

I was trying to prevent the MapboxNavigation from automatically finding a new route, when the user is detected as off-route, since I would like to perform another action instead. I used the OffRouteObserver to perform this action and it is running,…
-2
votes
1 answer

Draw line in mapbox android

I am developing an android application with Mapbox where I am supposed to mark the map based on some value received from the accelerometer. I was able to put marks like this and this I tried the line layer also but it is marking the complete area…
-2
votes
1 answer

Mapbox not returning voice instructions, causing Android app to crash

We are seeing a spike in Android users who are getting this error which crashes the app: Attempt to invoke virtual method 'java.lang.String com.mapbox.navigator.VoiceInstruction.getSsmlAnnouncement()' on a null object reference I think this is due…
-2
votes
1 answer

Is it possible in mapbox directions api to avoid a certain point?

I need the app to generate a route that avoids a specific point/points. Is it possible? private void getRoute(Point origin, final Point destination) { NavigationRoute.builder(this) .accessToken(Mapbox.getAccessToken()) …
-2
votes
1 answer

Display private roads to mapbox without displaying to other users and use navigation sdk to navigate

I wanted to display private roads to Mapbox without uploading to public maps. And wanted to use navigation SDK to navigate over private roads. How can i create private roads and add as layer to mapbox, so that navigation sdk can identify as road and…
sharath
  • 69
  • 2
  • 9
-2
votes
4 answers

Mapbox Application crashes while launching

I am trying to create a simple mapbox application which shows a mapview. There is no specific error shown while debugging but the application crashes while launching itself.Here is the .java file which I created. public class MainActivity extends…
Aadhil Ahmed
  • 111
  • 15
-3
votes
2 answers

Removing trails from mapbox map

We are currently working on outdoor map for mountain in Croatia. Some trails that are included are no longer available to general public. How long does it take for Mapbox to remove trails from map? Best regards,
-3
votes
1 answer

How can i get raw Json data for a route in Mapbox Android

How can i get raw data like shown in this link in android MapboxDocsLink I want to use this data to get Coordinates points at every hour until the destination
-3
votes
1 answer

Copied a tutorial from mapbox with missing variable and it won't run

I've been following a step by step tutorial trying to create a map using Mapbox and Android Studio using the 'Tracking Device Location on Android" tutorial but have run into a problem that doesn't seem to be outlined on Mapbox. In the 'Listen to…
-3
votes
2 answers

Show locations near user's location

I'm developing an app and I'm trying to implement a means of listing stores close to the user's current location using the android mapbox SDK. Can anyone give a help how can I implement this?
-3
votes
1 answer

How can I add markers on navigationlauncher of mapbox?

I'm using mapbox for map navigation.. is it possible to add markers on navigation view on mapbox like the waze app? when you start navigating markers are still shown on navigation
-3
votes
2 answers

making a navigation app in android but Navigation-ui-0.30.0 cannot resolve

i am making navigation app using mapbox. but i am adding navigation-ui-0.30.0 dependency.it show this error (Failed to resolve: com.mapbox.navigator:mapbox-navigation-native:5.0.0)enter image description here
-4
votes
1 answer

Include device location and multiple map markers in camera bounds

We're displaying a number of map markers on the map representing various objects which are retrieved either from a cache or from an asynchronous network call. When these objects are retrieved, we update the camera to ensure all markers are within…
Orbit
  • 2,985
  • 9
  • 49
  • 106
1 2 3
37
38