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 the renderer draws and applies data for that layer. 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.