[Pkg-javascript-commits] [leaflet-markercluster] 91/479: Default examples should work in IE
Jonas Smedegaard
dr at jones.dk
Thu Oct 16 16:00:14 UTC 2014
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository leaflet-markercluster.
commit 184a919fec8f654e68842c6f1674d44bec99089b
Author: danzel <danzel at localhost.geek.nz>
Date: Tue Jul 24 14:58:21 2012 +1200
Default examples should work in IE
---
example/marker-clustering-convexhull.html | 2 --
example/marker-clustering-spiderfier.html | 2 +-
example/marker-clustering.html | 4 ++--
3 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/example/marker-clustering-convexhull.html b/example/marker-clustering-convexhull.html
index b8f5a83..04ce13b 100644
--- a/example/marker-clustering-convexhull.html
+++ b/example/marker-clustering-convexhull.html
@@ -56,8 +56,6 @@
var polygon;
markers.on('clustermouseover', function (a) {
- console.log('cluster ' + a.layer.getAllChildMarkers().length);
-
if (polygon) {
map.removeLayer(polygon);
}
diff --git a/example/marker-clustering-spiderfier.html b/example/marker-clustering-spiderfier.html
index 47729ba..3a76805 100644
--- a/example/marker-clustering-spiderfier.html
+++ b/example/marker-clustering-spiderfier.html
@@ -12,6 +12,7 @@
<link rel="stylesheet" href="../src/MarkerCluster.css" />
<link rel="stylesheet" href="../src/MarkerCluster.Default.css" />
+ <script src="../src/MarkerCluster.Default.js"></script>
<script src="../src/MarkerClusterGroup.js"></script>
<script src="../src/MarkerCluster.js"></script>
<script src="../src/MarkerCluster.Spiderfier.js"></script>
@@ -53,7 +54,6 @@
}
markers.on('clusterclick', function (a) {
- console.log('cluster ' + a.layer.getAllChildMarkers().length);
a.layer.spiderfy();
});
diff --git a/example/marker-clustering.html b/example/marker-clustering.html
index d7519dd..cdfcdf3 100644
--- a/example/marker-clustering.html
+++ b/example/marker-clustering.html
@@ -62,10 +62,10 @@
}
markers.on('clusterclick', function (a) {
- console.log('cluster ' + a.layer.getAllChildMarkers().length);
+ alert('cluster ' + a.layer.getAllChildMarkers().length);
});
markers.on('click', function (a) {
- console.log('marker ' + a.layer);
+ alert('marker ' + a.layer);
});
populate();
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/leaflet-markercluster.git
More information about the Pkg-javascript-commits
mailing list