aboutsummaryrefslogtreecommitdiffhomepage
path: root/snippets/json_maplibre_style_circle
diff options
context:
space:
mode:
authorHsieh Chin Fan <pham@topo.tw>2025-01-22 09:41:26 +0800
committerHsieh Chin Fan <pham@topo.tw>2025-01-22 09:43:02 +0800
commita0989ff54e061a16dbd93d52a9957431aeed57f2 (patch)
tree102e3f666a5aef27f63a85400653d54fab4e4f62 /snippets/json_maplibre_style_circle
parent9cdda8e853436df6f0c9fc11e38920071e736e49 (diff)
Update
Diffstat (limited to 'snippets/json_maplibre_style_circle')
-rw-r--r--snippets/json_maplibre_style_circle19
1 files changed, 19 insertions, 0 deletions
diff --git a/snippets/json_maplibre_style_circle b/snippets/json_maplibre_style_circle
new file mode 100644
index 0000000..485241c
--- /dev/null
+++ b/snippets/json_maplibre_style_circle
@@ -0,0 +1,19 @@
1 {
2 "id": "points",
3 "type": "circle",
4 "source": "power.points",
5 "paint": {
6 "circle-color": "red",
7 "circle-radius": [
8 "interpolate", ["linear"], ["zoom"],
9 10, 3,
10 18, 10
11 ],
12 "circle-stroke-width": [
13 "interpolate", ["linear"], ["zoom"],
14 8, 1,
15 13, 3
16 ],
17 "circle-stroke-color": "white"
18 }
19 }