-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathindex.html
106 lines (106 loc) · 4.96 KB
/
index.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
<!DOCTYPE html>
<html lang="de-CH">
<head>
<meta charset="UTF-8">
<title>OpenStreetMap Schweiz</title>
<link href="styles.css" type="text/css" rel="stylesheet" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="apple-touch-icon" sizes="180x180" href="favicons/apple-touch-icon.png">
<!--Generated from https://realfavicongenerator.net/-->
<link rel="icon" type="image/png" sizes="32x32" href="favicons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="192x192" href="favicons/android-chrome-192x192.png">
<link rel="icon" type="image/png" sizes="16x16" href="favicons/favicon-16x16.png">
<link rel="manifest" href="favicons/site.webmanifest">
<link rel="mask-icon" href="favicons/safari-pinned-tab.svg" color="#000000">
<link rel="shortcut icon" href="/favicon.ico">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="msapplication-config" content="favicons/browserconfig.xml">
<meta name="theme-color" content="#ffffff">
<!-- Twitter Card data -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@SwissOSM">
<meta name="twitter:title" content="OpenStreetMap Switzerland">
<meta name="twitter:description" content="OpenStreetMap Switzerland">
<meta name="twitter:creator" content="@SwissOSM">
<!-- Twitter Summary card images must be at least 120x120px -->
<meta name="twitter:image" content="img/OSM_ch_Card.png">
<!-- Open Graph data -->
<meta property="og:title" content="OpenStreetMap Switzerland" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://osm.ch" />
<meta property="og:image" content="img/OSM_ch_Card.png" />
<meta property="og:image:secure" content="img/OSM_ch_Card.png" />
<meta property="og:description" content="OpenStreetMap Switzerland" />
<meta property="og:site_name" content="OSM.ch" />
<!--Leaflet-->
<link href="contrib/leaflet-0.7.2.css" rel="stylesheet" type="text/css">
<link href="contrib/l.geosearch.css" rel="stylesheet" type="text/css">
<script src="contrib/jquery-1.9.1.min.js"></script>
<script src="contrib/leaflet-0.7.2.js"></script>
<script src="contrib/leaflet-hash.js"></script>
<script src="contrib/l.control.geosearch.js"></script>
<script src="contrib/l.geosearch.provider.openstreetmap.js"></script>
<script src="js/site.js"></script>
<script>
window.onload = function(){
if(window.location.toString().indexOf('#') != -1){
openMap()
}
}
function openMap(){
document.getElementById('menu').style.display = 'none'
if (maphash){
maphash.startListening();
}else{
maphash = new L.Hash(map);
}
map.invalidateSize();
document.getElementById('tx-live-lang-container').style.display = 'none'
}
function closeMap(){
document.getElementById('menu').style.display = 'block';
history.pushState("", document.title, window.location.pathname)
maphash.stopListening();
map.invalidateSize();
document.getElementById('tx-live-lang-container').style.display = ''
}
</script>
<script type="text/javascript">
window.liveSettings = {
api_key: "09532b8c99274efca5c33b069c22122c",
detectlang: true,
dynamic: true,
autocollect: true,
picker: "top-right",
staging: false
};
</script>
<script type="text/javascript" src="//cdn.transifex.com/live.js"></script>
</head>
<body>
<div onclick="closeMap()" id="mapClose">Menü anzeigen</div>
<div id="map"></div>
<div id="menu" class="site mainSite">
<div class="mainHeader">
<div>
<div>
<div class="title">OpenStreetMap Switzerland</div>
</div>
<img src="mainLogo.png" height="100%" />
</div>
</div>
<div class="main">
<div class="grid">
<a class="ie-osm" href="osm.html"><h1>Was ist OSM?</h1></a>
<a class="ie-useOSM" href="nutze-osm.html"><h1>Nutze OSM</h1></a>
<a class="ie-help" href="hilfe.html"><h1>Hilfe/Kontakt</h1></a>
<div onclick="openMap()" id="mapOverlay"> </div>
<a class="ie-improve" href="verbessern.html"><h1>Hilf mit</h1></a>
<a class="ie-projects" href="projekte.html"><h1>Weitere OSM Projekte</h1></a>
<a class="ie-developer" href="entwickler.html"><h1>Für Entwickler</h1></a>
</div>
</div>
<div class="footer"><a href="contact.html">Operated by SOSM, Contact/Imprint</a> <a href="https://sosm.ch/about/terms-of-service/">Nutzungsbedingungen und Datenschutz.</a> Hosting sponsored by <a href="https://adfinis.com">Adfinis</a> and <a href="https://nine.ch/">nine</a></div>
</div>
</body>
</html>