-
Notifications
You must be signed in to change notification settings - Fork 2
/
style.json
120 lines (120 loc) · 2.34 KB
/
style.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
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
{
"version": 8,
"sources": {
"osm": {
"type": "raster",
"tiles": [
"https://tile.openstreetmap.org/{z}/{x}/{y}.png"
],
"tileSize": 256
},
"dir": {
"type": "vector",
"tiles": [
"file://localdata/tiles/{z}/{x}/{y}.pbf"
],
"maxzoom": 6
},
"mbtiles": {
"type": "vector",
"tiles": [
"mbtiles://localdata/school.mbtiles/{z}/{x}/{y}"
],
"maxzoom": 10
},
"pmtiles": {
"type": "vector",
"tiles": [
"pmtiles://localdata/school.pmtiles/{z}/{x}/{y}"
],
"maxzoom": 10
},
"s3": {
"type": "vector",
"tiles": [
"s3://tiles/{z}/{x}/{y}.pbf"
],
"maxzoom": 6
},
"pmtiles-s3": {
"type": "vector",
"tiles": [
"pmtiles://s3://tiles/school.pmtiles/{z}/{x}/{y}"
],
"maxzoom": 10
},
"cog": {
"type": "raster",
"tiles": [
"cog://https://sentinel-cogs.s3.us-west-2.amazonaws.com/sentinel-s2-l2a-cogs/54/T/WN/2024/9/S2A_54TWN_20240908_0_L2A/TCI.tif/{z}/{x}/{y}"
],
"tileSize": 256
}
},
"layers": [
{
"id": "osm",
"source": "osm",
"type": "raster",
"paint": {}
},
{
"id": "dir",
"source": "dir",
"source-layer": "P2921",
"type": "circle",
"paint": {
"circle-radius": 20,
"circle-color": "red"
}
},
{
"id": "mbtiles",
"source": "mbtiles",
"source-layer": "P2921",
"type": "circle",
"paint": {
"circle-radius": 15,
"circle-color": "blue"
}
},
{
"id": "pmtiles",
"source": "pmtiles",
"source-layer": "P2921",
"type": "circle",
"paint": {
"circle-radius": 10,
"circle-color": "yellow"
}
},
{
"id": "s3",
"source": "s3",
"source-layer": "P2921",
"type": "circle",
"paint": {
"circle-radius": 5,
"circle-color": "green"
}
},
{
"id": "pmtiles-s3",
"source": "pmtiles-s3",
"source-layer": "P2921",
"type": "circle",
"paint": {
"circle-radius": 3,
"circle-color": "purple"
}
},
{
"id": "cog",
"source": "cog",
"type": "raster",
"paint": {
"raster-opacity": 0.8
}
}
]
}