feat: wire guide data source and POI focus UI

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
lyf
2026-06-12 09:25:22 +08:00
parent a6bfda30e1
commit 2055b13b90
58 changed files with 5768 additions and 1898 deletions

26
src/domain/guideModel.ts Normal file
View File

@@ -0,0 +1,26 @@
export interface GuideRenderPoi {
id: string
name: string
floorId: string
primaryCategory: string
primaryCategoryZh: string
iconType: string
positionGltf?: [number, number, number]
}
export interface GuideModelFloorAsset {
floorId: string
label: string
order: number
modelUrl: string
}
export interface GuideModelRenderPackage {
overviewModelUrl: string
floors: GuideModelFloorAsset[]
}
export interface GuideModelSource {
loadPackage(): Promise<GuideModelRenderPackage>
loadFloorPois(floorId: string): Promise<GuideRenderPoi[]>
}