center On Routes
fun centerOnRoutes(routes: RouteList, displayMode: ERouteDisplayMode = ERouteDisplayMode.Full, viewRc: Rect? = null, animation: Animation? = Animation(EAnimation.Linear))
Centers WGS of the geographic area for the routes list on screen rectangle. All routes from the list will be visible on the map. The zoom level is automatically selected. Note: Animation can be used only if automatic map rendering is active.
Parameters
routes
Route list to be shown.
display Mode
Route display mode
view Rc
Screen viewport rectangle where routes 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