diff options
author | Hsieh Chin Fan <pham@topo.tw> | 2025-01-22 09:41:26 +0800 |
---|---|---|
committer | Hsieh Chin Fan <pham@topo.tw> | 2025-01-22 09:43:02 +0800 |
commit | a0989ff54e061a16dbd93d52a9957431aeed57f2 (patch) | |
tree | 102e3f666a5aef27f63a85400653d54fab4e4f62 /snippets/json_maplibre_style | |
parent | 9cdda8e853436df6f0c9fc11e38920071e736e49 (diff) |
Update
Diffstat (limited to 'snippets/json_maplibre_style')
-rw-r--r-- | snippets/json_maplibre_style | 26 |
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 | } | ||