Svelte Maplibre

API / Layers

Layer

A component that handles a generic layer. This is intended for use by other type-specific layer components, such as FillLayer, and usually you will want to use one of those in your code instead of directly using this component.

import { Layer } from 'svelte-maplibre';

Generic parameters: FEATURE extends Feature = Feature

Props

Inherited from CommonLayerProps

Source: src/lib/Layer.svelte