OlWebGLVectorLayerComponent

GPU-accelerated vector layer engineered to display massive datasets (10,000+ features) smoothly using WebGL 2.

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

# Inputs

InputTypeDefaultDescription
idstring-Unique identifier for the layer (required)
featuresFeature[][]Array of coordinates/shapes to render
flatStyleFlatStyleLike-WebGL flat style declaration (required)
zIndexnumber0Layer stack order
opacitynumber1Layer opacity (0-1)
visiblebooleantrueLayer visibility
disableHitDetectionbooleantrueDisable mouse hit testing for peak performance
variablesRecord<string, unknown>-Style variables for real-time dynamic rendering updates
LCP N/A
CLS N/A
INP N/A