From 62d8bb536d5836854b3f45144bb699b1d040c7f1 Mon Sep 17 00:00:00 2001 From: vadik likholetov Date: Thu, 29 Feb 2024 09:18:04 +0200 Subject: [PATCH] Added Maakuntakaavojen layer --- templates/map.html | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/templates/map.html b/templates/map.html index b051f7e..e69eb79 100644 --- a/templates/map.html +++ b/templates/map.html @@ -76,6 +76,18 @@ attribution: '' }); + var wms_maastotie_Layer = L.tileLayer.wms('https://fsc-map.arbonaut.com/basemap_fsc_map?', { + layers: 'Maastotietokanta_basemap', + format: 'image/png', + version: '1.1.0', + srs: 'EPSG:3067', + units: 'm', + token: '68f6f2fa8160e34e9d66bdef0254898f', + transparent: true, + attribution: 'Map data © DataSourceName' + }); + + var map = L.map('map', { center: [61.49, 23.76], zoom: 13, @@ -96,6 +108,10 @@ { name: "Suomi Topo", layer: fintopo + }, + { + name: "Maastotie baselayer", + layer: wms_maastotie_Layer } ];