From ebe123a6d40bf17ab2a35f331fb08c8c0fc76a3a Mon Sep 17 00:00:00 2001
From: Dennis Fink
Date: Tue, 3 Nov 2026 23:18:23 +0100
Subject: Update vendored Leaflet Elevation and map dependencies
---
.../vendor/leaflet-providers/leaflet-providers.js | 42 +++++++++++++++-------
1 file changed, 29 insertions(+), 13 deletions(-)
(limited to 'assets/static/vendor/leaflet-providers/leaflet-providers.js')
diff --git a/assets/static/vendor/leaflet-providers/leaflet-providers.js b/assets/static/vendor/leaflet-providers/leaflet-providers.js
index a134d58..fad36b3 100644
--- a/assets/static/vendor/leaflet-providers/leaflet-providers.js
+++ b/assets/static/vendor/leaflet-providers/leaflet-providers.js
@@ -186,13 +186,6 @@
attribution: 'Map data: {attribution.OpenStreetMap} | Map style: © OpenRailwayMap (CC-BY-SA)'
}
},
- OpenFireMap: {
- url: 'http://openfiremap.org/hytiles/{z}/{x}/{y}.png',
- options: {
- maxZoom: 19,
- attribution: 'Map data: {attribution.OpenStreetMap} | Map style: © OpenFireMap (CC-BY-SA)'
- }
- },
SafeCast: {
url: 'https://s3.amazonaws.com/te512.safecast.org/{z}/{x}/{y}.png',
options: {
@@ -278,6 +271,26 @@
variant: 'stamen_toner_lite'
}
},
+ StamenTonerDark: {
+ options: {
+ attribution:
+ '© Stadia Maps ' +
+ '© Stamen Design ' +
+ '© OpenMapTiles ' +
+ '{attribution.OpenStreetMap}',
+ variant: 'stamen_toner_dark'
+ }
+ },
+ StamenTonerBlacklite: {
+ options: {
+ attribution:
+ '© Stadia Maps ' +
+ '© Stamen Design ' +
+ '© OpenMapTiles ' +
+ '{attribution.OpenStreetMap}',
+ variant: 'stamen_toner_blacklite'
+ }
+ },
StamenWatercolor: {
url: 'https://tiles.stadiamaps.com/tiles/{variant}/{z}/{x}/{y}.{ext}',
options: {
@@ -343,7 +356,7 @@
}
},
Thunderforest: {
- url: 'https://{s}.tile.thunderforest.com/{variant}/{z}/{x}/{y}{r}.png?apikey={apikey}',
+ url: 'https://api.thunderforest.com/{variant}/{z}/{x}/{y}{r}.png?apikey={apikey}',
options: {
attribution:
'© Thunderforest, {attribution.OpenStreetMap}',
@@ -372,7 +385,8 @@
Outdoors: 'outdoors',
Pioneer: 'pioneer',
MobileAtlas: 'mobile-atlas',
- Neighbourhood: 'neighbourhood'
+ Neighbourhood: 'neighbourhood',
+ Atlas: 'atlas'
}
},
BaseMapDE: {
@@ -616,7 +630,7 @@
url:
'https://maps.hereapi.com/v3/base/mc/' + // new base url for HERE maptile v3 api
'{z}/{x}/{y}/{format}?style={variant}&size={size}' + // slightly modified parameters
- '&apiKey={app_id}&lg={language}', // replacing app-id with apikey
+ '&apiKey={apiKey}&lg={language}', // replacing app-id with apikey
options: {
attribution:
'Map © 1987-' + new Date().getFullYear() + ' HERE',
@@ -726,12 +740,13 @@
}
},
CartoDB: {
- url: 'https://{s}.basemaps.cartocdn.com/{variant}/{z}/{x}/{y}{r}.png',
+ url: 'https://{s}.basemaps.cartocdn.com/{variant}/{z}/{x}/{y}{r}.png?key={apikey}',
options: {
attribution: '{attribution.OpenStreetMap} © CARTO',
subdomains: 'abcd',
maxZoom: 20,
- variant: 'light_all'
+ variant: 'light_all',
+ apikey: '',
},
variants: {
Positron: 'light_all',
@@ -914,9 +929,10 @@
},
JusticeMap: {
// Justice Map (http://www.justicemap.org/)
+ // Raster map tiles migrated to (https://maptile3.org/) in 2023
// Visualize race and income data for your community, county and country.
// Includes tools for data journalists, bloggers and community activists.
- url: 'https://www.justicemap.org/tile/{size}/{variant}/{z}/{x}/{y}.png',
+ url: 'https://maptile3.org/2020/{size}/{variant}/{z}/{x}/{y}.png',
options: {
attribution: 'Justice Map',
// one of 'county', 'tract', 'block'
--
cgit v1.3.1