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

#include <style_expression.h>

Data Fields

uint32_t size
mln_style_expression_input_fields fields
double zoom
double color_ramp_parameter
mln_buffer_view feature
mln_buffer_view feature_state
mln_buffer_view global_state
mln_canonical_tile_id canonical_tile_id
const mln_buffer_view * available_images
size_t available_image_count

Detailed Description

The inputs that a style expression reads while it evaluates.

Field Documentation

◆ available_image_count

size_t mln_style_expression_inputs::available_image_count

◆ available_images

const mln_buffer_view* mln_style_expression_inputs::available_images

The IDs of the images that image treats as available.

◆ canonical_tile_id

mln_canonical_tile_id mln_style_expression_inputs::canonical_tile_id

The tile that holds the feature. within and distance need it to read the feature's geometry.

◆ color_ramp_parameter

double mln_style_expression_inputs::color_ramp_parameter

The value of heatmap-density, line-progress, and elevation.

◆ feature

mln_buffer_view mln_style_expression_inputs::feature

The feature to evaluate against, as a GeoJSON feature, or empty for none.

◆ feature_state

mln_buffer_view mln_style_expression_inputs::feature_state

The feature's state, as a JSON object, or empty for none.

◆ fields

mln_style_expression_input_fields mln_style_expression_inputs::fields

◆ global_state

mln_buffer_view mln_style_expression_inputs::global_state

The values that global-state reads, as a JSON object, or empty for none.

◆ size

uint32_t mln_style_expression_inputs::size

◆ zoom

double mln_style_expression_inputs::zoom

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