Table of Contents

Class MapOptions

Namespace
Maplibre.NativeFfi
Assembly
Maplibre.NativeFfi.dll

Options for RuntimeHandle.CreateMap().

public sealed record MapOptions : IEquatable<MapOptions>
Inheritance
MapOptions
Implements
Inherited Members

Remarks

See mln_map_options in the C API reference.

Properties

EventMask

The events that the map reports. Without it, the map reports them all.

public RuntimeEventFlag? EventMask { get; init; }

Property Value

RuntimeEventFlag?

FastPforEnabled

Whether the map decodes MapLibre Tiles (MLT) that use FastPFOR integer encoding. Without it, such tiles fail to load.

public bool FastPforEnabled { get; init; }

Property Value

bool

InitialExtent

The map's first size, and its scale factor. The scale factor stays fixed for the map's life, and every render session of the map renders at it.

public required LogicalExtent InitialExtent { get; init; }

Property Value

LogicalExtent

MapMode

public MapMode MapMode { get; init; }

Property Value

MapMode

TileCacheEnabled

Whether the map keeps tiles in memory after they leave the view, so they show again without loading. Without it, the map keeps them.

public bool? TileCacheEnabled { get; init; }

Property Value

bool?