Appearance
@npm9912/v-map / index / Components / VMapLayerWkt
Interface: VMapLayerWkt
Defined in: src/components.d.ts:722
Properties
fillColor?
optionalfillColor:string
Defined in: src/components.d.ts:727
Fill color for polygon geometries (CSS color value)
Default
ts
'rgba(0,100,255,0.3)'fillOpacity?
optionalfillOpacity:number
Defined in: src/components.d.ts:732
Fill opacity for polygon geometries (0-1)
Default
ts
0.3getError()
getError: () =>
Promise<VMapErrorDetail>
Defined in: src/components.d.ts:736
Returns the last error detail, if any.
Returns
Promise<VMapErrorDetail>
getLayerId()
getLayerId: () =>
Promise<string>
Defined in: src/components.d.ts:740
Returns the internal layer ID used by the map provider.
Returns
Promise<string>
iconSize?
optionaliconSize:string
Defined in: src/components.d.ts:745
Icon size as [width, height] in pixels (comma-separated string like "32,32")
Default
ts
"32,32"iconUrl?
optionaliconUrl:string
Defined in: src/components.d.ts:749
Icon URL for point features (alternative to pointColor/pointRadius)
loadState
loadState:
"ready"|"error"|"idle"|"loading"
Defined in: src/components.d.ts:754
Current load state of the layer.
Default
ts
'idle'opacity
opacity:
number
Defined in: src/components.d.ts:759
Globale Opazität (0–1).
Default
ts
1pointColor?
optionalpointColor:string
Defined in: src/components.d.ts:764
Point color for point geometries (CSS color value)
Default
ts
'rgba(0,100,255,1)'pointRadius?
optionalpointRadius:number
Defined in: src/components.d.ts:769
Point radius for point geometries in pixels
Default
ts
6strokeColor?
optionalstrokeColor:string
Defined in: src/components.d.ts:774
Stroke color for lines and polygon outlines (CSS color value)
Default
ts
'rgba(0,100,255,1)'strokeOpacity?
optionalstrokeOpacity:number
Defined in: src/components.d.ts:779
Stroke opacity (0-1)
Default
ts
1strokeWidth?
optionalstrokeWidth:number
Defined in: src/components.d.ts:784
Stroke width in pixels
Default
ts
2textColor?
optionaltextColor:string
Defined in: src/components.d.ts:789
Text color for labels (CSS color value)
Default
ts
'#000000'textProperty?
optionaltextProperty:string
Defined in: src/components.d.ts:793
Text property name from feature properties to display as label
textSize?
optionaltextSize:number
Defined in: src/components.d.ts:798
Text size for labels in pixels
Default
ts
12url?
optionalurl:string
Defined in: src/components.d.ts:802
URL, von der eine WKT-Geometrie geladen wird (alternativ zu wkt).
visible
visible:
boolean
Defined in: src/components.d.ts:807
Sichtbarkeit des Layers.
Default
ts
truewkt?
optionalwkt:string
Defined in: src/components.d.ts:811
WKT-Geometrie (z. B. "POINT(11.57 48.14)" oder "POLYGON((...))").
zIndex
zIndex:
number
Defined in: src/components.d.ts:816
Z-index for layer stacking order. Higher values render on top.
Default
ts
1000