diff --git a/libandroid-navigation-ui/src/main/java/com/mapbox/services/android/navigation/ui/v5/route/NavigationMapRoute.java b/libandroid-navigation-ui/src/main/java/com/mapbox/services/android/navigation/ui/v5/route/NavigationMapRoute.java index ddeeba6ede6..99934110ad5 100644 --- a/libandroid-navigation-ui/src/main/java/com/mapbox/services/android/navigation/ui/v5/route/NavigationMapRoute.java +++ b/libandroid-navigation-ui/src/main/java/com/mapbox/services/android/navigation/ui/v5/route/NavigationMapRoute.java @@ -294,7 +294,9 @@ private void addSource(@Nullable DirectionsRoute route) { // Determine whether the source needs to be added or updated GeoJsonSource source = mapboxMap.getSourceAs(NavigationMapSources.NAVIGATION_ROUTE_SOURCE); if (source == null) { - GeoJsonSource routeSource = new GeoJsonSource(NavigationMapSources.NAVIGATION_ROUTE_SOURCE, routeLineFeature); + GeoJsonOptions routeGeoJsonOptions = new GeoJsonOptions().withMaxZoom(16); + GeoJsonSource routeSource = new GeoJsonSource(NavigationMapSources.NAVIGATION_ROUTE_SOURCE, + routeLineFeature, routeGeoJsonOptions); mapboxMap.addSource(routeSource); } else { source.setGeoJson(routeLineFeature);