Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resources: New templates of Macao LRT #1506

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions public/resources/templates/mlm/00config.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,25 @@
"pt": "Linha Taipa"
},
"uploadBy": "wongchito"
},
{
"filename": "石排湾线",
"name": {
"en": "Seac Pai Van Line",
"zh-Hans": "石排湾线",
"zh-Hant": "石排灣線",
"pt": "Linha Seac Pai Van"
},
"uploadBy": "Misaka89535"
},
{
"filename": "横琴线",
"name": {
"en": "Hengqin Line",
"zh-Hans": "横琴线",
"zh-Hant": "橫琴線",
"pt": "Linha de Hengqin"
},
"uploadBy": "Misaka89535"
}
]
164 changes: 164 additions & 0 deletions public/resources/templates/mlm/横琴线.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,164 @@
{
"style": "mtr",
"svg_height": 300,
"padding": 7.05352436628492,
"y_pc": 40,
"theme": [
"other",
"other",
"#b82a3c",
"#fff"
],
"direction": "l",
"current_stn_idx": "hwTuQi",
"platform_num": "2",
"stn_list": {
"linestart": {
"parents": [],
"children": [
"rul5"
],
"num": "00",
"transfer": {
"tick_direc": "r",
"paid_area": true,
"groups": [
{}
]
},
"services": [
"local"
],
"loop_pivot": false,
"one_line": false,
"int_padding": 355,
"localisedName": {
"zh": "路綫右端",
"en": "RIGHT END"
}
},
"lineend": {
"parents": [
"hwTuQi"
],
"children": [],
"num": "00",
"transfer": {
"tick_direc": "r",
"paid_area": true,
"groups": [
{}
]
},
"services": [
"local"
],
"loop_pivot": false,
"one_line": false,
"int_padding": 355,
"localisedName": {
"zh": "路綫左端",
"en": "LEFT END"
}
},
"rul5": {
"parents": [
"linestart"
],
"children": [
"hwTuQi"
],
"num": "06",
"transfer": {
"tick_direc": "r",
"paid_area": true,
"groups": [
{
"lines": [
{
"theme": [
"macao",
"taipa",
"#A4D65E",
"#fff"
],
"name": [
"氹仔線",
"Linha da Taipa"
]
}
]
}
]
},
"services": [
"local"
],
"loop_pivot": false,
"one_line": false,
"int_padding": 355,
"localisedName": {
"zh": "蓮花",
"en": "Lótus\\Lotus "
}
},
"hwTuQi": {
"num": "12",
"services": [
"local"
],
"parents": [
"rul5"
],
"children": [
"lineend"
],
"transfer": {
"groups": [
{}
],
"tick_direc": "r",
"paid_area": true
},
"loop_pivot": false,
"one_line": true,
"int_padding": 355,
"localisedName": {
"zh": "橫琴",
"en": "Hengqin\\Hengqin"
}
}
},
"line_name": [
"橫琴綫",
"Linha de Hengqin"
],
"psd_num": "3",
"line_num": "TP",
"info_panel_type": "gz28",
"direction_gz_x": 50,
"direction_gz_y": 70,
"customiseMTRDest": {
"isLegacy": false,
"terminal": false
},
"svgWidth": {
"destination": 1600,
"runin": 1100,
"railmap": 1000,
"indoor": 900
},
"namePosMTR": {
"isStagger": true,
"isFlip": false
},
"coline": {},
"loop": false,
"loop_info": {
"bank": true,
"left_and_right_factor": 0,
"bottom_factor": 1
},
"branchSpacingPct": 30,
"version": "5.14.13"
}
168 changes: 168 additions & 0 deletions public/resources/templates/mlm/石排湾线.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,168 @@
{
"style": "mtr",
"svg_height": 300,
"padding": 7.05352436628492,
"y_pc": 40,
"theme": [
"other",
"other",
"#8966c3",
"#fff"
],
"direction": "l",
"current_stn_idx": "hwTuQi",
"platform_num": "2",
"stn_list": {
"linestart": {
"parents": [],
"children": [
"DcxUgx"
],
"num": "00",
"transfer": {
"tick_direc": "r",
"paid_area": true,
"groups": [
{}
]
},
"services": [
"local"
],
"loop_pivot": false,
"one_line": false,
"int_padding": 355,
"localisedName": {
"zh": "路綫右端",
"en": "RIGHT END"
}
},
"lineend": {
"parents": [
"hwTuQi"
],
"children": [],
"num": "00",
"transfer": {
"tick_direc": "r",
"paid_area": true,
"groups": [
{}
]
},
"services": [
"local"
],
"loop_pivot": false,
"one_line": false,
"int_padding": 355,
"localisedName": {
"zh": "路綫左端",
"en": "LEFT END"
}
},
"hwTuQi": {
"num": "12",
"services": [
"local"
],
"parents": [
"DcxUgx"
],
"children": [
"lineend"
],
"transfer": {
"groups": [
{}
],
"tick_direc": "r",
"paid_area": true
},
"loop_pivot": false,
"one_line": true,
"int_padding": 355,
"localisedName": {
"zh": "石排灣",
"en": "Seac Pai Van\\Seac Pai Van"
}
},
"DcxUgx": {
"localisedName": {
"zh": "協和醫院",
"en": "Hospital Union\\Union Hospital"
},
"localisedSecondaryName": {},
"num": "00",
"services": [
"local"
],
"parents": [
"linestart"
],
"children": [
"hwTuQi"
],
"transfer": {
"groups": [
{
"lines": [
{
"theme": [
"macao",
"taipa",
"#A4D65E",
"#fff"
],
"name": [
" 氹仔線",
"Linha Taipa"
]
}
]
},
{
"lines": []
}
],
"tick_direc": "r",
"paid_area": true
},
"loop_pivot": false,
"one_line": true,
"int_padding": 355
}
},
"line_name": [
"石排灣綫",
"Linha Seac Pai Van"
],
"psd_num": "3",
"line_num": "TP",
"info_panel_type": "gz28",
"direction_gz_x": 50,
"direction_gz_y": 70,
"customiseMTRDest": {
"isLegacy": false,
"terminal": false
},
"svgWidth": {
"destination": 1600,
"runin": 1100,
"railmap": 1000,
"indoor": 900
},
"namePosMTR": {
"isStagger": true,
"isFlip": false
},
"coline": {},
"loop": false,
"loop_info": {
"bank": true,
"left_and_right_factor": 0,
"bottom_factor": 1
},
"branchSpacingPct": 30,
"version": "5.14.13"
}
Loading