Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where can I find a list of paint properties for mapbox-gl?

Tags:

mapbox-gl-js

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?

like image 412
prime90 Avatar asked Oct 22 '25 01:10

prime90


1 Answers

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

like image 155
pathmapper Avatar answered Oct 25 '25 19:10

pathmapper



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!