get Route Geometry
open fun getRouteGeometry(withAltitude: Boolean, @NonNull listener: GeometryListener)
Content copied to clipboard
Returns geometry with altitude of route. Geometry is generated asynchronously and callback is then called.
Parameters
with Altitude
indicates that altitude information is required
listener
listener which will be called - onGeometry
open fun getRouteGeometry( withAltitude: Boolean, @NonNull listener: GeometryListener, @Nullable executor: Executor)
Content copied to clipboard
Returns geometry with altitude of route. Geometry is generated asynchronously and callback is then called on provided executor with results.
Parameters
with Altitude
indicates that altitude information is required
listener
listener which will be called - onGeometry
Returns list of coordinates representing route geometry
Return
List of GeoCoordinates or null in case of error