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

#include <style.h>

Data Fields

mln_buffer_view id
mln_buffer_view type
mln_buffer_view source_id
mln_buffer_view source_layer
double min_zoom
double max_zoom
uint32_t visibility

Detailed Description

One style layer, borrowed for a completion callback.

Every view stays valid until the callback returns.

Field Documentation

◆ id

mln_buffer_view mln_style_layer_info::id

Layer ID.

◆ max_zoom

double mln_style_layer_info::max_zoom

Highest zoom at which the layer draws; INFINITY with no upper bound.

◆ min_zoom

double mln_style_layer_info::min_zoom

Lowest zoom at which the layer draws; -INFINITY with no lower bound.

◆ source_id

mln_buffer_view mln_style_layer_info::source_id

Source ID. Empty for a layer type that takes no source.

◆ source_layer

mln_buffer_view mln_style_layer_info::source_layer

Source-layer ID. Empty when the layer sets none.

◆ type

mln_buffer_view mln_style_layer_info::type

The style-spec layer type string.

◆ visibility

uint32_t mln_style_layer_info::visibility

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