Skip to content

@npm9912/v-map


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

Interface: VMapLayerXyz ​

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

XYZ Tile Layer

Properties ​

attributions? ​

optional attributions: string

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

Attributions-/Copyright-Text (HTML erlaubt).


loadState? ​

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

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

Current load state of the layer.

Default ​

ts
'idle'

maxZoom? ​

optional maxZoom: number

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

Maximaler Zoomlevel, den der Tile-Server liefert.

Default ​

ts
19

opacity? ​

optional opacity: number

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

Opazität (0–1).

Default ​

ts
1

subdomains? ​

optional subdomains: string

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

Subdomains für parallele Tile-Anfragen (z. B. "a,b,c").


tileSize? ​

optional tileSize: number

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

Größe einer Kachel in Pixeln.

Default ​

ts
256

url ​

url: string

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

URL-Template für Kacheln, z. B. "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png".


visible? ​

optional visible: boolean

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

Sichtbarkeit des XYZ-Layers.

Default ​

ts
true

Events ​

onReady()? ​

optional onReady: (event) => void

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

Wird ausgelöst, wenn der XYZ-Layer bereit ist. ready

Parameters ​

event ​

VMapLayerXyzCustomEvent<void>

Returns ​

void