-
Notifications
You must be signed in to change notification settings - Fork 1
/
gmd.html
43 lines (27 loc) · 1.06 KB
/
gmd.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<!DOCTYPE html>
<html>
<head>
<script src="assets/js/permalink.js"></script>
<script>
var init = function() {
var langs = ['de', 'fr', 'it'];
var permalink = addPermalink();
var lang = (langs.indexOf(permalink.lang) != -1) ? permalink.lang : langs[0];
var xcoord = permalink.X;
var ycoord = permalink.Y;
var zoom = permalink.zoom;
document.getElementById("map").src =
'//map.geo.admin.ch/?E=' + xcoord +
'&N=' + ycoord +
'&zoom=' + zoom +
'&lang=' + lang +
'&topic=energie&bgLayer=ch.swisstopo.pixelkarte-grau&mobile=true&layers=ch.swisstopo.swissimage-product,ch.swisstopo.amtliches-strassenverzeichnis,ch.bfe.solarenergie-eignung-daecher&catalogNodes=2419,2420,2427,2480,2429,2431,2434,2436,2767,2441,3206&layers_timestamp=current,,&layers_opacity=0.75,0.85,0.7';
}
</script>
</head>
<frameset rows="*" onload="init();">
<frame src="" name="map" id="map" scrolling="no" frameborder="0" marginwidth="0" marginheight="0">
</frameset>
<body>
</body>
</html>