This repository has been archived by the owner on Aug 14, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathglobal.yaml
70 lines (58 loc) · 1.61 KB
/
global.yaml
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
global:
language: false
text_font_family: 'Montserrat'
text_stroke_color: 'white'
text_stroke: { color: global.text_stroke_color, width: 2.5px }
text_places_stroke: { color: global.text_stroke_color, width: 2.5px }
text_fill_color: '#124'
text_size: 12px
railway_color: '#99a'
road_color: '#fff'
road_outline_color: '#cc9999'
path_color: global.road_color
path_outline_color: '#e0c9b3'
tunnel_color: '#ccdee0'
square_color: global.road_color
earth_color: '#f3eacc'
water_color: '#68d'
landuse_color: '#c6ddaa'
building_color: rgb(204,214,238)
building_outline_color: rgb(185,195,217)
boundary_color: '#e66'
name_source: |
function() {
// Use preferred language label if available
return (global.language && feature['name:'+global.language]) || feature.name;
}
suggested_min_zoom: |
function() {
return feature.min_zoom <= $zoom
}
sort_rank: function() { return feature.sort_rank; }
scene:
animated: true
background:
color: global.earth_color
camera:
type: perspective
max_tilt: 60
fov: 80
lights:
cameralight:
type: point
diffuse: 0.3
origin: camera
ambient: 0.7
sources:
mapzen:
type: MVT
url: https://tiles.map-data.de/vector/v1/all/{z}/{x}/{y}.mvt
tile_size: 512
fonts:
Montserrat:
- weight: normal
url: fonts/Montserrat-Regular.woff
- weight: 500
url: fonts/Montserrat-Medium.woff
- weight: 700
url: fonts/Montserrat-Bold.woff