0
votes

I added some geojson layers to mapbox-gl and have been scrubbing the docs in search of a list of paint properties so I can style the layers. The only thing I found on the documentation page referencing paint is here https://docs.mapbox.com/mapbox-gl-js/style-spec/#layers and is very underwhelming.

Am I missing something?

1

1 Answers

1
votes

https://docs.mapbox.com/mapbox-gl-js/style-spec/#layers is the right place to find documentation for available paint properties.

Each layer type has an own secion, e.g. for a layer of type fill:

https://docs.mapbox.com/mapbox-gl-js/style-spec/#layers-fill

or for a layer of type line:

https://docs.mapbox.com/mapbox-gl-js/style-spec/#layers-line