OlTileLayerComponent

Component for tile-based map layers. Supports various tile sources like OSM, XYZ, WMTS, and WMS.

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

# Inputs

InputTypeDefaultDescription
idstring-Unique identifier for the layer (required)
source'osm' | 'xyz' | 'wms'-Tile source type (required)
urlstring-URL template for XYZ or WMS sources
attributionsstring | string[]-Attribution text for the layer source
paramsRecord<string, unknown>-Additional parameters for WMS sources
zIndexnumber0Layer stacking order
opacitynumber1Layer opacity (0-1)
visiblebooleantrueWhether the layer is visible
LCP N/A
CLS N/A
INP N/A