MLNAdditions extension

Methods for creating expressions that use Mapbox-specific functionality and for converting to and from the JSON format defined in the MapLibre Style Spec.

on

Properties

mgl_jsonExpressionObject → ObjCObjectBase

Available on NSExpression, provided by the MLNAdditions extension

An equivalent Foundation object that can be serialized as JSON.
no setter

Methods

mgl_expressionLocalizedIntoLocale(NSLocale? locale) NSExpression

Available on NSExpression, provided by the MLNAdditions extension

Returns a copy of the receiver localized into the given locale.

Static Methods

getFeatureAccumulatedVariableExpression() NSExpression

Available on NSExpression, provided by the MLNAdditions extension

NSExpression variable that corresponds to the id expression operator in the MapLibre Style Spec.
getFeatureAttributesVariableExpression() NSExpression

Available on NSExpression, provided by the MLNAdditions extension

NSExpression variable that corresponds to the properties expression operator in the MapLibre Style Spec.
getFeatureIdentifierVariableExpression() NSExpression

Available on NSExpression, provided by the MLNAdditions extension

NSExpression variable that corresponds to the id expression operator in the MapLibre Style Spec.
getFeaturePropertiesVariableExpression() NSExpression

Available on NSExpression, provided by the MLNAdditions extension

featurePropertiesVariableExpression
getGeometryTypeVariableExpression() NSExpression

Available on NSExpression, provided by the MLNAdditions extension

NSExpression variable that corresponds to the geometry-type expression operator in the MapLibre Style Spec.
getHeatmapDensityVariableExpression() NSExpression

Available on NSExpression, provided by the MLNAdditions extension

NSExpression variable that corresponds to the heatmap-density expression operator in the MapLibre Style Spec.
getLineProgressVariableExpression() NSExpression

Available on NSExpression, provided by the MLNAdditions extension

NSExpression variable that corresponds to the line-progress expression operator in the MapLibre Style Spec.
getZoomLevelVariableExpression() NSExpression

Available on NSExpression, provided by the MLNAdditions extension

NSExpression variable that corresponds to the zoom expression operator in the MapLibre Style Spec.