-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathangular.html
More file actions
48 lines (48 loc) · 1.28 KB
/
angular.html
File metadata and controls
48 lines (48 loc) · 1.28 KB
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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>ALK/AWF</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width">
<style>
html, body {
height: 100%;
margin: 0;
padding: 0;
}
#myMap {
width:100%;
height:600px;
min-height: 100%;
border:1px solid #EEEEEE;
}
#buttons {
position: absolute;
top:50px;
left:50px;
z-index: 1100;
background-color: #EEEEEE;
}
.btn {
margin: 10px;
padding: 10px;
background-color: #ffff00;
cursor: pointer;
}
</style>
</head>
<body ng-app="pnMapApp">
<div ng-controller="landmarkController">
<div id="myMap"></div>
<div id="buttons" style="position: absolute; top:50px; left:50px; z-index: 1100">
<span class="btn" ng-click="hideLandmarks()">Remove Landmarks</span>
<span class="btn" ng-click="getLandmarks()">Get Landmarks</span>
<p>Angular Javascript. Press 'Remove Landmarks'. Zoom. Landmarks return.</p>
</div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.3.14/angular.js"></script>
<script src="https://maps.alk.com/api/1.2/alkmaps.js" type="text/javascript"></script>
<script src="angular.js"></script>
</body>
</html>