Skip to content

Commit

Permalink
vl-interaction-select: fix the early exit from function to resolve se…
Browse files Browse the repository at this point in the history
…lected feature
  • Loading branch information
become-iron committed Jun 11, 2020
1 parent 4d3abc7 commit 3d474de
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/component/select-interaction/interaction.vue
Original file line number Diff line number Diff line change
Expand Up @@ -271,10 +271,6 @@
feature = undefined
forEach(this.$map.getLayers().getArray(), layer => {
if (this.layerFilter && !this.layerFilter(layer)) {
return false
}
const source = layer.getSource()
if (source && isFunction(source.getFeatureById)) {
feature = source.getFeatureById(featureId)
Expand Down

0 comments on commit 3d474de

Please sign in to comment.