routeLayerOverlay property

String routeLayerOverlay
final

Placeholder layer positioned above route polylines in the map layer stack.

Route polylines are rendered immediately below VisualNavigator.routeLayerOverlay. Map polylines added without a layer name using MapScene.addMapPolylineToLayer are rendered below the route polylines. To render a custom polyline above route polylines, create a named layer using MapScene.addMapPolylineLayer with a MapLayerPriority that places the layer after VisualNavigator.routeLayerOverlay, and add the polyline to that layer using the overload of addMapPolyline that accepts a layer name.

Note: This is a beta release of this feature and may contain bugs or exhibit unexpected behaviour. Related APIs are subject to change without a deprecation process.

Implementation

static final String routeLayerOverlay = "&route_polylines_layer_overlay";