ConstrainMode class final
How the map keeps the camera within the world or within its bounds.
See mln_constrain_mode in the
C API reference.
Constructors
- ConstrainMode.fromRawValue(int rawValue)
-
const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- heightOnly → const ConstrainMode
- Keeps the world filling the view from top to bottom.
- none → const ConstrainMode
- screen → const ConstrainMode
-
Keeps the whole view inside the bounds from
MapHandle.setBounds(). - widthAndHeight → const ConstrainMode
- Keeps the world filling the view in both directions.