Skip to content

Commit

Permalink
Clear properties of identify highlight feature to ensure no labels ar…
Browse files Browse the repository at this point in the history
…e rendered
  • Loading branch information
manisandro committed Dec 12, 2024
1 parent 4535941 commit 4b99168
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/IdentifyViewer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ class IdentifyViewer extends React.Component {
}, []);
}
results = (results || []).filter(result => result.type.toLowerCase() === "feature").map(feature => {
const newFeature = {...feature};
const newFeature = {...feature, properties: {}};
// Ensure selection style is used
delete newFeature.styleName;
delete newFeature.styleOptions;
Expand Down

0 comments on commit 4b99168

Please sign in to comment.