-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmap_tool.html
66 lines (66 loc) · 3.7 KB
/
map_tool.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
57
58
59
60
61
62
63
64
65
66
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Camden Shaw's Map Polygon Tool - Using Google Maps</title>
<meta name="description" content="Camden Shaw's experimental map tool - using Google Maps">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- <link type="text/css" rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.css"> -->
<!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> -->
<link href="https://fonts.googleapis.com/css?family=Abel" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Oxygen:300,400,700|Exo:100,200,300,400,500,600,700,800,900" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Chakra+Petch|Heebo|Source+Code+Pro&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css">
<link type="text/css" rel="stylesheet" href="./build/css/polygon_drawer_style.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js"></script>
</head>
<body>
<h1 id="title" class="site">Google Maps Polygon Tool By Camden</h1>
<p id="description" class="site">A Tool Coded for Fun</p>
<div class="title-wrapper">
<h1 class="title">Google Maps Drawing Tool</h1>
<h5 class="sub-title">Draw a polygon on the map</h5>
</div>
<div class="map-wrapper">
<div id="map"></div>
<div class="coordinates-display">
<h3 class="title">Copy These Coordinates</h3>
<div class="map-form">
<div class="input-group mb-1">
<div class="input-group-prepend">
<button disabled class="btn btn-outline-secondary" type="button">Undo</button>
</div>
<input id="pac-input" class="controls form-control" type="text" placeholder="Search Box" aria-label="Search" />
</div>
<div class="buttons-wrapper">
<div class="draw-wrapper">
<button type="button" class="btn btn-success turn-on-polygon">Draw Polygon</button>
<!-- <button type="button" class="btn btn-success turn-on-polyline">Draw Polyline</button> -->
<div class="vertical-switch">
<input disabled checked="checked" type="radio" id="radio-gon" name="poly switch">
<label for="radio-gon">polygon</label>
<input disabled type="radio" id="radio-line" name="poly switch">
<label for="radio-line">polyline</label>
<span class="toggle-outer">
<span class="toggle-inner"></span>
</span>
</div>
</div>
<button disabled type="button" class="btn btn-primary turn-off-polygon">Close Polygon</button>
</div>
<div class="buttons-wrapper">
<button disabled type="button" class="btn btn-warning clear-last">Clear Last</button>
<button disabled type="button" class="btn btn-danger clear-all">Clear All</button>
</div>
</div>
<h5 class="subtitle">Here is a print out of your coordinates:</h5>
<div id="coordinates-box"></div>
</div>
</div>
</body>
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyBjoDadvTPSG7rcyB-3aCE3RpYUxhoOjiI&sensor=false&libraries=drawing,places"></script>
<script src="build/js/cuppaJoeMap.min.js" async></script>
</html>