Class MapTileOptions
- Namespace
- Maplibre.NativeFfi
- Assembly
- Maplibre.NativeFfi.dll
How the map picks the tiles to load.
public sealed record MapTileOptions : IEquatable<MapTileOptions>
- Inheritance
-
MapTileOptions
- Implements
- Inherited Members
Remarks
The lod_ members lower the level of detail away from the
camera, so the map loads fewer tiles when the pitch is high.
See mln_map_tile_options in the C API reference.
Properties
LodMinRadius
The radius around the view point, in tiles, that keeps full detail.
public double? LodMinRadius { get; init; }
Property Value
LodMode
TileLodMode.Distance ignores lod_min_radius.
public TileLodMode? LodMode { get; init; }
Property Value
LodPitchThreshold
The pitch, in degrees, above which the map lowers the detail.
public double? LodPitchThreshold { get; init; }
Property Value
LodScale
Scales the distance to the view point. Above 1 lowers the detail.
public double? LodScale { get; init; }
Property Value
LodZoomShift
Zoom levels to add for picking the detail. Below 0 loads fewer tiles.
public double? LodZoomShift { get; init; }
Property Value
PrefetchZoomDelta
How many zoom levels lower the map also loads tiles for, so it can show a coarse map while the current tiles load. 0 loads only the current tiles.
public uint? PrefetchZoomDelta { get; init; }
Property Value
- uint?