Enum ConstrainMode
- Namespace
- Maplibre.NativeFfi
- Assembly
- Maplibre.NativeFfi.dll
How the map keeps the camera within the world or within its bounds.
public enum ConstrainMode : uint
Fields
HeightOnly = 1Keeps the world filling the view from top to bottom.
None = 0Screen = 3Keeps the whole view inside the bounds from
MapHandle.SetBoundsAsync().WidthAndHeight = 2Keeps the world filling the view in both directions.
Remarks
See mln_constrain_mode in the C API reference.