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 } ];