mapbox-navigation-android icon indicating copy to clipboard operation
mapbox-navigation-android copied to clipboard

Traffic signs on map.

Open dingdev88 opened this issue 2 years ago • 6 comments

iOS navigation map is showing traffic signs over route. But, Android doesn't show it. How can we show traffic signs over route on navigation?

dingdev88 avatar Jun 06 '23 07:06 dingdev88

Hi, could you share more details about how you show the map? Do you use the MapBox Navigation SDK?

baleboy avatar Jun 06 '23 10:06 baleboy

Yes, I am using Mapbox navigation SDK for android.

My dependencies are as following. implementation 'com.mapbox.maps:android:10.13.0' implementation 'com.mapbox.plugin:maps-logo:10.9.0' implementation "com.mapbox.navigation:android:2.13.1"

It is my routeLine option on navigation. val mapboxRouteLineOptions = MapboxRouteLineOptions.Builder(this) .withRouteLineBelowLayerId("road-label-navigation") .build() routeLineApi = MapboxRouteLineApi(mapboxRouteLineOptions) routeLineView = MapboxRouteLineView(mapboxRouteLineOptions)

image No traffic lights image on circle area.

dingdev88 avatar Jun 07 '23 12:06 dingdev88

@dingdev88 can you please provide an example of what you expect to see here?

dzinad avatar Jun 08 '23 14:06 dzinad

iOS version navigation show this traffic light image on navigation. @dzinad @baleboy image

dingdev88 avatar Jun 09 '23 06:06 dingdev88

@dingdev88 we currently don't support this in Android SDK. We'll plan this for one of the future releases, but right now we don't draw traffic lights out of the box. However, you can access this data in DirectionsRoute object (see this property) and draw the traffic light on the app side.

dzinad avatar Jun 09 '23 13:06 dzinad

@dzinad @baleboy any update on this

AppristineMahesh avatar Feb 03 '25 13:02 AppristineMahesh