Skip to content

Commit 165af98

Browse files
JeroenDeDauwclaude
andcommitted
Remove defunct built-in Leaflet layers
Several built-in leaflet-providers layers point at tile services that have shut down, so they only clutter the layer selector with entries that fail to load. This removes them from $egMapsLeafletAvailableLayers and $egMapsLeafletAvailableOverlayLayers: - Stamen (service shut down October 2023; gone from leaflet-providers) - Hydda (discontinued 2020; gone from leaflet-providers) - MapQuest Open (shut down 2016; gone from leaflet-providers) - OpenMapSurfer (gone from leaflet-providers) - HikeBike and OpenStreetMap.BlackAndWhite (hosted on the decommissioned tiles.wmflabs.org) - GeoportailFrance (the wxs.ign.fr endpoint has been retired) - Esri.DeLorme (base map retired by Esri) The matching $egMapsLeafletLayersApiKeys and $egMapsLeafletLayerDependencies entries for MapQuest Open and GeoportailFrance are dropped too. Users who relied on any of these can define a replacement with the $egMapsLeafletLayerDefinitions setting added in 13.1.0. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent ef85518 commit 165af98

2 files changed

Lines changed: 7 additions & 31 deletions

File tree

DefaultSettings.php

Lines changed: 1 addition & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,6 @@
168168
'egMapsLeafletAvailableLayers' => [
169169
'OpenStreetMap' => true,
170170
'OpenStreetMap.DE' => true,
171-
'OpenStreetMap.BlackAndWhite' => true,
172171
'OpenStreetMap.HOT' => true,
173172
'OpenTopoMap' => true,
174173
'Thunderforest.OpenCycleMap' => true,
@@ -178,24 +177,8 @@
178177
'Thunderforest.Landscape' => true,
179178
'Thunderforest.Outdoors' => true,
180179
'Thunderforest.Pioneer' => true,
181-
'OpenMapSurfer.Roads' => true,
182-
'OpenMapSurfer.Grayscale' => true,
183-
'Hydda.Full' => true,
184-
'Hydda.Base' => true,
185180
//'MapBox' => false, // todo: implement setting api key
186-
'Stamen.Toner' => true,
187-
'Stamen.TonerBackground' => true,
188-
'Stamen.TonerHybrid' => true,
189-
'Stamen.TonerLines' => true,
190-
'Stamen.TonerLabels' => true,
191-
'Stamen.TonerLite' => true,
192-
'Stamen.Watercolor' => true,
193-
'Stamen.Terrain' => true,
194-
'Stamen.TerrainBackground' => true,
195-
'Stamen.TopOSMRelief' => true,
196-
'Stamen.TopOSMFeatures' => true,
197181
'Esri.WorldStreetMap' => true,
198-
'Esri.DeLorme' => true,
199182
'Esri.WorldTopoMap' => true,
200183
'Esri.WorldImagery' => true,
201184
'Esri.WorldTerrain' => true,
@@ -204,7 +187,6 @@
204187
'Esri.OceanBasemap' => true,
205188
'Esri.NatGeoWorldMap' => true,
206189
'Esri.WorldGrayCanvas' => true,
207-
'MapQuestOpen' => true,
208190
//'HERE' => false, // todo: implement setting api key
209191
'FreeMapSK' => true,
210192
'MtbMap' => true,
@@ -214,8 +196,6 @@
214196
'CartoDB.DarkMatter' => true,
215197
'CartoDB.DarkMatterNoLabels' => true,
216198
'CartoDB.DarkMatterOnlyLabels' => true,
217-
'HikeBike.HikeBike' => true,
218-
'HikeBike.HillShading' => true,
219199
'BasemapAT.basemap' => true,
220200
'BasemapAT.grau' => true,
221201
'BasemapAT.overlay' => true,
@@ -225,14 +205,9 @@
225205
'NASAGIBS.ModisTerraBands367CR' => true,
226206
'NASAGIBS.ViirsEarthAtNight2012' => true,
227207
'NLS' => true,
228-
'GeoportailFrance' => true,
229-
'GeoportailFrance.parcels' => true,
230-
'GeoportailFrance.ignMaps' => true,
231-
'GeoportailFrance.orthos' => true
232208
],
233209

234210
'egMapsLeafletAvailableOverlayLayers' => [
235-
'OpenMapSurfer.AdminBounds' => true,
236211
'OpenSeaMap' => true,
237212
'OpenWeatherMap.Clouds' => true,
238213
'OpenWeatherMap.CloudsClassic' => true,
@@ -245,7 +220,6 @@
245220
'OpenWeatherMap.Wind' => true,
246221
'OpenWeatherMap.Temperature' => true,
247222
'OpenWeatherMap.Snow' => true,
248-
'Hydda.RoadsAndLabels' => true,
249223
'NASAGIBS.ModisTerraLSTDay' => true,
250224
'NASAGIBS.ModisTerraSnowCover' => true,
251225
'NASAGIBS.ModisTerraAOD' => true,
@@ -291,14 +265,10 @@
291265

292266
'egMapsLeafletLayersApiKeys' => [
293267
'MapBox' => '',
294-
'MapQuestOpen' => '',
295268
'Thunderforest' => '',
296-
'GeoportailFrance' => ''
297269
],
298270

299-
'egMapsLeafletLayerDependencies' => [
300-
'MapQuestOpen' => 'https://open.mapquestapi.com/sdk/leaflet/v2.2/mq-map.js?key=',
301-
],
271+
'egMapsLeafletLayerDependencies' => [],
302272

303273

304274

RELEASE-NOTES.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@ different releases and which versions of PHP and MediaWiki they support, see the
33
[platform compatibility tables](INSTALL.md#platform-compatibility-and-release-status).
44

55

6+
## Maps 13.2.0
7+
8+
Released on TBD.
9+
10+
* Removed built-in Leaflet layers whose upstream tile services have shut down: Stamen, Hydda, MapQuest Open, OpenMapSurfer, HikeBike, GeoportailFrance, Esri.DeLorme, and OpenStreetMap.BlackAndWhite. If you still use one of these, define a replacement with the `$egMapsLeafletLayerDefinitions` setting.
11+
612
## Maps 13.1.0
713

814
Released on July 19th, 2026.

0 commit comments

Comments
 (0)