zoomToRoutes

abstract fun zoomToRoutes()

Updates camera view to fit all route points.


abstract fun zoomToRoutes(padding: Int)

Updates camera view to fit all route points, plus additional padding.

Parameters

padding

Space between the content and the border of the safe area. Expressed in screen pixels. Applied on top of the map padding (com.tomtom.sdk.map.display.map.MapController.setPadding).