Update build

This commit is contained in:
danzel
2012-07-25 11:20:44 +12:00
parent 9615f5622c
commit fbd46fd2b8
2 changed files with 9 additions and 1 deletions
+8
View File
@@ -24,6 +24,11 @@
bindEvents: function (map, markerClusterGroup) {
var me = this;
var inZoomAnimation = false;
map.on('zoomstart', function () { inZoomAnimation = true; });
map.on('zoomend', function () { inZoomAnimation = false; });
//Zoom on cluster click or spiderfy if we are at the lowest level
markerClusterGroup.on('clusterclick', function (a) {
@@ -36,6 +41,9 @@
//Show convex hull (boundary) polygon on mouse over
markerClusterGroup.on('clustermouseover', function (a) {
if (inZoomAnimation) {
return;
}
if (me._shownPolygon) {
map.removeLayer(me._shownPolygon);
}
+1 -1
View File
File diff suppressed because one or more lines are too long