Category : mapbox

I’m using Android Studio to create a GPS using MapBox! I m pretty new to this and I modified some lines ( because other tutorials were outdated) This is the error I’ve encountered 2021-05-29 12:40:09.411 7219-7219/? E/AndroidRuntime: FATAL EXCEPTION: main Process: com.example.againgps2, PID: 7219 java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.againgps2/com.example.againgps2.MainActivity}: java.lang.SecurityException: getDataNetworkTypeForSubscriber at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3449) at ..

Read more

I have implemented latest Mapbox Library with Navigation UI as follow. implementation "com.mapbox.navigation:ui:1.5.1" implementation ‘com.mapbox.mapboxsdk:mapbox-android-sdk:9.6.1’ Link of documentation: Navigation SDK Map SDK What I have implemented: XML: <com.mapbox.navigation.ui.NavigationView android:id="@+id/navigationView" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_below="@id/ll_nav" mapbox:mapbox_cameraZoom="15" /> and Output is: I want that MAP in DARK Mode with Red color of Route Direction. I tried many solutions of ..

Read more

To get my tiles I do: style(styleUri = Style.MAPBOX_STREETS) { +vectorSource(id = "pluto-parcel-source") { url("http://a.tile.openstreetmap.org/{z}/{x}/{y}.png") } But I need to provide a token to a tile provider, with an HTTP header like Authorization: bearer [token]. The documentation shows a skeleton for an HTTP interceptor, but give little clue on how to implement the 5 functions ..

Read more