Skip to content

Commit

Permalink
TopPlusOpen and BaseMapDe added (#541)
Browse files Browse the repository at this point in the history
  • Loading branch information
stell authored Dec 5, 2023
1 parent 538fddc commit 63157aa
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion leaflet-providers.js
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,17 @@
Neighbourhood: 'neighbourhood'
}
},
BaseMapDE: {
url: 'https://sgx.geodatenzentrum.de/wmts_basemapde/tile/1.0.0/{variant}/default/GLOBAL_WEBMERCATOR/{z}/{y}/{x}.png',
options: {
attribution: 'Map data: &copy; <a href="http://www.govdata.de/dl-de/by-2-0">dl-de/by-2-0</a>',
variant: 'de_basemapde_web_raster_farbe',
},
variants: {
Color: 'de_basemapde_web_raster_farbe',
Grey: 'de_basemapde_web_raster_grau'
}
},
CyclOSM: {
url: 'https://{s}.tile-cyclosm.openstreetmap.fr/cyclosm/{z}/{x}/{y}.png',
options: {
Expand Down Expand Up @@ -1170,7 +1181,19 @@
}
}
}
}
},
TopPlusOpen: {
url: 'http://sgx.geodatenzentrum.de/wmts_topplus_open/tile/1.0.0/{variant}/default/WEBMERCATOR/{z}/{y}/{x}.png',
options: {
maxZoom: 18,
attribution: 'Map data: &copy; <a href="http://www.govdata.de/dl-de/by-2-0">dl-de/by-2-0</a>',
variant: 'web',
},
variants: {
Color: 'web',
Grey: 'web_grau'
}
}
};

L.tileLayer.provider = function (provider, options) {
Expand Down

0 comments on commit 63157aa

Please sign in to comment.