Class StyleExpressionInputs
- Namespace
- Maplibre.NativeFfi
- Assembly
- Maplibre.NativeFfi.dll
The inputs that a style expression reads while it evaluates.
public sealed record StyleExpressionInputs : IEquatable<StyleExpressionInputs>
- Inheritance
-
StyleExpressionInputs
- Implements
- Inherited Members
Remarks
See mln_style_expression_inputs in the C API reference.
Properties
AvailableImages
The IDs of the images that image treats as available.
public ImmutableArray<string> AvailableImages { get; init; }
Property Value
CanonicalTileId
The tile that holds the feature. within and distance need
it to read the feature's geometry.
public CanonicalTileId? CanonicalTileId { get; init; }
Property Value
ColorRampParameter
The value of heatmap-density, line-progress, and
elevation.
public double? ColorRampParameter { get; init; }
Property Value
Feature
The feature to evaluate against, as a GeoJSON feature, or empty for none.
public string Feature { get; init; }
Property Value
FeatureState
The feature's state, as a JSON object, or empty for none.
public string FeatureState { get; init; }
Property Value
GlobalState
The values that global-state reads, as a JSON object, or empty
for none.
public string GlobalState { get; init; }
Property Value
Zoom
public double? Zoom { get; init; }