Push the feature, not the index
This commit is contained in:
@@ -169,7 +169,7 @@ ol.interaction.Select.prototype.handleMapBrowserEvent =
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (remove || toggle) {
|
if (remove || toggle) {
|
||||||
deselected.push(index);
|
deselected.push(feature);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}, undefined, this.layerFilter_);
|
}, undefined, this.layerFilter_);
|
||||||
|
|||||||
Reference in New Issue
Block a user