aboutsummaryrefslogtreecommitdiffhomepage
path: root/snippets/json_maplibre_style
diff options
context:
space:
mode:
Diffstat (limited to 'snippets/json_maplibre_style')
-rw-r--r--snippets/json_maplibre_style26
1 files changed, 26 insertions, 0 deletions
diff --git a/snippets/json_maplibre_style b/snippets/json_maplibre_style
new file mode 100644
index 0000000..bc88d10
--- /dev/null
+++ b/snippets/json_maplibre_style
@@ -0,0 +1,26 @@
1{
2 "version": 8,
3 "name": "simple",
4 "id": "simple",
5 "bearing": 0,
6 "pitch": 0,
7 "sources": {
8 "nlsc": {
9 "type": "raster",
10 "maxzoom": 15,
11 "tiles": [
12 "https://wmts.nlsc.gov.tw/wmts/B5000/default/GoogleMapsCompatible/{z}/{y}/{x}"
13 ]
14 }
15 },
16 "glyphs": "https://tile.openstreetmap.jp/fonts/{fontstack}/{range}.pbf",
17 "layers": [
18 {
19 "id": "background",
20 "type": "background",
21 "paint": {
22 "background-color": "#f8f4f0"
23 }
24 }
25 ]
26}