From 894e67863dbb89a4819e825fcdf7117021082b2a Mon Sep 17 00:00:00 2001 From: Ariel Costas Guerrero Date: Tue, 24 Jun 2025 13:29:50 +0200 Subject: Replace leaflet for maplibre, use react-router in framework mode --- src/frontend/public/maps/styles/carto-dark.json | 33 +++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 src/frontend/public/maps/styles/carto-dark.json (limited to 'src/frontend/public/maps/styles/carto-dark.json') 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": "© OpenStreetMap contributors, © CARTO", + "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" +} -- cgit v1.3