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?
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With