layout and paint properties

Layout and paint properties are two sub-properties of a layer that define how spatial data is rendered in Mapbox GL maps.

Layout properties define how data for that layer is drawn, and are applied during the rendering process. Examples of layout properties include visibility, line-cap, and symbol-placement.

Paint properties define how data for that layer is styled, and are applied later in the rendering properties. Examples of paint properties include fill-color, background-pattern, and line-opacity.

For more information about layout and paint properties, see the Mapbox Style Specification.