-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
30 lines (27 loc) · 1.27 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
<!DOCTYPE html>
<html>
<head>
<title>koppen map</title>
<meta charset="utf-8" />
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.1.0/dist/leaflet.css" integrity="sha512- wcw6ts8Anuw10Mzh9Ytw4pylW8+NAD4ch3lqm9lzAsTxg0GFeJgoAtxuCLREZSC5lUXdVyo/7yfsqFjQ4S+aKw=="
crossorigin="" />
<script src="https://unpkg.com/leaflet@1.1.0/dist/leaflet.js" integrity="sha512-mNqn2Wg7tSToJhvHcqfzLMU6J4mkOImSPTxVZAdo+lcPlk+GhZmYgACEe0x35K7YzW1zJ7XyJV/TT1MrdXvMcA== "
crossorigin=""></script>
<script src="js/KG_far.js"></script>
<script src="js/mapOptions.js"></script>
<script src="js/countries.js"></script>
</head>
<body>
<div id="mapid" style="position: absolute; width: 100%; height: 90%;"></div>
<script src="js/leafletMap.js"></script>
<script>
// check that mymap is loaded first before loading the KG layer using this listener
document.addEventListener('DOMContentLoaded', function () {
// getKGLayer(); // get the koppengeiger layer
// info.addTo(mymap); // add the Info Menu
// legend.addTo(mymap); // add the legend
return 0;
}, false);
</script>
</body>
</html>