-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
48 lines (40 loc) · 1.88 KB
/
index.html
File metadata and controls
48 lines (40 loc) · 1.88 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">
<meta name="viewport" content="initial-scale=1 width=device-width">
<title>Carto</title>
<link rel="stylesheet" href="css/style.css">
</head>
<body ng-app="carto" ng-controller="PageCtrl">
<div class="container">
<div class="menu">
<label for="selectLayer">Layer : </label>
<select name="selectLayer" ng-model="currentLayer" ng-change="close()">
<option ng-repeat="layer in layers">{{layer.name}}</option>
</select>
<button name="button" ng-click="changeSource()">Change</button>
</div>
<div class="content" id="content">
<button class="closeButton" name="button" ng-click="close()">X</button>
<div id="content-container">
</div>
</div>
<stratis-carto class='max' width-markers="20" height-markers="30" icon-markers="img/mapMarker.png">
<stratis-marker-layer layer-name="{{layer.name}}" ng-repeat="layer in layers"
icon-markers="{{layer.icon}}"
width-markers="{{layer.width}}">
<stratis-marker ng-repeat="marker in layer.markers"
longitude="marker.longitude" latitude="marker.latitude" on-click="onClick"
datas="marker" selectable="true">
</stratis-marker>
</stratis-marker-layer>
</stratis-carto>
</div>
<script src="lib/angular/angular.js"></script>
<script src="lib/openlayers/lib/OpenLayers.js"></script>
<script src="js/carto.js"></script>
<script src="js/controllers.js"></script>
<script src="js/services.js"></script>
</body>
</html>