ZoomToRectInsets

constructor(left: Float = 0.1f, right: Float = 0.1f, top: Float = 0.05f, bottom: Float = 0.05f)

Parameters

left

Inset from the left edge. Accounts for the map action strip (zoom/recenter buttons). Default: 0.10 (10% of visible width).

right

Inset from the right edge. Accounts for the route list panel on route preview. Default: 0.10 (10% of visible width).

top

Inset from the top edge. Breathing room from navigation chrome. Default: 0.05 (5% of visible height).

bottom

Inset from the bottom edge. Breathing room from bottom edge. Default: 0.05 (5% of visible height).