-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathindex.html
49 lines (40 loc) · 1.16 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no" />
<title>ArcGIS + Tensorflow sample </title>
<style>
html,
body,
#viewDiv {
padding: 0;
margin: 0;
height: 100%;
width: 100%;
}
#draw-button {
top: 10px;
right: 100px;
position: absolute;
border-radius: 10px;
padding: 30px;
z-index: 100;
}
</style>
<!-- Tensorflow -->
<script src="//cdn.jsdelivr.net/npm/@tensorflow/[email protected]/dist/tf.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/@teachablemachine/[email protected]/dist/teachablemachine-image.min.js"></script>
<!-- ArcGIS -->
<link rel="stylesheet" href="//js.arcgis.com/4.20/esri/themes/light/main.css" />
<script src="//js.arcgis.com/4.20"></script>
<!-- Map/Tensorflow code! -->
<script src="main.js"></script>
</head>
<body>
<!-- Draw button toggle -->
<button id="draw-button"></button>
<!-- Map -->
<div id="viewDiv"></div>
</body>
</html>