spatial-monorepo / core/src / BuildingPMTilesSourceProps
Interface: BuildingPMTilesSourceProps
Defined in: packages/core/src/components/CompoundComponents.tsx:297
Properties
buildingId
buildingId:
string
Defined in: packages/core/src/components/CompoundComponents.tsx:302
Unique building identifier. The MapLibre source will be keyed as pmtiles-{buildingId}.
children?
optionalchildren?:ReactNode
Defined in: packages/core/src/components/CompoundComponents.tsx:311
url
url:
string
Defined in: packages/core/src/components/CompoundComponents.tsx:310
PMTiles URL (pmtiles:// or https://).
NOTE: Changing this prop at runtime does NOT hot-swap the source. Sources are stable for the lifetime of the component. To change the URL, unmount and remount the component (which triggers a map reload).
