-
Notifications
You must be signed in to change notification settings - Fork 3
/
base.yaml
65 lines (65 loc) · 1.68 KB
/
base.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
import: albers.yaml
cameras:
perspective:
type: perspective
vanishing_point: [0, -500]
lights:
directional1:
type: directional
direction: [.1, .5, -1]
diffuse: .7
ambient: .5
scene:
background:
color: '#3c3c3c'
styles:
data-polys:
base: polygons
mix: albers
data-lines:
base: lines
mix: albers
sources:
mapzen:
type: TopoJSON
url: https://meetar.github.io/mapzen-tiles/vector/v1/256/all/{z}/{x}/{y}.topojson
layers:
boundaries:
data: { source: mapzen }
draw:
data-lines:
order: function() { return feature.sort_rank || 0; }
color: white
width: 2px
water:
data: { source: mapzen }
draw:
data-polys:
order: function() { return feature.sort_rank || 0; }
color: '#353535'
earth:
data: { source: mapzen }
draw:
data-polys:
order: function() { return feature.sort_rank || 0; }
color: '#555'
landuse:
data: { source: mapzen }
draw:
data-polys:
order: function() { return feature.sort_rank || 0; }
color: '#666'
roads:
data: { source: mapzen }
draw:
data-lines:
order: function() { return feature.sort_rank || 0; }
color: '#777'
width: 5
buildings:
data: { source: mapzen }
draw:
data-polys:
order: function() { return feature.sort_rank || 0; }
color: '#999'
extrude: true