zoomToMarkers

abstract fun zoomToMarkers(markers: List<Marker>, padding: Int = 0)

Zooms the map do display markers from the given list.

Parameters

markers

List of Marker elements which should fill the map viewport.

padding

Space between the content and the border of the safe area in pixels.


abstract fun zoomToMarkers(padding: Int = 0)

Zooms the map to display all markers added to the map.

Parameters

padding

Space between the content and the border of the safe area in pixels.


abstract fun zoomToMarkers(tag: String?, padding: Int = 0)

Zooms the map to display all markers with provided tag.

Parameters

tag

The tag which identifies the group of markers.

padding

Space between the content and the border of the safe area in pixels.