From a0989ff54e061a16dbd93d52a9957431aeed57f2 Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Wed, 22 Jan 2025 09:41:26 +0800 Subject: Update --- snippets/json_maplibre_style | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 snippets/json_maplibre_style (limited to 'snippets/json_maplibre_style') 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 @@ +{ + "version": 8, + "name": "simple", + "id": "simple", + "bearing": 0, + "pitch": 0, + "sources": { + "nlsc": { + "type": "raster", + "maxzoom": 15, + "tiles": [ + "https://wmts.nlsc.gov.tw/wmts/B5000/default/GoogleMapsCompatible/{z}/{y}/{x}" + ] + } + }, + "glyphs": "https://tile.openstreetmap.jp/fonts/{fontstack}/{range}.pbf", + "layers": [ + { + "id": "background", + "type": "background", + "paint": { + "background-color": "#f8f4f0" + } + } + ] +} -- cgit v1.2.3-70-g09d2