-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathboundaries.oss
206 lines (176 loc) · 6.91 KB
/
boundaries.oss
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
OSS
FLAG
daylight = true;
CONST
IF daylight {
COLOR waterColor = #9acffd;
COLOR landColor = #f1eee9;
COLOR unknownColor = #f1eee9;
COLOR highlightedColor = #ff000088;
COLOR adminAreaColor = #dddddd;
COLOR adminAreaBorderColor = #aaaaaa;
}
ELSE {
COLOR waterColor = darken(#9acffd, 0.5);
COLOR landColor = #333333;
COLOR unknownColor = #333333;
COLOR highlightedColor = #ff000088;
COLOR adminAreaColor = #404040;
COLOR adminAreaBorderColor = #707070;
}
// Default label color
IF daylight {
COLOR labelColor = #000000;
COLOR emphasizeColor = #ffffff;
}
ELSE {
COLOR labelColor = #fff0f0;
COLOR emphasizeColor = #707070;
}
COLOR waypointRedColor = #b32020;
COLOR waypointGreenColor = #00b200;
COLOR waypointBlueColor = #203bb3;
COLOR waypointYellowColor = #dfed00;
// Label priorities
UINT labelPrioWaypoint = 0;
SYMBOL place_city
CIRCLE 0,0 2.5 {
AREA {color: #ff0000aa; }
}
SYMBOL place_town
CIRCLE 0,0 1.5 {
AREA {color: #ff000055; }
}
SYMBOL marker
CIRCLE 0,0 1.5 {
AREA {color: @waypointRedColor; }
}
SYMBOL green_circle
CIRCLE 0,0 1.5 {
AREA {color: @waypointGreenColor; }
}
SYMBOL blue_circle
CIRCLE 0,0 1.5 {
AREA {color: @waypointBlueColor; }
}
SYMBOL yellow_circle
CIRCLE 0,0 1.5 {
AREA {color: @waypointYellowColor; }
}
SYMBOL red_square
RECTANGLE -1.5,-1.5 3 x 3 {
AREA {color: @waypointRedColor; }
}
SYMBOL green_square
RECTANGLE -1.5,-1.5 3 x 3 {
AREA {color: @waypointGreenColor; }
}
SYMBOL blue_square
RECTANGLE -1.5,-1.5 3 x 3 {
AREA {color: @waypointBlueColor; }
}
SYMBOL yellow_square
RECTANGLE -1.5,-1.5 3 x 3 {
AREA {color: @waypointYellowColor; }
}
SYMBOL red_triangle
POLYGON -1.5,0 1.5,0 0.0,-2.4 {
AREA { color: @waypointRedColor; }
}
SYMBOL green_triangle
POLYGON -1.5,0 1.5,0 0.0,-2.4 {
AREA { color: @waypointGreenColor; }
}
SYMBOL blue_triangle
POLYGON -1.5,0 1.5,0 0.0,-2.4 {
AREA { color: @waypointBlueColor; }
}
SYMBOL yellow_triangle
POLYGON -1.5,0 1.5,0 0.0,-2.4 {
AREA { color: @waypointYellowColor; }
}
STYLE
[TYPE _tile_sea] AREA {color: @waterColor;}
//[TYPE _tile_coast] AREA {color: @waterColor;}
[TYPE _tile_land] AREA {color: @landColor;}
[TYPE _tile_unknown] AREA {color: @unknownColor;}
[TYPE _tile_coastline] WAY {color: #ff0000; displayWidth: 0.2mm;}
[MAG continent-] {
[TYPE boundary_country] WAY {color: #800080; displayWidth: 0.4mm; dash: 3,7;}
[TYPE boundary_country] AREA.BORDER {color: #800080; width: 0.4mm; dash: 3,7;}
}
[MAG world-] {
[TYPE _highlighted] WAY {color: @highlightedColor; displayWidth: 1.5mm; priority: 100; }
[TYPE _highlighted] AREA.BORDER {color: @highlightedColor; width: 1.0mm; }
[TYPE _highlighted] NODE.ICON { symbol: marker; priority: @labelPrioWaypoint; }
[TYPE _waypoint, _waypoint_red_circle] {
NODE.ICON { symbol: marker; priority: @labelPrioWaypoint; }
NODE.TEXT { label: Name.name; color: @waypointRedColor; size: 1.0; priority: @labelPrioWaypoint; }
}
[TYPE _waypoint_green_circle] {
NODE.ICON { symbol: green_circle; priority: @labelPrioWaypoint; }
NODE.TEXT { label: Name.name; color: @waypointGreenColor; size: 1.0; priority: @labelPrioWaypoint; }
}
[TYPE _waypoint_blue_circle] {
NODE.ICON { symbol: blue_circle; priority: @labelPrioWaypoint; }
NODE.TEXT { label: Name.name; color: @waypointBlueColor; size: 1.0; priority: @labelPrioWaypoint; }
}
[TYPE _waypoint_yellow_circle] {
NODE.ICON { symbol: yellow_circle; priority: @labelPrioWaypoint; }
NODE.TEXT { label: Name.name; color: @waypointYellowColor; size: 1.0; priority: @labelPrioWaypoint; }
}
[TYPE _waypoint_red_square] {
NODE.ICON { symbol: red_square; priority: @labelPrioWaypoint; }
NODE.TEXT { label: Name.name; color: @waypointRedColor; size: 1.0; priority: @labelPrioWaypoint; }
}
[TYPE _waypoint_green_square] {
NODE.ICON { symbol: green_square; priority: @labelPrioWaypoint; }
NODE.TEXT { label: Name.name; color: @waypointGreenColor; size: 1.0; priority: @labelPrioWaypoint; }
}
[TYPE _waypoint_blue_square] {
NODE.ICON { symbol: blue_square; priority: @labelPrioWaypoint; }
NODE.TEXT { label: Name.name; color: @waypointBlueColor; size: 1.0; priority: @labelPrioWaypoint; }
}
[TYPE _waypoint_yellow_square] {
NODE.ICON { symbol: yellow_square; priority: @labelPrioWaypoint; }
NODE.TEXT { label: Name.name; color: @waypointYellowColor; size: 1.0; priority: @labelPrioWaypoint; }
}
[TYPE _waypoint_red_triangle] {
NODE.ICON { symbol: red_triangle; priority: @labelPrioWaypoint; }
NODE.TEXT { label: Name.name; color: @waypointRedColor; size: 1.0; priority: @labelPrioWaypoint; }
}
[TYPE _waypoint_green_triangle] {
NODE.ICON { symbol: green_triangle; priority: @labelPrioWaypoint; }
NODE.TEXT { label: Name.name; color: @waypointGreenColor; size: 1.0; priority: @labelPrioWaypoint; }
}
[TYPE _waypoint_blue_triangle] {
NODE.ICON { symbol: blue_triangle; priority: @labelPrioWaypoint; }
NODE.TEXT { label: Name.name; color: @waypointBlueColor; size: 1.0; priority: @labelPrioWaypoint; }
}
[TYPE _waypoint_yellow_triangle] {
NODE.ICON { symbol: yellow_triangle; priority: @labelPrioWaypoint; }
NODE.TEXT { label: Name.name; color: @waypointYellowColor; size: 1.0; priority: @labelPrioWaypoint; }
}
}
[TYPE boundary_administrative] {
AREA {color: @adminAreaColor; }
AREA.BORDER {color: @adminAreaBorderColor; width: 0.5mm;}
AREA.TEXT { label: Name.name; style: emphasize; emphasizeColor: @emphasizeColor; color: @labelColor; size: 1.5; priority: 6; }
}
[TYPE place_millioncity MAG stateOver-] {
NODE.ICON {symbol: place_city; }
NODE.TEXT {label: Name.name; style: emphasize; emphasizeColor: @emphasizeColor; color: @labelColor; size: 1.3; priority: 2;}
}
[TYPE place_bigcity MAG stateOver-] {
NODE.ICON {symbol: place_city; }
NODE.TEXT {label: Name.name; style: emphasize; emphasizeColor: @emphasizeColor; color: @labelColor; size: 1.2; priority: 3;}
}
[TYPE place_city MAG stateOver-] {
NODE.ICON {symbol: place_city; }
NODE.TEXT {label: Name.name; style: emphasize; emphasizeColor: @emphasizeColor; color: @labelColor; size: 1.1; priority: 4;}
}
[TYPE place_town MAG county-] {
NODE.TEXT {label: Name.name; style: normal; color: @labelColor; priority: 5;}
NODE.ICON {symbol: place_town;}
}
END