Skip to content

v-map-layer-tile3d

← Zur Übersicht · @npm9912/v-map

Props

NameTypeAttrDefaultBeschreibung
loadStateerror | idle | loading | readyload-state'idle'Current load state of the layer.
opacitynumberopacity1Global opacity factor (0-1).
tilesetOptionsstring | unknowntileset-optionsOptional JSON string or object with Cesium3DTileset options.
urlstringurlURL pointing to the Cesium 3D Tileset.
visiblebooleanvisibletrueWhether the tileset should be visible.
zIndexnumberz-index1000Z-index used for ordering tilesets.

Events

EventDetail-TypeBeschreibung
readyvoidFired once the tileset layer is initialised.

Methods

  • getError() => Promise<VMapErrorDetail> — Returns the last error detail, if any.
  • isReady() => Promise<boolean> — Indicates whether the tileset has been initialised and added to the map.