Appearance
@npm9912/v-map / index / Components / VMapLayerGoogle
Interface: VMapLayerGoogle
Defined in: src/components.d.ts:265
Google Maps Basemap Layer
Properties
apiKey?
optionalapiKey:string
Defined in: src/components.d.ts:270
Google Maps API-Schlüssel.
Example
ts
<v-map-layer-google api-key="YOUR_KEY"></v-map-layer-google>getError()
getError: () =>
Promise<VMapErrorDetail>
Defined in: src/components.d.ts:274
Returns the last error detail, if any.
Returns
Promise<VMapErrorDetail>
language?
optionallanguage:string
Defined in: src/components.d.ts:279
Sprach-Lokalisierung (BCP-47, z. B. "de", "en-US").
Default
ts
"en"libraries?
optionallibraries:string
Defined in: src/components.d.ts:284
Google Maps libraries to load (comma-separated string).
Example
ts
"geometry,places,drawing"loadState
loadState:
"ready"|"error"|"idle"|"loading"
Defined in: src/components.d.ts:289
Current load state of the layer.
Default
ts
'idle'mapType
mapType:
"roadmap"|"satellite"|"terrain"|"hybrid"
Defined in: src/components.d.ts:294
Karten-Typ: "roadmap" | "satellite" | "hybrid" | "terrain".
Default
ts
"roadmap"maxZoom?
optionalmaxZoom:number
Defined in: src/components.d.ts:301
Maximum zoom level for the layer.
opacity
opacity:
number
Defined in: src/components.d.ts:306
Opazität des Layers (0–1).
Default
ts
1region?
optionalregion:string
Defined in: src/components.d.ts:310
Region-Bias (ccTLD/Region-Code, z. B. "DE", "US"). Beeinflusst Labels/Suchergebnisse.
scale?
optionalscale:"scaleFactor1x"|"scaleFactor2x"|"scaleFactor4x"
Defined in: src/components.d.ts:315
Scale factor for tile display.
Default
ts
"scaleFactor1x"styles?
optionalstyles:string|Record<string,unknown>[]
Defined in: src/components.d.ts:319
Custom styles for the Google Map (JSON array of styling objects). Can be passed as JSON string or array.
visible
visible:
boolean
Defined in: src/components.d.ts:324
Sichtbarkeit des Layers.
Default
ts
true