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

#include <map.h>

Data Fields

uint32_t size
mln_feature_state_selector_fields fields
mln_buffer_view source_id
mln_buffer_view source_layer_id
mln_feature_id feature_id
mln_buffer_view state_key

Detailed Description

The features whose state to set, read, or remove.

Field Documentation

◆ feature_id

mln_feature_id mln_feature_state_selector::feature_id

The feature's ID. Setting or reading state needs it. Without it, mln_map_remove_feature_state() removes the state of every feature in the source layer.

◆ fields

mln_feature_state_selector_fields mln_feature_state_selector::fields

◆ size

uint32_t mln_feature_state_selector::size

◆ source_id

mln_buffer_view mln_feature_state_selector::source_id

◆ source_layer_id

mln_buffer_view mln_feature_state_selector::source_layer_id

The source layer, for a vector source. Empty for other sources.

◆ state_key

mln_buffer_view mln_feature_state_selector::state_key

The one key that mln_map_remove_feature_state() removes. It needs feature_id. Empty removes every key.


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