diff options
Diffstat (limited to 'snippets/json_maplibre_style_circle')
| -rw-r--r-- | snippets/json_maplibre_style_circle | 19 |
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 | } | ||