This repository was archived by the owner on Nov 30, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Expand file tree
/
Copy pathmarkers-models-objects.html
More file actions
35 lines (35 loc) · 1.61 KB
/
markers-models-objects.html
File metadata and controls
35 lines (35 loc) · 1.61 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
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
<link rel="stylesheet" href="assets/stylesheets/example.css"/>
<script src="../bower_components/angular/angular.js"></script>
<script src="../bower_components/angular-route/angular-route.js"></script>
<script src="../bower_components/lodash/lodash.js"></script>
<script data-require="chance@*" data-semver="0.5.3" src="http://chancejs.com/chance.min.js"></script>
<script src="http://cdn.rawgit.com/nmccready/angular-simple-logger/0.0.1/dist/index.js"></script><script src="../dist/angular-google-maps_dev_mapped.js"></script>
<script src="assets/scripts/controllers/markers-models-objects.js"></script>
</head>
<body ng-app="appMaps">
<div ng-controller="mapCtrl">
<ui-gmap-google-map center="map.center"
zoom="map.zoom" draggable="true" options="map.options"
events="map.events">
<!--doCluster="map.doCluster"-->
<ui-gmap-markers
doCluster="map.doCluster"
models="searchResults.results"
coords="'coords'"
idkey="'key'"
chunk="200"
></ui-gmap-markers>
</ui-gmap-google-map>
<button ng-click="addMarkers(1000)">Add New Marker</button>
<button ng-click="reset()">Reset</button>
<p>Max number of results to show: 100<br/>Num of items in results: {{searchResults.results.length}}</p>
<p>doCluster:{{map.doCluster}}</p>
<p>zoom:{{map.zoom}}</p>
<pre>{{searchResults.results | json}}</pre>
</div>
</body>
</html>