Skip to content

Commit

Permalink
changed base tile layer to our simple gray map
Browse files Browse the repository at this point in the history
  • Loading branch information
p3t3r67x0 committed Dec 10, 2024
1 parent 3baebeb commit 921869a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,12 @@ const layerStyle = {

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

L.tileLayer.wms('https://sgx.geodatenzentrum.de/wms_basemapde?SERVICE=WMS&Request=GetCapabilities', {
layers: 'de_basemapde_web_raster_grau',
L.tileLayer('https://tiles.oklabflensburg.de/sgm/{z}/{x}/{y}.png', {
maxZoom: 20,
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>'
maxNativeZoom: 20,
attribution: '&copy; <a href="https://www.openstreetmap.org/copyright" target="_blank" rel="dc:rights">OpenStreetMap</a> contributors'
}).addTo(map)


let geocoder = L.Control.Geocoder.nominatim()
let previousSelectedMarker = null
let dataObject = null
Expand Down

0 comments on commit 921869a

Please sign in to comment.