Appearance
@npm9912/v-map / index / JSX / VMapLayerGeojson
Interface: VMapLayerGeojson
Defined in: src/components.d.ts:1428
Properties
fillColor?
optionalfillColor:string
Defined in: src/components.d.ts:1433
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:1438
Fill opacity for polygon geometries (0-1)
Default
ts
0.3geojson?
optionalgeojson:string
Defined in: src/components.d.ts:1442
Prop, die du intern nutzt/weiterverarbeitest
iconSize?
optionaliconSize:string
Defined in: src/components.d.ts:1447
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:1451
Icon URL for point features (alternative to pointColor/pointRadius)
loadState?
optionalloadState:"ready"|"error"|"idle"|"loading"
Defined in: src/components.d.ts:1456
Current load state of the layer.
Default
ts
'idle'opacity?
optionalopacity:number
Defined in: src/components.d.ts:1461
Opazität der geojson-Kacheln (0–1).
Default
ts
1pointColor?
optionalpointColor:string
Defined in: src/components.d.ts:1466
Point color for point geometries (CSS color value)
Default
ts
'rgba(0,100,255,1)'pointRadius?
optionalpointRadius:number
Defined in: src/components.d.ts:1471
Point radius for point geometries in pixels
Default
ts
6strokeColor?
optionalstrokeColor:string
Defined in: src/components.d.ts:1476
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:1481
Stroke opacity (0-1)
Default
ts
1strokeWidth?
optionalstrokeWidth:number
Defined in: src/components.d.ts:1486
Stroke width in pixels
Default
ts
2textColor?
optionaltextColor:string
Defined in: src/components.d.ts:1491
Text color for labels (CSS color value)
Default
ts
'#000000'textProperty?
optionaltextProperty:string
Defined in: src/components.d.ts:1495
Text property name from feature properties to display as label
textSize?
optionaltextSize:number
Defined in: src/components.d.ts:1500
Text size for labels in pixels
Default
ts
12url?
optionalurl:string
Defined in: src/components.d.ts:1505
URL to fetch GeoJSON data from. Alternative to providing data via slot.
Default
ts
nullvisible?
optionalvisible:boolean
Defined in: src/components.d.ts:1510
Whether the layer is visible on the map.
Default
ts
truezIndex?
optionalzIndex:number
Defined in: src/components.d.ts:1515
Z-index for layer stacking order. Higher values render on top.
Default
ts
1000