Appearance
v-map-layer-wkt
← Zur Übersicht · @npm9912/v-map
Props
| Name | Type | Attr | Default | Beschreibung |
|---|---|---|---|---|
fillColor | string | fill-color | Fill color for polygon geometries (CSS color value) | |
fillOpacity | number | fill-opacity | Fill opacity for polygon geometries (0-1) | |
iconSize | string | icon-size | Icon size as [width, height] in pixels (comma-separated string like "32,32") | |
iconUrl | string | icon-url | Icon URL for point features (alternative to pointColor/pointRadius) | |
loadState | error | idle | loading | ready | load-state | 'idle' | Current load state of the layer. |
opacity | number | opacity | 1.0 | Globale Opazität (0–1). |
pointColor | string | point-color | Point color for point geometries (CSS color value) | |
pointRadius | number | point-radius | Point radius for point geometries in pixels | |
strokeColor | string | stroke-color | Stroke color for lines and polygon outlines (CSS color value) | |
strokeOpacity | number | stroke-opacity | Stroke opacity (0-1) | |
strokeWidth | number | stroke-width | Stroke width in pixels | |
textColor | string | text-color | Text color for labels (CSS color value) | |
textProperty | string | text-property | Text property name from feature properties to display as label | |
textSize | number | text-size | Text size for labels in pixels | |
url | string | url | URL, von der eine WKT-Geometrie geladen wird (alternativ zu wkt). | |
visible | boolean | visible | true | Sichtbarkeit des Layers. |
wkt | string | wkt | WKT-Geometrie (z. B. "POINT(11.57 48.14)" oder "POLYGON((...))"). | |
zIndex | number | z-index | 1000 | Z-index for layer stacking order. Higher values render on top. |
Events
| Event | Detail-Type | Beschreibung |
|---|---|---|
ready | void | Signalisiert, dass das WKT-Layer initialisiert ist. |
Methods
getError() => Promise<VMapErrorDetail>— Returns the last error detail, if any.getLayerId() => Promise<string>— Returns the internal layer ID used by the map provider.