You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
The NSExpression-based property value implementation in #10726 uses the $dollar syntax to represent both references to variables and the built-in variables $zoomLevel and $heatmapDensity. (Natively, $dollar syntax is used for references to state that may change from one evaluation context to another.) In the unlikely event that a style needs to refer to a custom zoomLevel or heatmapDensity variable, we should have a fallback syntax, such as a custom variable function.
The text was updated successfully, but these errors were encountered:
As of #11472, MGL_FUNCTION('var', 'zoom') is available in case the developer needs to refer to a variable named zoomLevel rather than the actual zoom level.
The NSExpression-based property value implementation in #10726 uses the
$dollar
syntax to represent both references to variables and the built-in variables$zoomLevel
and$heatmapDensity
. (Natively,$dollar
syntax is used for references to state that may change from one evaluation context to another.) In the unlikely event that a style needs to refer to a customzoomLevel
orheatmapDensity
variable, we should have a fallback syntax, such as a customvariable
function.The text was updated successfully, but these errors were encountered: