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 was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Remove mgl_ prefix from built-in expression variables #11683
In #11528 (comment), I suggested prepending an mgl_ prefix to built-in expression variables, that is $mgl_geometryType and $mgl_featureType. However, I didn’t fully consider that $zoomLevel and $heatmapDensity are already unprefixed and probably should remain that way for ergonomic reasons. #11472 introduced an MGL_FUNCTION() syntax, offering a way out in case there do happen to be conflicts with style-defined variables.
We should remove the mgl_ prefix from $mgl_geometryType and $mgl_featureType and also document MGL_FUNCTION('zoom') etc. as alternative syntax for $zoomLevel and the like.
Activity
fabian-guerra commentedon Apr 16, 2018
Fixed in #11689