Skip to content

Commit 921869a

Browse files
committed
changed base tile layer to our simple gray map
1 parent 3baebeb commit 921869a

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/main.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,13 +81,12 @@ const layerStyle = {
8181

8282
const map = L.map('map').setView([54.79443515, 9.43205485], 13)
8383

84-
L.tileLayer.wms('https://sgx.geodatenzentrum.de/wms_basemapde?SERVICE=WMS&Request=GetCapabilities', {
85-
layers: 'de_basemapde_web_raster_grau',
84+
L.tileLayer('https://tiles.oklabflensburg.de/sgm/{z}/{x}/{y}.png', {
8685
maxZoom: 20,
87-
attribution: '<a href="https://www.bkg.bund.de">© GeoBasis-DE / BKG 2024</a> | <a href="https://creativecommons.org/licenses/by/4.0">CC BY 4.0</a>'
86+
maxNativeZoom: 20,
87+
attribution: '&copy; <a href="https://www.openstreetmap.org/copyright" target="_blank" rel="dc:rights">OpenStreetMap</a> contributors'
8888
}).addTo(map)
8989

90-
9190
let geocoder = L.Control.Geocoder.nominatim()
9291
let previousSelectedMarker = null
9392
let dataObject = null

0 commit comments

Comments
 (0)