Fill

The Fill component renders a Mapbox map layer of type: 'fill' using vector tiles from the provided source.

Props

PropDescriptionDefault
sourceURL pointing to vector tileset
variableName of source-layer
colorFill color
optional props
opacityFill opacity1
maxZoomMaximum zoom for layer5
idKey that triggers addition of source to mapbox-gl-js map
X,Y: 0000,0000