合并展示馆内空间点位和业务点位
Some checks failed
CI / verify (push) Has been cancelled

This commit is contained in:
lyf
2026-07-07 04:06:38 +08:00
parent 347efd3007
commit eaec80bdc3
5 changed files with 66 additions and 13 deletions

View File

@@ -526,6 +526,7 @@ const poiCategoryPriority: Record<string, number> = {
poi: 86,
accessibility_special_service: 88,
basic_service_facility: 82,
business_poi: 80,
transport_circulation: 76,
operation_experience: 46
}
@@ -539,6 +540,7 @@ const isHallPoi = (poi: RenderPoi) => (
const isServiceFacilityPoi = (poi: RenderPoi) => (
poi.primaryCategory === 'basic_service_facility'
|| poi.primaryCategory === 'accessibility_special_service'
|| poi.primaryCategory === 'business_poi'
)
const isTransportPoi = (poi: RenderPoi) => poi.primaryCategory === 'transport_circulation'
@@ -554,6 +556,12 @@ const poiGlyphMap: Record<string, string> = {
stair: '梯',
experience: '展',
theater: '演',
restaurant: '餐',
cafe: '咖',
shop: '购',
bookstore: '书',
cultural_shop: '文',
business: '商',
exhibition_hall: '展',
hall_entrance: '门',
entrance_exit: '门',
@@ -4102,6 +4110,7 @@ const getPoiColor = (category: string) => {
exhibition_hall: '#2f6fed',
exhibition_hall_entrance: '#4659d8',
basic_service_facility: '#1f8f5f',
business_poi: '#0f9aa5',
transport_circulation: '#d77b20',
accessibility_special_service: '#8a5cf6',
operation_experience: '#cf3f59'