-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
45 lines (42 loc) · 1.58 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
<!DOCTYPE html>
<html>
<head>
<title>Routing and module pearls</title>
<meta http-equiv='Content-Type' content='text/html; charset=utf-8' />
<style>
button {
color: white;
background-color: blue;
padding: 1em;
border: none;
};
button:active {
background-color: white;
color: blue;
};
</style>
<script src="require.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js" async defer></script>
<script src="app.js" type="text/javascript"></script>
<script type='text/javascript' src='https://www.bing.com/api/maps/mapcontrol?bransch=experimental' async defer></script>
</head>
<body style="margin: 0 !important;">
<div style="position: fixed; margin: 2em; z-index: 100;">
<button id="route-from" style="display: none;">Route from</button>
<button id="route-to" style="display: none;">Route to</button>
<button id="hard-border" style="display: none;">Max distance</button>
<button id="soft-border" style="display: none;">Fuzzy distance</button>
<button id="difference-area" style="display: none;">Fuzzy distance</button>
<button id="test1">test</button>
</div>
<div id='myMap' style='width: 100vw; height: 100vh;'></div>
<script type="text/javascript">
document.onreadystatechange = function () {
var state = document.readyState;
if (state == 'complete') {
require(["map"]);
}
};
</script>
</body>
</html>