feat: expand SGS hall POI adaptation

This commit is contained in:
lyf
2026-06-30 01:01:41 +08:00
parent e826c92486
commit c06d309e08
4 changed files with 1311 additions and 12 deletions

View File

@@ -72,6 +72,19 @@ export interface MuseumCategory {
iconType?: string
}
export type MuseumPoiKind = 'facility' | 'hall' | 'hall_entrance' | 'guide'
export interface MuseumPoiEntrance {
id: string
name: string
floorId: string
floorLabel: string
positionGltf?: [number, number, number]
sourceObjectName?: string
sourcePlaceId?: string
routeNodeId?: string
}
export interface MuseumPoi {
id: string
name: string
@@ -84,6 +97,13 @@ export interface MuseumPoi {
sourceConfidence?: string
navigationReadiness?: string
accessible: boolean
kind?: MuseumPoiKind
hallId?: string
hallName?: string
spaceId?: string
sourcePlaceId?: string
sourceSpaceId?: string
entrances?: MuseumPoiEntrance[]
}
export type GuideLocationResolutionStatus = 'exact' | 'hallFallback' | 'candidate' | 'unavailable'
@@ -149,6 +169,10 @@ export interface GuideLocationPreview {
primaryCategoryZh?: string
positionGltf?: [number, number, number]
sourceObjectName?: string
kind?: MuseumPoiKind
hallId?: string
hallName?: string
entrances?: MuseumPoiEntrance[]
}
export interface GuideStartLocation {