The Fill
component renders a Mapbox map layer of type: 'fill'
using vector tiles from the provided source
.
Prop | Description | Default |
---|---|---|
source | URL pointing to vector tileset | |
variable | Name of source-layer | |
color | Fill color | |
optional props | ||
opacity | Fill opacity | 1 |
maxZoom | Maximum zoom for layer | 5 |
id | Key that triggers addition of source to mapbox-gl-js map |