|
MapLibre Native C API
Public C ABI for the MapLibre Native wrapper.
|
#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 |
The inputs that a style expression reads while it evaluates.
| size_t mln_style_expression_inputs::available_image_count |
| const mln_buffer_view* mln_style_expression_inputs::available_images |
The IDs of the images that image treats as available.
| 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.
| double mln_style_expression_inputs::color_ramp_parameter |
The value of heatmap-density, line-progress, and elevation.
| mln_buffer_view mln_style_expression_inputs::feature |
The feature to evaluate against, as a GeoJSON feature, or empty for none.
| mln_buffer_view mln_style_expression_inputs::feature_state |
The feature's state, as a JSON object, or empty for none.
| mln_style_expression_input_fields mln_style_expression_inputs::fields |
| mln_buffer_view mln_style_expression_inputs::global_state |
The values that global-state reads, as a JSON object, or empty for none.
| uint32_t mln_style_expression_inputs::size |
| double mln_style_expression_inputs::zoom |