presentPath

fun presentPath(path: Path, border: Rgba? = null, fill: Rgba? = null, doCenterOn: Boolean = true, animation: Animation = Animation(animation = EAnimation.Linear, duration = 1000), zoomLevel: Int = -1)

Presents a path on the map.

Parameters

path

The path to be added.

border

The color of the path border. By default the one from the current color scheme is used.

fill

The color of the path. By default the one from the current color scheme is used.

doCenterOn

Will center this MapView on provided path, default true.

animation

Will be used to center the view on route only if centerOn is true.

zoomLevel

Zoom level( Use -1 for automatic selection)