Skip to content

Commit

Permalink
Merge pull request #9202 from camptocamp/backport/9200-to-2.8
Browse files Browse the repository at this point in the history
[Backport 2.8] Do not change style of selected feature
  • Loading branch information
vuilleumierc authored Aug 17, 2023
2 parents 9d39ae0 + 41a18e9 commit 4197362
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/Map.js
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ class Map {
const hasDescription = feature.get('description') !== undefined;
return hasId && hasTitle && hasDescription;
},
style: () => [],
style: null,
});
this.map_.addInteraction(this.selectInteraction_);

Expand Down

0 comments on commit 4197362

Please sign in to comment.