set View Insets
fun setViewInsets(left: Double = viewInsetLeft, right: Double = viewInsetRight, top: Double = viewInsetTop, bottom: Double = insetBottomWithoutAttributionBar)
Sets the specified left, top, right, and bottom insets on the MapView. Insets control the active visible area, instructing the MapView to ignore parts that may be obstructed by overlaid UI elements and affecting the MapView's logical center, the reported visible area and the location display.
Units for left, top, right, and bottom are specified in device-independent pixels (dp). The insets may be invalidated if the MapView is resized without the insets being updated. Invalid values are ignored.
Since
200.1.0
Parameters
left
the inset on the left edge of the view
top
the inset on the top edge of the view
right
the inset on the right edge of the view
bottom
the inset on the bottom edge of the view