Line

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

Props

PropDescriptionDefault
sourceURL pointing to vector tileset
variableName of source-layer
colorLine color
optional props
opacityLine opacity1
widthLine width0.5
blurLine blur0.4
maxZoomMaximum zoom for layer5
idKey that triggers addition of source to mapbox-gl-js map
X,Y: 0000,0000