Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Maps
Old printed maps of Finland
Commits
d2082cbb
Commit
d2082cbb
authored
Mar 21, 2020
by
Elias Ojala
Browse files
Remove unused code
parent
23110263
Pipeline
#77
passed with stage
in 2 minutes and 38 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
script.js
View file @
d2082cbb
...
...
@@ -2,18 +2,9 @@ var baseLayer = L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png'
attribution
:
'
© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors
'
})
var
wmsLayer
=
L
.
tileLayer
.
wms
(
'
http://vanhatpainetutkartat.maanmittauslaitos.fi/geoserver/wms?
'
,
{
'
layers
'
:
'
karttalehti:lehti20
'
,
// transparency
'
format
'
:
'
image/png
'
,
'
transparent
'
:
true
,
});
var
map
=
L
.
map
(
'
map
'
).
setView
([
62
,
25
],
7
);
baseLayer
.
addTo
(
map
);
//wmsLayer.addTo(map);
// WFS
const
wfstLayerOptions
=
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment