OptionalchargingElectric vehicle charging station section layers.
OptionalrouteChargingStopSymbol?: Partial<ToBeAddedLayerSpecTemplate<SymbolLayerSpecification>>Symbol layer for rendering charging stop icons on the map.
OptionalinstructionTurn-by-turn instruction arrow layers.
OptionalrouteInstructionArrowSymbol?: Partial<ToBeAddedLayerSpecTemplate<SymbolLayerSpecification>>Symbol layer for instruction/direction arrows placed along maneuver segments.
OptionalinstructionTurn-by-turn instruction line layers.
OptionalrouteInstructionLine?: Partial<ToBeAddedLayerSpecTemplate<LineLayerSpecification>>Line layer for the instruction segment itself.
OptionalrouteInstructionOutline?: Partial<ToBeAddedLayerSpecTemplate<LineLayerSpecification>>Line layer for the outline around instruction segments.
OptionalmainMain route line layer specifications.
OptionalrouteDeselectedLine?: Partial<ToBeAddedLayerSpecTemplate<LineLayerSpecification>>Styling for the deselected (inactive) route line.
OptionalrouteDeselectedOutline?: Partial<ToBeAddedLayerSpecTemplate<LineLayerSpecification>>Styling for the outline around the deselected route line.
OptionalrouteLine?: Partial<ToBeAddedLayerSpecTemplate<LineLayerSpecification>>Styling for the primary, selected route line.
OptionalrouteLineArrows?: Partial<ToBeAddedLayerSpecTemplate<SymbolLayerSpecification>>Symbol layer that renders directional arrows along the main route.
OptionalrouteOutline?: Partial<ToBeAddedLayerSpecTemplate<LineLayerSpecification>>Styling for the outline (stroke) around the primary route line.
OptionalsectionsLayer specifications for specialized route sections.
Optionalferry?: {Ferry crossing section layers.
Optionalincident?: {Traffic incident section layers.
OptionaltollRoad?: {Toll road section layers.
Optionaltunnel?: {Tunnel section layers.
OptionalvehicleRestricted?: {Vehicle-restricted section layers.
OptionalsummaryRoute summary information bubble layers.
OptionalrouteSummaryBubbleSymbol?: Partial<ToBeAddedLayerSpecTemplate<SymbolLayerSpecification>>Symbol layer for the route summary bubble icon and label.
OptionalwaypointsWaypoint layer specifications.
OptionalrouteWaypointLabel?: Partial<ToBeAddedLayerSpecTemplate<SymbolLayerSpecification>>Symbol layer for waypoint labels displayed next to waypoint icons.
OptionalrouteWaypointSymbol?: Partial<ToBeAddedLayerSpecTemplate<SymbolLayerSpecification>>Symbol layer for waypoint icons (origin, destination, stops).
Detailed configuration for the visual appearance of route layers on the map with the MapLibre specification.
Remarks
Provides fine-grained control over all route visualization layers, including main route lines, waypoints, route sections (ferry, tunnel, toll roads, etc.), turn-by-turn guidance instructions, and route summaries.
All fields are optional. When a field is not provided, the default styling will be used.