waypointLayerIconOffset

fun waypointLayerIconOffset(iconOffset: List<Double> = listOf(0.0, 0.0)): MapboxRouteLineOptions.Builder

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

Offset distance of icon from its anchor. Positive values indicate right and down, while negative values indicate left and up. Each component is multiplied by the value of icon-size to obtain the final offset in pixels. When combined with icon-rotate the offset will be as if the rotated direction was up.

Return

the builder

Parameters

iconOffset

the list of offset values