-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
56 lines (46 loc) · 1.21 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
50
51
52
53
54
55
56
<!DOCTYPE html>
<html>
<head>
<title>Draw Primitives</title>
<link rel="stylesheet" href="https://openlayers.org/en/v3.19.1/css/ol.css" type="text/css">
<style>
#map {
width: 78%;
height: 700px;
float: left;
display: inline-block;
margin-right: 10px;
}
#controls {
float: right;
display: inline;
}
#coordinates_input_list {
list-style-type: none;
}
.point_coordinates {
margin-bottom: 6px;
}
</style>
</head>
<body>
<div id="map"></div>
<div class="controls">
<button id="clear">Clear</button>
<select id="type">
<option value="Polygon">Polygon</option>
<option value="Point">Point</option>
<option value="Line">Line</option>
</select>
<div>
<button id="intersection_button">Intersection</button>
<button id="union_button">Union</button>
<button id="a_minus_b_button">A - B</button>
<button id="b_minus_a_button">B - A</button>
</div>
<ul id="coordinates_input_list"></ul>
<button id="submit_figure">Submit</button>
</div>
<script src="bundle.js"></script>
</body>
</html>