getRouteGeometry

open fun getRouteGeometry(withAltitude: Boolean, @NonNull listener: GeometryListener)

Returns geometry with altitude of route. Geometry is generated asynchronously and callback is then called.

Parameters

withAltitude

indicates that altitude information is required

listener

listener which will be called - onGeometry


open fun getRouteGeometry(withAltitude: Boolean, @NonNull listener: GeometryListener, @Nullable executor: Executor)

Returns geometry with altitude of route. Geometry is generated asynchronously and callback is then called on provided executor with results.

Parameters

withAltitude

indicates that altitude information is required

listener

listener which will be called - onGeometry


Deprecated

Returns list of coordinates representing route geometry

Return

List of GeoCoordinates or null in case of error