MapLibre Native C API
Public C ABI for the MapLibre Native wrapper.
Loading...
Searching...
No Matches
mln_map_tile_options Struct Reference

#include <map.h>

Data Fields

uint32_t size
mln_map_tile_option_fields fields
uint32_t prefetch_zoom_delta
double lod_min_radius
double lod_scale
double lod_pitch_threshold
double lod_zoom_shift
mln_tile_lod_mode lod_mode

Detailed Description

How the map picks the tiles to load.

The lod_ members lower the level of detail away from the camera, so the map loads fewer tiles when the pitch is high.

Field Documentation

◆ fields

mln_map_tile_option_fields mln_map_tile_options::fields

◆ lod_min_radius

double mln_map_tile_options::lod_min_radius

The radius around the view point, in tiles, that keeps full detail.

◆ lod_mode

mln_tile_lod_mode mln_map_tile_options::lod_mode

MLN_TILE_LOD_MODE_DISTANCE ignores lod_min_radius.

◆ lod_pitch_threshold

double mln_map_tile_options::lod_pitch_threshold

The pitch, in degrees, above which the map lowers the detail.

◆ lod_scale

double mln_map_tile_options::lod_scale

Scales the distance to the view point. Above 1 lowers the detail.

◆ lod_zoom_shift

double mln_map_tile_options::lod_zoom_shift

Zoom levels to add for picking the detail. Below 0 loads fewer tiles.

◆ prefetch_zoom_delta

uint32_t mln_map_tile_options::prefetch_zoom_delta

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.

◆ size

uint32_t mln_map_tile_options::size

The documentation for this struct was generated from the following file: