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

#include <map.h>

Data Fields

uint32_t size
mln_map_option_fields fields
mln_logical_extent initial_extent
mln_map_mode map_mode
bool fast_pfor_enabled
mln_runtime_event_flags event_mask
bool tile_cache_enabled

Detailed Description

Field Documentation

◆ event_mask

mln_runtime_event_flags mln_map_options::event_mask

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

◆ fast_pfor_enabled

bool mln_map_options::fast_pfor_enabled

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

◆ fields

mln_map_option_fields mln_map_options::fields

◆ initial_extent

mln_logical_extent mln_map_options::initial_extent

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.

◆ map_mode

mln_map_mode mln_map_options::map_mode

◆ size

uint32_t mln_map_options::size

◆ tile_cache_enabled

bool mln_map_options::tile_cache_enabled

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


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