setMapRectangle

open fun setMapRectangle(@NonNull rectangle: MapRectangle)

Sets the position to rectangle on map specified by MapRectangle rectangle with margin.

Parameters

rectangle

Rectangle with margins to be zoomed to

open fun setMapRectangle(@NonNull rectangle: MapRectangle, @NonNull animation: MapAnimation)

Sets the position to rectangle on map specified by MapRectangle rectangle with margin.

Parameters

rectangle

Rectangle with margins to be zoomed to

animation