-
Notifications
You must be signed in to change notification settings - Fork 1
/
layout.xml
88 lines (87 loc) · 6.72 KB
/
layout.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<!--xml file generated using ChatGPT (for the most part)-->
<!--Shema:
Settings: root element
page: One page in the application - settings that are visible at the same time
labelframe: visually grouped settings in a frame with a label `name`
setting: one setting.
`name` is show in the application
`type` is the type of widget (checkbox or integer)
`xmlpath` is the path to the setting in the CSLMapViewConfig.xml file
`row` is the row number of setting - - necessary as XML does not guarantee order
`options` is a semicolon-separated list of options for menu types
label: label shown in the application
-->
<Settings>
<page name="Elements">
<labelframe name="Elements" row="0">
<setting name="Terrain" path="./RenderTerrain" type="checkbutton" row="0" />
<setting name="Forest" path="./RenderForest" type="checkbutton" row="1" />
<setting name="Buildings" path="./RenderBuilding" type="checkbutton" row="2" />
<setting name="Roads" path="./RenderRoad" type="checkbutton" row="3" />
<setting name="Railways" path="./RenderRail" type="checkbutton" row="4" />
</labelframe>
<labelframe name="Rail lines" row="1">
<setting name="Train" path="./RenderRailTrain" type="checkbutton" row="0" />
<setting name="Tram" path="./RenderRailTram" type="checkbutton" row="1" />
<setting name="Metro" path="./RenderRailMetro" type="checkbutton" row="2" />
<setting name="Monorail" path="./RenderRailMonorail" type="checkbutton" row="3" />
<setting name="Cable car" path="./RenderRailCableCar" type="checkbutton" row="4" />
</labelframe>
<labelframe name="Overlay" row="2">
<setting name="Grid" path="./RenderGrid" type="checkbutton" row="0" />
<setting name="District names" path="./RenderDistrictName" type="checkbutton" row="1" />
<setting name="Building names" path="./RenderBuildingName" type="checkbutton" row="2" />
<setting name="Reduce contrast" path="./ReduceContrast" type="checkbutton" row="3" />
<setting name="Disable building frame" path="./DisableBuildingBorder" type="checkbutton" row="4" />
<setting name="Hide R/I/C/O buildings" path="./HideRICO" type="checkbutton" row="5" />
<setting name="Map symbols" path="./RenderMapSymbol" type="checkbutton" row="6" />
<setting name="Road names" path="./RenderRoadName" type="checkbutton" row="7" />
<setting name="Park names" path="./RenderParkName" type="checkbutton" row="8" />
</labelframe>
</page>
<page name="Public transport">
<labelframe name="General" row="0">
<setting name="Public transport routes" path="./RenderTransportRoute" type="checkbutton" row="0" />
<setting name="Route numberigs" path="./RenderTransport" type="checkbutton" row="1" />
<setting name="Merge stops/stations within (m)" path="./RouteMapConfig/StopsMergingRange" type="integer" row="2" />
</labelframe>
<labelframe name="Lines and stops" row="1">
<setting name="Bus lines" path="./RouteMapConfig/RenderBusLine" type="checkbutton" row="0" column="0" />
<setting name="Bus stops" path="./RouteMapConfig/RenderBusStop" type="checkbutton" row="0" column="1" />
<setting name="Tram lines" path="./RouteMapConfig/RenderTramLine" type="checkbutton" row="1" column="0" />
<setting name="Tram stops" path="./RouteMapConfig/RenderTramStop" type="checkbutton" row="1" column="1" />
<setting name="Metro lines" path="./RouteMapConfig/RenderMetroLine" type="checkbutton" row="2" column="0" />
<setting name="Metro stops" path="./RouteMapConfig/RenderMetroStation" type="checkbutton" row="2" column="1" />
<setting name="Train lines" path="./RouteMapConfig/RenderTrainLine" type="checkbutton" row="3" column="0" />
<setting name="Train stops" path="./RouteMapConfig/RenderTrainStation" type="checkbutton" row="3" column="1" />
<setting name="Monorail lines" path="./RouteMapConfig/RenderMonorailLine" type="checkbutton" row="4" column="0" />
<setting name="Monorail stops" path="./RouteMapConfig/RenderMonorailStation" type="checkbutton" row="4" column="1" />
<setting name="Blimp lines" path="./RouteMapConfig/RenderBlimpLine" type="checkbutton" row="5" column="0" />
<setting name="Blimp stops" path="./RouteMapConfig/RenderBlimpStop" type="checkbutton" row="5" column="1" />
<setting name="Ferry lines" path="./RouteMapConfig/RenderFerryLine" type="checkbutton" row="6" column="0" />
<setting name="Ferry stops" path="./RouteMapConfig/RenderFerryHarbor" type="checkbutton" row="6" column="1" />
</labelframe>
<labelframe name="Misc" row="2">
<setting name="Merge bus and tram stops nearby" path="./RouteMapConfig/MergeBusTramStop" type="checkbutton" row="0" />
<setting name="Merge train and metro stations nearby" path="./RouteMapConfig/MergeTrainMetroStaion" type="checkbutton" row="1" />
<setting name="Auto coloring" path="./RouteMapConfig/AutoColoring" type="checkbutton" row="2" />
<setting name="Widen line if paths share same segment" path="./RouteMapConfig/WidenOnSharedLines" type="checkbutton" row="3" />
<setting name="Detect end loops" path="./RouteMapConfig/DetectEndLoop" type="checkbutton" row="4" />
<setting name="Mark one way routes" path="./RouteMapConfig/MarkOneWayRoutes" type="checkbutton" row="5" />
<setting name="Merged route numberings" path="./RouteMapConfig/UseMergedRouteNumberings" type="checkbutton" row="6" />
</labelframe>
</page>
<page name="Miscallenous">
<labelframe name="Terrain" row="0">
<future/>
<setting name="Use vectorized terrain" path="./UseVectorTerrain" type="checkbutton" row="0" />
<setting name="Display contour lines (only available in vectorized terrain mode)" path="./DisplayContourLines" type="checkbutton" row="1" />
<setting name="Interval of altitude" path="./ContourIntervals" type="menu" row="2" options="None;Low;Default"/>
<setting name="Max parallelism for contour calculation" path="./MaxParallelism" type="integer" row="3" />
</labelframe>
<labelframe name="Other" row="1">
<setting name="Map style" path="./SelectedStyle" type="menu" row="0" options="default;lightgray-water;lightgray"/>
<setting name="Disable bitmap cache" path="./DisableBitmapCache" type="checkbutton" row="1" />
</labelframe>
</page>
</Settings>