We could provide static typing for MapLibre Style expressions. As example, Expressions are used to calculate and apply Layer properties according to the zoom level.
Describe alternatives you've considered
It is already possible to define all kind of expressions via a Map in the layout and paint properties of the Layers. There is currently no way for the high-level AnnotationLayers.
Feature Description
We could provide static typing for MapLibre Style expressions. As example, Expressions are used to calculate and apply
Layer
properties according to the zoom level.Describe alternatives you've considered
It is already possible to define all kind of expressions via a Map in the
layout
andpaint
properties of theLayer
s. There is currently no way for the high-levelAnnotationLayer
s.Additional context