query

open override fun query(from: MPPoint, to: MPPoint)

Query a route between two points

Parameters

from

Origin

to

Destination


fun query(from: MPPoint, to: MPPoint, stops: List<MPPoint>?, optimize: Boolean?)

Query a route between two points, with optional stops

Parameters

from

Origin

to

Destination

stops

List of stops

optimize

Whether to optimize the stops on the route