Skip to content

@npm9912/v-map


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

Interface: VMapLayerXyz ​

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

XYZ Tile Layer

Properties ​

attributions? ​

optional attributions: string

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

Attributions-/Copyright-Text (HTML erlaubt).


getError() ​

getError: () => Promise<VMapErrorDetail>

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

Returns the last error detail, if any.

Returns ​

Promise<VMapErrorDetail>


loadState ​

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

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

Current load state of the layer.

Default ​

ts
'idle'

maxZoom? ​

optional maxZoom: number

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

Maximaler Zoomlevel, den der Tile-Server liefert.

Default ​

ts
19

opacity ​

opacity: number

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

Opazität (0–1).

Default ​

ts
1

subdomains? ​

optional subdomains: string

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

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


tileSize? ​

optional tileSize: number

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

Größe einer Kachel in Pixeln.

Default ​

ts
256

url ​

url: string

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

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


visible ​

visible: boolean

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

Sichtbarkeit des XYZ-Layers.

Default ​

ts
true