waypointLayerIconAnchor

fun waypointLayerIconAnchor(iconAnchor: IconAnchor = IconAnchor.CENTER): MapboxRouteLineOptions.Builder

Determines the icon anchor for the SymbolLayer that hosts the waypoint icons including the icons for the origin and destination points.

Part of the icon placed closest to the anchor

Return

the builder

Parameters

iconAnchor

the anchor value, the default is IconAnchor.CENTER