AddLayerObject
AddLayerObject =
LayerSpecification|Omit<LayerSpecification,"source"> &object|CustomLayerInterface
Задает слой, который будет добавлен в Style. Помимо стандартного LayerSpecification или CustomLayerInterface, также можно указать LayerSpecification со встроенным SourceSpecification.
© MapLibre contributors
Licensed under the 3-Clause BSD License.
https://maplibre.org/maplibre-gl-js/docs/API/type-aliases/AddLayerObject/