import { EventEmitter } from '../../stencil-public-runtime'; import type { VMapLayer } from '../../types/vmaplayer'; import type { VMapErrorDetail } from '../../utils/events'; import type { VMapErrorHost } from '../../layer/v-map-layer-helper'; import { StyleEvent } from '../../types/styling'; export declare class VMapLayerWkt implements VMapLayer, VMapErrorHost { el: HTMLElement; /** Current load state of the layer. */ loadState: 'idle' | 'loading' | 'ready' | 'error'; /** * WKT-Geometrie (z. B. "POINT(11.57 48.14)" oder "POLYGON((...))"). */ wkt?: string; /** * URL, von der eine WKT-Geometrie geladen wird (alternativ zu `wkt`). */ url?: string; /** * Sichtbarkeit des Layers. * @default true */ visible: boolean; /** * Globale Opazität (0–1). * @default 1 */ opacity: number; /** * Z-index for layer stacking order. Higher values render on top. */ zIndex: number; /** * Fill color for polygon geometries (CSS color value) * @default 'rgba(0,100,255,0.3)' */ fillColor?: string; /** * Fill opacity for polygon geometries (0-1) * @default 0.3 */ fillOpacity?: number; /** * Stroke color for lines and polygon outlines (CSS color value) * @default 'rgba(0,100,255,1)' */ strokeColor?: string; /** * Stroke width in pixels * @default 2 */ strokeWidth?: number; /** * Stroke opacity (0-1) * @default 1 */ strokeOpacity?: number; /** * Point radius for point geometries in pixels * @default 6 */ pointRadius?: number; /** * Point color for point geometries (CSS color value) * @default 'rgba(0,100,255,1)' */ pointColor?: string; /** * Icon URL for point features (alternative to pointColor/pointRadius) */ iconUrl?: string; /** * Icon size as [width, height] in pixels (comma-separated string like "32,32") * @default "32,32" */ iconSize?: string; /** * Text property name from feature properties to display as label */ textProperty?: string; /** * Text color for labels (CSS color value) * @default '#000000' */ textColor?: string; /** * Text size for labels in pixels * @default 12 */ textSize?: number; /** * Signalisiert, dass das WKT-Layer initialisiert ist. * @event ready */ ready: EventEmitter; private didLoad; private hasLoadedOnce; private helper; setLoadState(state: 'idle' | 'loading' | 'ready' | 'error'): void; /** Returns the last error detail, if any. */ getError(): Promise; private appliedGeostylerStyle?; onWktChanged(oldValue: string, newValue: string): Promise; onUrlChanged(oldValue: string, newValue: string): Promise; onVisibleChanged(): Promise; onOpacityChanged(): Promise; onZIndexChanged(): Promise; onStyleChanged(): Promise; /** * Listen for style events from v-map-style components */ onStyleReady(event: CustomEvent): Promise; /** * Check if this layer is targeted by a style component */ private isTargetedByStyle; private applyExistingStyles; /** * Update the layer with the applied geostyler style */ private updateLayerWithGeostylerStyle; isReady(): boolean; /** * Returns the internal layer ID used by the map provider. */ getLayerId(): Promise; connectedCallback(): Promise; private createLayerConfig; componentWillLoad(): Promise; componentDidLoad(): Promise; disconnectedCallback(): Promise; render(): void; }