diff --git a/leaflet-osm.js b/leaflet-osm.js index 5189cc5..6a8fcde 100644 --- a/leaflet-osm.js +++ b/leaflet-osm.js @@ -44,6 +44,14 @@ L.OSM.TransportMap = L.OSM.TileLayer.extend({ } }); +L.OSM.TransportDarkMap = L.OSM.TileLayer.extend({ + options: { + url: 'https://{s}.tile.thunderforest.com/transport-dark/{z}/{x}/{y}{r}.png?apikey={apikey}', + maxZoom: 21, + attribution: '© OpenStreetMap contributors. Tiles courtesy of Andy Allan' + } +}); + L.OSM.OPNVKarte = L.OSM.TileLayer.extend({ options: { url: 'https://tileserver.memomaps.de/tilegen/{z}/{x}/{y}.png',