-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
32 lines (27 loc) · 1002 Bytes
/
index.html
File metadata and controls
32 lines (27 loc) · 1002 Bytes
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
<html>
<head>
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.7.1/dist/leaflet.css"
integrity="sha512-xodZBNTC5n17Xt2atTPuE1HxjVMSvLVW9ocqUKLsCC5CXdbqCmblAshOMAS6/keqq/sMZMZ19scR4PsZChSR7A=="
crossorigin="" />
<style>
#mapid {
height: 800px;
width: 100%;
}
</style>
</head>
<body>
<div id="mapid"></div>
<script src="https://unpkg.com/leaflet@1.7.1/dist/leaflet.js"
integrity="sha512-XQoYMqMTK8LvdxXYG3nZ448hOEQiglfqkJs1NOQV44cWnUrBc8PkAOcXy20w0vlaXaVUearIOBhiXZ5V3ynxwA=="
crossorigin=""></script>
<script src="https://gitcdn.link/repo/leaflet-extras/leaflet-providers/master/leaflet-providers.js"></script>
<script src="institutions.js"></script>
<!-- load markers -->
<script>
var mymap = L.map('mapid').setView([24.215527, -12.885834], 3);
L.tileLayer.provider('Esri.WorldStreetMap').addTo(mymap);
markers.map((place) => { L.marker([place[1], place[2]]).bindPopup(place[0]).addTo(mymap) });
</script>
</body>
</html>