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

mln_string_view source_id
 
mln_string_view source_layer_id
 
mln_string_view feature_id
 
mln_string_view state_key
 

Detailed Description

Feature-state source, feature, and key selector.

Field Documentation

◆ feature_id

mln_string_view mln_feature_state_selector::feature_id

Optional feature ID string. Required by set/get and optional for remove.

◆ source_id

mln_string_view mln_feature_state_selector::source_id

Source ID. Required and borrowed for the duration of the call.

◆ source_layer_id

mln_string_view mln_feature_state_selector::source_layer_id

Optional source layer ID. Required for vector-source disambiguation.

◆ state_key

mln_string_view mln_feature_state_selector::state_key

Optional state key. Used only by remove and requires feature_id.


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