Push the feature, not the index

This commit is contained in:
Andreas Hocevar
2014-11-11 20:09:24 +01:00
parent 08aa6ee82d
commit 96729baa9f

View File

@@ -169,7 +169,7 @@ ol.interaction.Select.prototype.handleMapBrowserEvent =
}
} else {
if (remove || toggle) {
deselected.push(index);
deselected.push(feature);
}
}
}, undefined, this.layerFilter_);