I use the Mapbox SDK for navigation. I used this tuto to understand how it works. However, when I get to the step to style the NavigationMapRoute no problem but for NavigationView, no colors apply. Here is my theme code https://docs.mapbox.com/help/tutorials/android-navigation-sdk/ <resources xmlns:tools="http://schemas.android.com/tools"> <!– Base application theme. –> <style name="Theme.Endunav" parent="Theme.MaterialComponents.DayNight.DarkActionBar"> <!– Brand color. –> ..
In my application I want use Navigation between 2 points and for this I used MapBox. I write below codes, but when click on navigation button show me force close error and close the application! I used this tutorial : https://docs.mapbox.com/help/tutorials/android-navigation-sdk/ But when click on navigation button, show me force close error. My codes : ..
I have implemented a Mapbox map with turn by turn navigation in a fragment. The fragment is placed inside my main activity. It behaves as desired such as tapping on the map will create a marker and directions can be started. The turn-by-turn navigation opens in full screen mode, however this is undesired as I ..
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 style.addLayerBelow(lineLayer, <belowLayerId>) method will resolve this but couldn’t find the correct id to use ..