/
esri.yaml
101 lines (94 loc) · 2.68 KB
/
esri.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
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
global:
esri_name: |
function() {
{ return feature._name; }
}
sources:
esri:
type: MVT
url: https://basemaps.arcgis.com/arcgis/rest/services/OpenStreetMap_v2/VectorTileServer/tile/{z}/{y}/{x}.pbf
scene:
background:
color: '#cfd3d4'
layers:
land small scale:
data: { source: esri, layer: 'land (small scale)' }
draw:
polygons:
order: 0
color: '#f4f4f4'
water:
data: { source: esri, layer: 'water area' }
filter:
_symbol: 6
draw:
polygons:
order: 1
color: '#cfd3d4'
country boundary:
data: { source: esri, layer: 'country boundary' }
draw:
lines:
order: 10
color: '#cccccc'
width: [[0,0.2px],[3,1px]]
state boundary:
data: { source: esri, layer: 'administrative boundary' }
filter:
_symbol: 2
draw:
lines:
order: 10
color: '#dfe0dd'
width: [[0,0.2px],[3,1px]]
places:
data: { source: esri, layer: 'place (high importance)' }
filter:
all:
- $zoom: { min: 4 }
draw:
points:
order: 12
size: 5px
color: '#cfd3d4'
outline:
color: '#353635'
width: 0.5px
text:
priority: 11
anchor: right
offset: [2px, 0]
text_source: global.esri_name
font:
size: [[7,10],[10,12]]
fill: '#b4b4b4'
stroke:
color: '#f7f7f7'
width: 2
country label:
data: { source: esri, layer: 'country/label' }
draw:
text:
priority: 10
anchor: center
text_source: global.esri_name
font:
size: [[2,12],[5,14]]
transform: uppercase
fill: '#aaafac'
stroke:
color: '#f7f7f7'
width: 2
capital label:
data: { source: esri, layer: 'capital' }
draw:
text:
priority: 10
anchor: center
text_source: global.esri_name
font:
size: [[3,10],[5,12]]
fill: '#aaafac'
stroke:
color: '#f7f7f7'
width: 2