-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
44 lines (31 loc) · 1.55 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
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>Daily commuting movements home to work - Tartu</title>
<script data-name="BMC-Widget" data-cfasync="false" src="https://cdnjs.buymeacoffee.com/1.0.0/widget.prod.min.js" data-id="bryan.vallejo" data-description="Support me on Buy me a coffee!" data-message="Support the development of more Demos like this. Buy a map to Bryan :)" data-color="#FF5F5F" data-position="left" data-x_margin="18" data-y_margin="18"></script>
<!--link to stylesheet-->
<link rel="stylesheet" href="css/map-style.css">
<!-- link to leaflet stylesheet-->
<link rel="stylesheet" href="css/leaflet.css">
</head>
<body>
<!--the sequence of elements called matters!-->
<!-- title of your map-->
<h1> Daily commuting movements home to work - Tartu </h1>
<!-- division div for the map -->
<div id="map"></div>
<!-- link to leaflet javascript library-->
<script src="js/leaflet-src.js"></script>
<!-- load Esri Leaflet because we want to use an Esri basemap -->
<script src="https://unpkg.com/[email protected]/dist/esri-leaflet.js"></script>
<!-- Load animation tweening lib requirement for CanvasFlowMapLayer -->
<script src="https://unpkg.com/@tweenjs/[email protected]/dist/tween.umd.js"></script>
<!-- then load CanvasFlowMapLayer -->
<script src="js/CanvasFlowmapLayer.js"></script>
<!--link to the files that contains geoJson data-->
<script src="data/movements_tartu.geojson" > </script>
<!-- link to main javascript file -->
<script src="js/main-movements-tartu.js"></script>
</body>
<html>