Skip to content

@npm9912/v-map


@npm9912/v-map / index / JSX / VMapLayerWkt

Interface: VMapLayerWkt ​

Defined in: src/components.d.ts:1992

Properties ​

fillColor? ​

optional fillColor: string

Defined in: src/components.d.ts:1997

Fill color for polygon geometries (CSS color value)

Default ​

ts
'rgba(0,100,255,0.3)'

fillOpacity? ​

optional fillOpacity: number

Defined in: src/components.d.ts:2002

Fill opacity for polygon geometries (0-1)

Default ​

ts
0.3

iconSize? ​

optional iconSize: string

Defined in: src/components.d.ts:2007

Icon size as [width, height] in pixels (comma-separated string like "32,32")

Default ​

ts
"32,32"

iconUrl? ​

optional iconUrl: string

Defined in: src/components.d.ts:2011

Icon URL for point features (alternative to pointColor/pointRadius)


loadState? ​

optional loadState: "ready" | "error" | "idle" | "loading"

Defined in: src/components.d.ts:2016

Current load state of the layer.

Default ​

ts
'idle'

opacity? ​

optional opacity: number

Defined in: src/components.d.ts:2026

Globale Opazität (0–1).

Default ​

ts
1

pointColor? ​

optional pointColor: string

Defined in: src/components.d.ts:2031

Point color for point geometries (CSS color value)

Default ​

ts
'rgba(0,100,255,1)'

pointRadius? ​

optional pointRadius: number

Defined in: src/components.d.ts:2036

Point radius for point geometries in pixels

Default ​

ts
6

strokeColor? ​

optional strokeColor: string

Defined in: src/components.d.ts:2041

Stroke color for lines and polygon outlines (CSS color value)

Default ​

ts
'rgba(0,100,255,1)'

strokeOpacity? ​

optional strokeOpacity: number

Defined in: src/components.d.ts:2046

Stroke opacity (0-1)

Default ​

ts
1

strokeWidth? ​

optional strokeWidth: number

Defined in: src/components.d.ts:2051

Stroke width in pixels

Default ​

ts
2

textColor? ​

optional textColor: string

Defined in: src/components.d.ts:2056

Text color for labels (CSS color value)

Default ​

ts
'#000000'

textProperty? ​

optional textProperty: string

Defined in: src/components.d.ts:2060

Text property name from feature properties to display as label


textSize? ​

optional textSize: number

Defined in: src/components.d.ts:2065

Text size for labels in pixels

Default ​

ts
12

url? ​

optional url: string

Defined in: src/components.d.ts:2069

URL, von der eine WKT-Geometrie geladen wird (alternativ zu wkt).


visible? ​

optional visible: boolean

Defined in: src/components.d.ts:2074

Sichtbarkeit des Layers.

Default ​

ts
true

wkt? ​

optional wkt: string

Defined in: src/components.d.ts:2078

WKT-Geometrie (z. B. "POINT(11.57 48.14)" oder "POLYGON((...))").


zIndex? ​

optional zIndex: number

Defined in: src/components.d.ts:2083

Z-index for layer stacking order. Higher values render on top.

Default ​

ts
1000

Events ​

onReady()? ​

optional onReady: (event) => void

Defined in: src/components.d.ts:2021

Signalisiert, dass das WKT-Layer initialisiert ist. ready

Parameters ​

event ​

VMapLayerWktCustomEvent<void>

Returns ​

void