diff options
| author | Ariel Costas Guerrero <ariel@costas.dev> | 2025-06-24 13:29:50 +0200 |
|---|---|---|
| committer | Ariel Costas Guerrero <ariel@costas.dev> | 2025-06-24 13:29:50 +0200 |
| commit | 894e67863dbb89a4819e825fcdf7117021082b2a (patch) | |
| tree | fb544ef7fa99ff86489717e793595f503783bb72 /src/frontend/public/maps/styles/carto-dark.json | |
| parent | 7dd9ea97a2f34a35e80c28d59d046f839eb6c60b (diff) | |
Replace leaflet for maplibre, use react-router in framework mode
Diffstat (limited to 'src/frontend/public/maps/styles/carto-dark.json')
| -rw-r--r-- | src/frontend/public/maps/styles/carto-dark.json | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/frontend/public/maps/styles/carto-dark.json b/src/frontend/public/maps/styles/carto-dark.json new file mode 100644 index 0000000..b3af6e7 --- /dev/null +++ b/src/frontend/public/maps/styles/carto-dark.json @@ -0,0 +1,33 @@ +{ + "version": 8, + "name": "Light", + "sources": { + "carto": { + "type": "raster", + "tiles": ["https://d.basemaps.cartocdn.com/dark_all/{z}/{x}/{y}.png"], + "attribution": "© <a href=\"https://www.openstreetmap.org/copyright\">OpenStreetMap</a> contributors, © <a href=\"https://carto.com/attributions\">CARTO</a>", + "tileSize": 256, + "maxzoom": 22, + "minzoom": 0 + } + }, + "layers": [ + { + "id": "background", + "type": "background", + "paint": { + "background-color": "#f0f0f0" + } + }, + { + "id": "raster", + "type": "raster", + "source": "carto", + "minzoom": 0, + "maxzoom": 22 + } + + ], + "sprite": "/maps/spritesheet/sprite", + "glyphs": "/maps/fonts/{fontstack}/{range}.pbf" +} |
