Skip to content

Commit

Permalink
Remove {s} tile subdomains
Browse files Browse the repository at this point in the history
  • Loading branch information
simon04 committed Aug 17, 2024
1 parent 88214f7 commit ed918ec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ const allMapLayers: Record<string, L.Layer> = {};
{id: 'bmapgelaende/grau', title: 'basemap.at Gelände', format: 'jpg'},
].forEach(({id, title, format}) => {
const layer = L.tileLayer(
`https://maps{s}.wien.gv.at/basemap/${id}/google3857/{z}/{y}/{x}.${format}`,
`https://maps.wien.gv.at/basemap/${id}/google3857/{z}/{y}/{x}.${format}`,
{
subdomains: '1234',
maxZoom: 19,
Expand Down Expand Up @@ -219,7 +219,7 @@ allMapLayers['OSM'] = L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.pn
});
layers.addBaseLayer(allMapLayers['OSM'], 'OpenStreetMap');

allMapLayers['OpenTopoMap'] = L.tileLayer('https://{s}.tile.opentopomap.org/{z}/{x}/{y}.png', {
allMapLayers['OpenTopoMap'] = L.tileLayer('https://tile.opentopomap.org/{z}/{x}/{y}.png', {
maxZoom: 19,
attribution: [
attributionOsm,
Expand Down Expand Up @@ -256,7 +256,7 @@ layers.addBaseLayer(allMapLayers['OpenTopoMap'], 'OpenTopoMap');
});

allMapLayers['OpenSlopeMap'] = L.tileLayer(
'https://tileserver{s}.openslopemap.org/OSloOVERLAY_LR_All_16/{z}/{x}/{y}.png',
'https://tileserver.openslopemap.org/OSloOVERLAY_LR_All_16/{z}/{x}/{y}.png',
{
opacity: 0.7,
subdomains: '1234',
Expand Down

0 comments on commit ed918ec

Please sign in to comment.