-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtest.json
73 lines (73 loc) · 1.38 KB
/
test.json
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
{
"sources": {
"task-thermal-source": {
"type": "geojson",
"data": "https://raw.githubusercontent.com/tceglar/heat/master/data/bigsample.geojson"
}
},
"layers": [
{
"id": "task-heatmap-layer",
"type": "heatmap",
"source": "task-thermal-source",
"maxzoom": 15,
"paint": {
"heatmap-weight": [
"interpolate",
["linear"],
["get", "mag"],
0,
0,
6,
1
],
"heatmap-intensity": ["interpolate", ["linear"], ["zoom"], 0, 1, 15, 1],
"heatmap-color": [
"interpolate",
["linear"],
["heatmap-density"],
0,
"rgba(252,255,164,0)",
0.25,
"rgb(252,166,12)",
0.5,
"rgb(222,82,56)",
0.75,
"rgb(149,38,103)",
1,
"rgb(68,10,104)"
],
"heatmap-radius": [
"interpolate",
["linear"],
["zoom"],
0,
0,
1,
1,
7,
1,
9,
6,
12,
11,
15,
25
],
"heatmap-opacity": [
"interpolate",
["linear"],
["zoom"],
6,
0,
6.1,
0.3,
10,
0.6,
15,
0.5
]
}
}
]
}