setMaxBounds

open override fun setMaxBounds(bounds: MTBounds?)

Constrains map interactions to the provided bounds, or removes the constraint when null is supplied.

Parameters

bounds

Bounding box limiting map navigation. Use null to clear existing constraints.