center On Route
external fun centerOnRoute(route: Route, rc: Rect? = null, animation: Animation? = Animation(EAnimation.Linear))
Centers WGS of the geographic area for the route on screen rectangle. The entire route is visible on map. The zoom level is automatically selected so that the entire route is visible on map. Note: Animation can be used only if automatic map rendering is active.
Parameters
route
Route to be shown.
rc
Screen rectangle where area should be centered. The coordinates are relative to view parent screen.
animation
Specifies the animation to be used by the operation. Possible values for the animation complete callback