setConstrainMode

open fun setConstrainMode(mode: ConstrainMode)

Sets the map `constrain mode`.