chore: validate SGS hall POI display plan

This commit is contained in:
lyf
2026-06-30 02:39:00 +08:00
parent a934e1e3bb
commit 2f2f3af708
4 changed files with 49 additions and 1 deletions

View File

@@ -263,7 +263,7 @@ export const isExhibitionHallNavigablePlace = (place: SgsNavigablePlacePayload)
}
const normalizedHallName = (value?: string | null) => normalizedText(value)
.replace(/[\s()【】\[\]_-]/g, '')
.replace(/[\s()【】[\]_-]/g, '')
const normalizePosition = (poi: SgsPoiPayload): [number, number, number] | undefined => normalizePositionSource(
poi.position || {