Optional
attributionOptional
declutterWhether to declutter labels and symbols.
Optional
fontFunction to replace font families in the style.
Optional
layersSpecific layers within the style to use. If undefined all layers are used.
Optional
legendWhether a legend should be created for this layer.
Optional
maxMaximum zoom level for the layer.
Optional
minMinimum zoom level for the layer.
Opacity, from 0 (hidden) to 1 (visible).
Optional
renderRender mode for the layer.
Optional
styleVector style (will be used if no styleUrl
is provided).
Optional
styleURL to the Mapbox GL style JSON.
Optional
urlURL template for the vector tiles; should contain the following tokens: {z}
, {x}
, and {y}
(will be used if no styleUrl
is provided).
Attribution for the data used in the layer.