Files
freedakgmail a550d6d0fd feat: Heritage Globe - 中国文物全球分布地图
- Next.js + MapLibre GL 3D 地球
- CARTO dark-matter vector 底图
- 动态星空背景(闪烁、漂移、流星)
- 经纬网格线(graticule)
- 文物数据图层与朝代/类别筛选
- 中国风信息弹窗
- 中英双语 i18n
- LayerPanel + MapControls 浮动面板
2026-07-01 01:37:18 +08:00

466 lines
22 KiB
TypeScript

import { FeatureCollection, Point } from 'geojson';
import { Relic } from '@/types/relic';
// 朝代颜色映射(按历史时间顺序)
export const dynastyColors: Record<string, string> = {
shang: '#CD7F32', // 商 - 青铜色
zhou: '#8B4513', // 周 - 棕褐
qin: '#FFD700', // 秦 - 金色
han: '#DC143C', // 汉 - 朱红
tang: '#FF6B6B', // 唐 - 桃红
song: '#4A90D9', // 宋 - 靛蓝
yuan: '#50C878', // 元 - 翠绿
ming: '#9370DB', // 明 - 紫罗兰
qing: '#FFB6C1', // 清 - 浅粉
};
// 文物种类图标(Unicode 符号)
export const categoryIcons: Record<string, string> = {
painting: '▪', // 书画 - 方块
sculpture: '▲', // 雕塑 - 三角
bronze: '◆', // 青铜器 - 菱形
porcelain: '●', // 瓷器 - 圆点
jade: '◇', // 玉器 - 钻石
calligraphy: '★', // 书法 - 星形
textile: '✦', // 织物 - 菱星
gold: '⬥', // 金银器 - 六边
lacquer: '◈', // 漆器 - 双菱
ceramic: '○', // 陶器 - 空心圆
};
// 种类中文名
export const categoryNames: Record<string, { zh: string; en: string }> = {
painting: { zh: '书画', en: 'Painting' },
sculpture: { zh: '雕塑', en: 'Sculpture' },
bronze: { zh: '青铜器', en: 'Bronze' },
porcelain: { zh: '瓷器', en: 'Porcelain' },
jade: { zh: '玉器', en: 'Jade' },
calligraphy: { zh: '书法', en: 'Calligraphy' },
textile: { zh: '织物', en: 'Textile' },
gold: { zh: '金银器', en: 'Gold/Silver' },
lacquer: { zh: '漆器', en: 'Lacquerware' },
ceramic: { zh: '陶器', en: 'Ceramics' },
};
export const relicsData: FeatureCollection<Point, Relic> = {
"type": "FeatureCollection",
"features": [
// ===== 商代青铜器 =====
{
"type": "Feature",
"geometry": { "type": "Point", "coordinates": [2.3522, 48.8566] },
"properties": {
"id": "relic-001", "dynasty": "shang", "category": "bronze",
"name": { "zh": "后母戊鼎", "en": "Ding of Simuwu" },
"currentLocation": { "zh": "法国巴黎", "en": "Paris, France" },
"museum": { "zh": "吉美博物馆", "en": "Musée Guimet" },
"year": "商代晚期", "description": { "zh": "商代青铜器代表", "en": "Shang bronze vessel" }
}
},
{
"type": "Feature",
"geometry": { "type": "Point", "coordinates": [13.4101, 52.5244] },
"properties": {
"id": "relic-002", "dynasty": "shang", "category": "bronze",
"name": { "zh": "四羊方尊", "en": "Square Zun with Four Rams" },
"currentLocation": { "zh": "德国柏林", "en": "Berlin, Germany" },
"museum": { "zh": "柏林亚洲艺术博物馆", "en": "Museum of Asian Art" },
"year": "商代", "description": { "zh": "商代青铜礼器精品", "en": "Shang ritual bronze" }
}
},
{
"type": "Feature",
"geometry": { "type": "Point", "coordinates": [-0.0761, 51.5194] },
"properties": {
"id": "relic-003", "dynasty": "shang", "category": "bronze",
"name": { "zh": "皿天全方罍", "en": "Ritual Wine Vessel" },
"currentLocation": { "zh": "英国伦敦", "en": "London, UK" },
"museum": { "zh": "大英博物馆", "en": "British Museum" },
"year": "商代", "description": { "zh": "青铜罍代表", "en": "Bronze lei vessel" }
}
},
// ===== 春秋战国 =====
{
"type": "Feature",
"geometry": { "type": "Point", "coordinates": [139.6917, 35.6895] },
"properties": {
"id": "relic-004", "dynasty": "zhou", "category": "jade",
"name": { "zh": "王羲之《丧乱帖》", "en": "丧乱帖 Calligraphy" },
"currentLocation": { "zh": "日本东京", "en": "Tokyo, Japan" },
"museum": { "zh": "宫内厅", "en": "Imperial Household Agency" },
"year": "唐摹本", "description": { "zh": "书圣王羲之代表作唐摹本", "en": "Copy of Wang Xizhi's masterpiece" }
}
},
{
"type": "Feature",
"geometry": { "type": "Point", "coordinates": [126.9780, 37.5665] },
"properties": {
"id": "relic-005", "dynasty": "zhou", "category": "jade",
"name": { "zh": "金镂玉衣", "en": "Jade burial suit" },
"currentLocation": { "zh": "韩国首尔", "en": "Seoul, South Korea" },
"museum": { "zh": "国立中央博物馆", "en": "National Museum of Korea" },
"year": "汉代", "description": { "zh": "汉代玉衣", "en": "Han dynasty jade burial suit" }
}
},
// ===== 秦代 =====
{
"type": "Feature",
"geometry": { "type": "Point", "coordinates": [-74.0060, 40.7128] },
"properties": {
"id": "relic-006", "dynasty": "qin", "category": "sculpture",
"name": { "zh": "秦俑", "en": "Terracotta Warriors" },
"currentLocation": { "zh": "美国纽约", "en": "New York, USA" },
"museum": { "zh": "大都会艺术博物馆", "en": "Metropolitan Museum" },
"year": "秦代", "description": { "zh": "秦代陶俑", "en": "Qin dynasty terracotta" }
}
},
// ===== 汉代 =====
{
"type": "Feature",
"geometry": { "type": "Point", "coordinates": [-73.1357, 44.4758] },
"properties": {
"id": "relic-007", "dynasty": "han", "category": "jade",
"name": { "zh": "金缕玉衣", "en": "Jade Burial Suit" },
"currentLocation": { "zh": "美国纽约", "en": "New York, USA" },
"museum": { "zh": "美国自然历史博物馆", "en": "American Museum of Natural History" },
"year": "西汉", "description": { "zh": "西汉中山靖王墓出土", "en": "Western Han jade suit" }
}
},
{
"type": "Feature",
"geometry": { "type": "Point", "coordinates": [2.2989, 48.8530] },
"properties": {
"id": "relic-008", "dynasty": "han", "category": "textile",
"name": { "zh": "汉代织锦", "en": "Han Dynasty Brocade" },
"currentLocation": { "zh": "法国巴黎", "en": "Paris, France" },
"museum": { "zh": "国立吉美亚洲艺术博物馆", "en": "Musée Guimet" },
"year": "东汉", "description": { "zh": "汉代丝织品", "en": "Han silk textile" }
}
},
// ===== 唐代 =====
{
"type": "Feature",
"geometry": { "type": "Point", "coordinates": [-0.1276, 51.5074] },
"properties": {
"id": "relic-009", "dynasty": "tang", "category": "painting",
"name": { "zh": "《女史箴图》", "en": "Admonitions of the Instructress" },
"currentLocation": { "zh": "英国伦敦", "en": "London, UK" },
"museum": { "zh": "大英博物馆", "en": "British Museum" },
"year": "东晋-唐摹本", "description": { "zh": "顾恺之绘制,唐摹本", "en": "Gu Kaizhi, Tang copy" }
}
},
{
"type": "Feature",
"geometry": { "type": "Point", "coordinates": [139.7744, 35.7148] },
"properties": {
"id": "relic-010", "dynasty": "tang", "category": "painting",
"name": { "zh": "《祭侄文稿》", "en": "Manuscript for Nephew" },
"currentLocation": { "zh": "日本东京", "en": "Tokyo, Japan" },
"museum": { "zh": "东京国立博物馆", "en": "Tokyo National Museum" },
"year": "唐代", "description": { "zh": "颜真卿行书代表", "en": "Yan Zhenqing calligraphy" }
}
},
{
"type": "Feature",
"geometry": { "type": "Point", "coordinates": [-122.4194, 37.7749] },
"properties": {
"id": "relic-011", "dynasty": "tang", "category": "sculpture",
"name": { "zh": "昭陵六骏", "en": "Six Horses of Zhaoling" },
"currentLocation": { "zh": "美国旧金山", "en": "San Francisco, USA" },
"museum": { "zh": "亚洲艺术博物馆", "en": "Asian Art Museum" },
"year": "唐贞观十年", "description": { "zh": "唐太宗昭陵六骏之一", "en": "Emperor Taizong's war horse" }
}
},
{
"type": "Feature",
"geometry": { "type": "Point", "coordinates": [-74.0060, 40.7128] },
"properties": {
"id": "relic-012", "dynasty": "tang", "category": "sculpture",
"name": { "zh": "昭陵六骏·飒露紫", "en": "Horses of Zhaoling - Sa Lu Zi" },
"currentLocation": { "zh": "美国纽约", "en": "New York, USA" },
"museum": { "zh": "宾夕法尼亚大学博物馆", "en": "Penn Museum" },
"year": "636年", "description": { "zh": "昭陵六骏石刻之一", "en": "Zhaoling stone relief" }
}
},
{
"type": "Feature",
"geometry": { "type": "Point", "coordinates": [13.3777, 52.5163] },
"properties": {
"id": "relic-013", "dynasty": "tang", "category": "painting",
"name": { "zh": "敦煌绢画", "en": "Dunhuang Silk Painting" },
"currentLocation": { "zh": "德国柏林", "en": "Berlin, Germany" },
"museum": { "zh": "柏林亚洲艺术博物馆", "en": "Museum of Asian Art" },
"year": "唐代", "description": { "zh": "敦煌莫高窟绢画", "en": "Dunhuang mural fragment" }
}
},
{
"type": "Feature",
"geometry": { "type": "Point", "coordinates": [-73.5738, 45.5068] },
"properties": {
"id": "relic-014", "dynasty": "tang", "category": "gold",
"name": { "zh": "鎏金舞马衔杯银壶", "en": "Gilded Silver Wine Vessel" },
"currentLocation": { "zh": "加拿大蒙特利尔", "en": "Montreal, Canada" },
"museum": { "zh": "蒙特利尔美术馆", "en": "Montreal Museum of Fine Arts" },
"year": "唐代", "description": { "zh": "唐代银器精品", "en": "Tang silver vessel" }
}
},
// ===== 宋代 =====
{
"type": "Feature",
"geometry": { "type": "Point", "coordinates": [18.4081, 59.3293] },
"properties": {
"id": "relic-015", "dynasty": "song", "category": "porcelain",
"name": { "zh": "汝窑瓷器", "en": "Ru Ware Vase" },
"currentLocation": { "zh": "瑞典斯德哥尔摩", "en": "Stockholm, Sweden" },
"museum": { "zh": "远东古物博物馆", "en": "Museum of Far Eastern Antiquities" },
"year": "北宋", "description": { "zh": "宋代五大名窑之一", "en": "One of Five Great Kilns" }
}
},
{
"type": "Feature",
"geometry": { "type": "Point", "coordinates": [2.3522, 48.8566] },
"properties": {
"id": "relic-016", "dynasty": "song", "category": "painting",
"name": { "zh": "《雪山图》", "en": "Winter Landscape" },
"currentLocation": { "zh": "法国巴黎", "en": "Paris, France" },
"museum": { "zh": "卢浮宫", "en": "Louvre Museum" },
"year": "北宋", "description": { "zh": "宋代山水画", "en": "Song landscape painting" }
}
},
{
"type": "Feature",
"geometry": { "type": "Point", "coordinates": [-122.6789, 45.5152] },
"properties": {
"id": "relic-017", "dynasty": "song", "category": "porcelain",
"name": { "zh": "官窑葵口碗", "en": "Guan Ware Bowl" },
"currentLocation": { "zh": "美国波特兰", "en": "Portland, USA" },
"museum": { "zh": "波特兰艺术博物馆", "en": "Portland Art Museum" },
"year": "南宋", "description": { "zh": "宋代官窑瓷器", "en": "Southern Song Guan ware" }
}
},
{
"type": "Feature",
"geometry": { "type": "Point", "coordinates": [126.9780, 37.5665] },
"properties": {
"id": "relic-018", "dynasty": "song", "category": "calligraphy",
"name": { "zh": "苏轼书法", "en": "Su Shi Calligraphy" },
"currentLocation": { "zh": "韩国首尔", "en": "Seoul, South Korea" },
"museum": { "zh": "国立中央博物馆", "en": "National Museum of Korea" },
"year": "北宋", "description": { "zh": "苏轼行书作品", "en": "Su Shi's calligraphy" }
}
},
// ===== 元代 =====
{
"type": "Feature",
"geometry": { "type": "Point", "coordinates": [13.2307, 52.4660] },
"properties": {
"id": "relic-019", "dynasty": "yuan", "category": "painting",
"name": { "zh": "《青卞隐居图》", "en": " Dwelling in the Qingbian Mountains" },
"currentLocation": { "zh": "德国柏林", "en": "Berlin, Germany" },
"museum": { "zh": "国家博物馆", "en": "Staatliche Museen" },
"year": "元代", "description": { "zh": "王蒙代表作", "en": "Wang Meng painting" }
}
},
{
"type": "Feature",
"geometry": { "type": "Point", "coordinates": [-0.1276, 51.5074] },
"properties": {
"id": "relic-020", "dynasty": "yuan", "category": "porcelain",
"name": { "zh": "青花瓷瓶", "en": "Blue and White Porcelain Vase" },
"currentLocation": { "zh": "英国伦敦", "en": "London, UK" },
"museum": { "zh": "大英博物馆", "en": "British Museum" },
"year": "元代", "description": { "zh": "元青花代表", "en": "Yuan blue and white" }
}
},
// ===== 明代 =====
{
"type": "Feature",
"geometry": { "type": "Point", "coordinates": [139.6917, 35.6895] },
"properties": {
"id": "relic-021", "dynasty": "ming", "category": "porcelain",
"name": { "zh": "景德镇官窑", "en": "Jingdezhen Imperial Porcelain" },
"currentLocation": { "zh": "日本东京", "en": "Tokyo, Japan" },
"museum": { "zh": "东京国立博物馆", "en": "Tokyo National Museum" },
"year": "明代", "description": { "zh": "明代御窑瓷器", "en": "Ming imperial porcelain" }
}
},
{
"type": "Feature",
"geometry": { "type": "Point", "coordinates": [2.3522, 48.8566] },
"properties": {
"id": "relic-022", "dynasty": "ming", "category": "calligraphy",
"name": { "zh": "《永乐大典》", "en": "Yongle Encyclopedia" },
"currentLocation": { "zh": "法国巴黎", "en": "Paris, France" },
"museum": { "zh": "法国国家图书馆", "en": "Bibliothèque nationale" },
"year": "1402-1408", "description": { "zh": "明永乐大典残卷", "en": "Ming encyclopedia fragment" }
}
},
{
"type": "Feature",
"geometry": { "type": "Point", "coordinates": [-0.1276, 51.5074] },
"properties": {
"id": "relic-023", "dynasty": "ming", "category": "lacquer",
"name": { "zh": "雕漆盒", "en": "Carved Lacquer Box" },
"currentLocation": { "zh": "英国伦敦", "en": "London, UK" },
"museum": { "zh": "维多利亚与艾伯特博物馆", "en": "V&A Museum" },
"year": "明代", "description": { "zh": "明代剔红漆器", "en": "Ming carved lacquer" }
}
},
{
"type": "Feature",
"geometry": { "type": "Point", "coordinates": [126.9780, 37.5665] },
"properties": {
"id": "relic-024", "dynasty": "ming", "category": "gold",
"name": { "zh": "金冠", "en": "Golden Crown" },
"currentLocation": { "zh": "韩国首尔", "en": "Seoul, South Korea" },
"museum": { "zh": "国立中央博物馆", "en": "National Museum of Korea" },
"year": "明代", "description": { "zh": "明代皇室金器", "en": "Ming imperial gold" }
}
},
{
"type": "Feature",
"geometry": { "type": "Point", "coordinates": [-122.4194, 37.7749] },
"properties": {
"id": "relic-025", "dynasty": "ming", "category": "porcelain",
"name": { "zh": "斗彩鸡缸杯", "en": "Doucai Chicken Cup" },
"currentLocation": { "zh": "美国旧金山", "en": "San Francisco, USA" },
"museum": { "zh": "亚洲艺术博物馆", "en": "Asian Art Museum" },
"year": "明成化", "description": { "zh": "成化斗彩精品", "en": "Chenghua doucai cup" }
}
},
// ===== 清代 =====
{
"type": "Feature",
"geometry": { "type": "Point", "coordinates": [2.3522, 48.8566] },
"properties": {
"id": "relic-026", "dynasty": "qing", "category": "porcelain",
"name": { "zh": "圆明园兽首", "en": "Yuanmingyuan Zodiac Heads" },
"currentLocation": { "zh": "法国巴黎", "en": "Paris, France" },
"museum": { "zh": "皮诺美术馆", "en": "Pinault Collection" },
"year": "清乾隆", "description": { "zh": "圆明园十二生肖铜首", "en": "Qing zodiac bronze" }
}
},
{
"type": "Feature",
"geometry": { "type": "Point", "coordinates": [126.9780, 37.5665] },
"properties": {
"id": "relic-027", "dynasty": "qing", "category": "bronze",
"name": { "zh": "圆明园牛首", "en": "Yuanmingyuan Ox Head" },
"currentLocation": { "zh": "中国北京(已回归)", "en": "Beijing, China" },
"museum": { "zh": "中国国家博物馆", "en": "National Museum of China" },
"year": "清乾隆", "description": { "zh": "圆明园十二生肖之一", "en": "Qing zodiac bronze" }
}
},
{
"type": "Feature",
"geometry": { "type": "Point", "coordinates": [139.6917, 35.6895] },
"properties": {
"id": "relic-028", "dynasty": "qing", "category": "jade",
"name": { "zh": "翡翠白菜", "en": "Jadeite Cabbage" },
"currentLocation": { "zh": "日本东京", "en": "Tokyo, Japan" },
"museum": { "zh": "东京国立博物馆", "en": "Tokyo National Museum" },
"year": "清代", "description": { "zh": "翠玉雕白菜摆件", "en": "Qing jade carving" }
}
},
{
"type": "Feature",
"geometry": { "type": "Point", "coordinates": [-0.1276, 51.5074] },
"properties": {
"id": "relic-029", "dynasty": "qing", "category": "textile",
"name": { "zh": "龙袍", "en": "Dragon Robe" },
"currentLocation": { "zh": "英国伦敦", "en": "London, UK" },
"museum": { "zh": "大英博物馆", "en": "British Museum" },
"year": "清代", "description": { "zh": "清代缂丝龙袍", "en": "Qing tapestry dragon robe" }
}
},
{
"type": "Feature",
"geometry": { "type": "Point", "coordinates": [-73.5738, 45.5068] },
"properties": {
"id": "relic-030", "dynasty": "qing", "category": "ceramic",
"name": { "zh": "珐琅彩瓶", "en": "Falangcai Enamel Vase" },
"currentLocation": { "zh": "加拿大蒙特利尔", "en": "Montreal, Canada" },
"museum": { "zh": "蒙特利尔美术馆", "en": "Montreal Museum of Fine Arts" },
"year": "清康熙", "description": { "zh": "康熙珐琅彩瓷", "en": "Kangxi falangcai" }
}
},
// ===== 敦煌文书 =====
{
"type": "Feature",
"geometry": { "type": "Point", "coordinates": [11.5761, 48.1372] },
"properties": {
"id": "relic-031", "dynasty": "tang", "category": "calligraphy",
"name": { "zh": "敦煌藏经洞文书", "en": "Dunhuang Manuscripts" },
"currentLocation": { "zh": "德国慕尼黑", "en": "Munich, Germany" },
"museum": { "zh": "巴伐利亚州立图书馆", "en": "Bavarian State Library" },
"year": "唐代", "description": { "zh": "敦煌藏经洞出土", "en": "Dunhuang cave manuscripts" }
}
},
{
"type": "Feature",
"geometry": { "type": "Point", "coordinates": [2.2100, 41.3866] },
"properties": {
"id": "relic-032", "dynasty": "tang", "category": "textile",
"name": { "zh": "敦煌织物残片", "en": "Dunhuang Textile Fragment" },
"currentLocation": { "zh": "西班牙巴塞罗那", "en": "Barcelona, Spain" },
"museum": { "zh": "加泰罗尼亚艺术博物馆", "en": "Museu Nacional d'Art de Catalunya" },
"year": "唐代", "description": { "zh": "敦煌出土丝织品", "en": "Tang silk textile" }
}
},
// ===== 更多代表性文物 =====
{
"type": "Feature",
"geometry": { "type": "Point", "coordinates": [2.1734, 41.3851] },
"properties": {
"id": "relic-033", "dynasty": "shang", "category": "bronze",
"name": { "zh": "虎食人卣", "en": "Tiger Devouring Man You" },
"currentLocation": { "zh": "法国巴黎", "en": "Paris, France" },
"museum": { "zh": "赛努奇博物馆", "en": "Musée Cernuschi" },
"year": "商代", "description": { "zh": "商代著名青铜酒器", "en": "Famous Shang bronze" }
}
},
{
"type": "Feature",
"geometry": { "type": "Point", "coordinates": [-0.1276, 51.5074] },
"properties": {
"id": "relic-034", "dynasty": "zhou", "category": "bronze",
"name": { "zh": "毛公鼎", "en": "Mao Gong Ding" },
"currentLocation": { "zh": "中国台北", "en": "Taipei, Taiwan" },
"museum": { "zh": "台北故宫博物院", "en": "National Palace Museum" },
"year": "西周晚期", "description": { "zh": "西周青铜器铭文最长", "en": "Longest bronze inscription" }
}
},
{
"type": "Feature",
"geometry": { "type": "Point", "coordinates": [114.0579, 22.5431] },
"properties": {
"id": "relic-035", "dynasty": "qin", "category": "bronze",
"name": { "zh": "阳陵虎符", "en": "Tiger Tally of Yangling" },
"currentLocation": { "zh": "中国香港", "en": "Hong Kong" },
"museum": { "zh": "香港中文大学文物馆", "en": "Art Museum, CUHK" },
"year": "秦代", "description": { "zh": "秦代调兵信物", "en": "Qin military tally" }
}
},
{
"type": "Feature",
"geometry": { "type": "Point", "coordinates": [-73.9632, 40.7794] },
"properties": {
"id": "relic-036", "dynasty": "han", "category": "lacquer",
"name": { "zh": "漆羽觞", "en": "Lacquer Wine Cup" },
"currentLocation": { "zh": "美国纽约", "en": "New York, USA" },
"museum": { "zh": "大都会艺术博物馆", "en": "Metropolitan Museum" },
"year": "西汉", "description": { "zh": "汉代漆器精品", "en": "Han lacquerware" }
}
}
]
};