fixed whitespace issues

This commit is contained in:
Ryan "rman" Denniston
2014-11-01 11:23:15 -10:00
parent ab3cdd49a1
commit 50f0a553b9
+2 -2
View File
@@ -655,11 +655,11 @@ L.MarkerClusterGroup = L.FeatureGroup.extend({
_zoomOrSpiderfy: function (e) {
var map = this._map;
if (e.layer._bounds._northEast.equals(e.layer._bounds._southWest)){
if ( e.layer._bounds._northEast.equals(e.layer._bounds._southWest)) {
if (this.options.spiderfyOnMaxZoom) {
e.layer.spiderfy();
}
}else if (map.getMaxZoom() === map.getZoom()) {
} else if (map.getMaxZoom() === map.getZoom()) {
if (this.options.spiderfyOnMaxZoom) {
e.layer.spiderfy();
}