AddLayerObject
AddLayerObject =
LayerSpecification|Omit<LayerSpecification,"source"> &object|CustomLayerInterface
Specifies a layer to be added to a Style. In addition to a standard LayerSpecification or a CustomLayerInterface, a LayerSpecification with an embedded SourceSpecification can also be provided.
© MapLibre contributors
Licensed under the 3-Clause BSD License.
https://maplibre.org/maplibre-gl-js/docs/API/type-aliases/AddLayerObject/