Table of Contents

Struct MapView

Namespace
Maplibre.NativeFfi
Assembly
Maplibre.NativeFfi.dll

One view of a map: its camera, size, and projection.

public readonly record struct MapView : IEquatable<MapView>
Implements
Inherited Members

Remarks

See mln_map_view in the C API reference.

Constructors

MapView(Camera, LogicalExtent, ProjectionMode, MapViewport)

One view of a map: its camera, size, and projection.

public MapView(Camera Camera, LogicalExtent Extent, ProjectionMode ProjectionMode, MapViewport Viewport)

Parameters

Camera Camera
Extent LogicalExtent
ProjectionMode ProjectionMode
Viewport MapViewport

Remarks

See mln_map_view in the C API reference.

Properties

Camera

public Camera Camera { get; init; }

Property Value

Camera

Extent

public LogicalExtent Extent { get; init; }

Property Value

LogicalExtent

ProjectionMode

public ProjectionMode ProjectionMode { get; init; }

Property Value

ProjectionMode

Viewport

public MapViewport Viewport { get; init; }

Property Value

MapViewport