OlVectorLayerComponent

Component for vector layers with reactive feature management. Supports GeoJSON, drawing, and selection.

TypeScriptexample.ts
import { OlVectorLayerComponent } from '@angular-helpers/openlayers/layers'

# Inputs

InputTypeDefaultDescription
idstring-Unique identifier for the layer (required)
featuresFeature[][]Array of features to display
zIndexnumber0Layer stacking order
opacitynumber1Layer opacity (0-1)
visiblebooleantrueWhether the layer is visible
styleStyle | (feature: Feature) => Style-Style or style function for features
LCP N/A
CLS N/A
INP N/A