Struct MapViewport
- Namespace
- Maplibre.NativeFfi
- Assembly
- Maplibre.NativeFfi.dll
A map's whole viewport.
public readonly record struct MapViewport : IEquatable<MapViewport>
- Implements
- Inherited Members
Remarks
Its members mean the same as those of
MapViewportOptions.
See mln_map_viewport in the C API reference.
Constructors
MapViewport(NorthOrientation, ConstrainMode, ViewportMode, EdgeInsets)
A map's whole viewport.
public MapViewport(NorthOrientation NorthOrientation, ConstrainMode ConstrainMode, ViewportMode ViewportMode, EdgeInsets FrustumOffset)
Parameters
NorthOrientationNorthOrientationConstrainModeConstrainModeViewportModeViewportModeFrustumOffsetEdgeInsets
Remarks
Its members mean the same as those of
MapViewportOptions.
See mln_map_viewport in the C API reference.
Properties
ConstrainMode
public ConstrainMode ConstrainMode { get; init; }
Property Value
FrustumOffset
public EdgeInsets FrustumOffset { get; init; }
Property Value
NorthOrientation
public NorthOrientation NorthOrientation { get; init; }
Property Value
ViewportMode
public ViewportMode ViewportMode { get; init; }