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

Indoor Positioning Map Designing in Android

I am currently working on application for indoor positioning system using Beacons. But my work got stuck when i have to design indoor floor plans, We have no idea how can i make maps. so, please help me about how can i design my own floor plans and…
0
votes
1 answer

how to put multiple markers on MapBox in android via geoJson?

I am trying to put about 40 markers on the map scattered across the large area. I found the code to do so but it clusters the nearby markers, but I want it to show all the markers as they are regardless of zoom levels. These are the codes I tried.…
Ishan hrx
  • 403
  • 8
  • 19
0
votes
1 answer

Mapbox runtime crashing issue

A/libc: /buildbot/src/android/ndk-release-r17/external/libcxx/../../external/libcxxabi/src/abort_message.cpp:73: abort_message: assertion "terminating with uncaught exception of type jni::PendingJavaException" failed My added libraries…
Android Guy
  • 573
  • 1
  • 8
  • 18
0
votes
1 answer

Drawing line between 2+ markers/wievpoints (not dynamically) in a MapBox on Android

dev spirits :) Since yesterday I'm diggning through the google and github to find an answer to the above question. I cannot find correct solution on mapbox documentation page as well.
tr0lczyk
  • 35
  • 1
  • 10
0
votes
2 answers

Implement custom Mapbox map React Native

I'm currently trying to implement a custom map I created in Mapbox Studio, into my RN app. This is how the code looks: render() { const {StyleURL} = 'url'; const {mapLight} = 'url'; return(
williamcodes
  • 340
  • 4
  • 18
0
votes
1 answer

Mapbox's LocationLayerPlugin not updating location when Proguard is enabled

I'm using Mapbox's LocationLayerPlugin v0.6.0 with Proguard enabled. In release builds, the location layer isn't requesting location updates: no GPS usage icon when in foreground, and the location becomes stale a few seconds after the first launch…
Jukurrpa
  • 4,038
  • 7
  • 43
  • 73
0
votes
1 answer

Change marker color in Mapbox

I am working on upgrading an old android app that uses Mapbox from SDK 4 to SDK 6.1.3. I must change the color of the markers to match the bus route colors in the city. I can not find a code that works for this version of SDK. Can any one help?
alcor s
  • 1
  • 1
0
votes
1 answer

Keep Mapbox Current Location Fixed on Pinch to Zoom in Android

Zooming with Pinch in Mapbox Keeps Changing the center , how to achieve the same result as zooming with double-tap + scrolling Finger with Pinch too ?
Mahan
  • 147
  • 1
  • 3
  • 14
0
votes
1 answer

Mapbox shows wrong current location in android

I am using Mapbox sdk for android. I want to get current location,and i am also getting,but the problem is: I am getting wrong current location,which is near Nigeria. can anyone help me to get perfect location?? here is my gradle file's details: …
Mrunal Chauhan
  • 51
  • 1
  • 12
0
votes
2 answers

UserLocation doesn't work MapBox

I'm trying to get the user location using LocationEngine on Android devices , but when I star the app the usser's marker is located in (0.0, 0.0) and never update it's location. How is it possible? I try to replicate the example location…
Polivicio
  • 71
  • 1
  • 1
  • 12
0
votes
1 answer

Download MapBox offline map and store it on internal storage

Is it possible to download a MapBox map as a file on a computer rather than mobile. Then load that file into iOS and Android MapBox SDK? The idea is to have many phones who will never have internet access and just to load the map off internal…
Dhananjay Suresh
  • 1,030
  • 1
  • 14
  • 28
0
votes
0 answers

How to add Mapbox telemetry to android?

did com.mapbox.services.android.telemetry got deprecated , cause the MapboxNavigation item is asking for it, but i cant find it, thanks
0
votes
1 answer

Condition with JSON?

I was wondering if it was possible to use conditions with JSON. Let me explain, I would like to check a condition when the route indicates to turn left or right. I use mapbox as a navigation SDK. In their technical documentation, he tells us that we…
Atomike-Toxic
  • 212
  • 1
  • 4
  • 12
0
votes
1 answer

Cannot resolve method addWaypoint(com.mapbox.geojson.Point)

I'm trying to put some waypoints on the Navigation UI but I have the issue of the title, here's my code, in the foreach is where I have the problem. It seems like I didn't import something Point[] waypoints = {Point.fromLngLat(2.444740599999932,…
user9544796
0
votes
2 answers

Mapbox get current location, Android

I am trying to get the current location of the user using Mapbox SDK for Android. After reviewing the tutorials and everything else out there available i concluded that all of the techniques that are shown include deprecated methods. I tried to use…