-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
30 lines (26 loc) · 1.06 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
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script src="https://maps.googleapis.com/maps/api/js?v=3.exp"></script>
<script src="lib/bower_components/angular/angular.js"></script>
<script src="scripts/app.js"></script>
<script src="scripts/controller.js"></script>
<title>MyMap App</title>
</head>
<body>
<div ng-app="MyMapApp" ng-controller="MyGMapController" id="btnsDiv">
<button ng-click="startLocationTracking()"> Start </button>
<button ng-click="endLocationTracking()"> End </button>
<button ng-click="clear()"> Clear localStorage </button>
<button ng-click="myListOfPath()"> Route History </button>
<li ng-repeat="path in myPathHistory">
<p><a ng-href="#" data-ng-attr-id={{path}} ng-click="showMyRoute($event)"/>{{path}}</p>
</li>
</div>
<br>
<div align="center" id="map" style="width: 100%; height: 600px">
</div>
</body>
</html>