Skip to content

Commit 4b99168

Browse files
committed
Clear properties of identify highlight feature to ensure no labels are rendered
1 parent 4535941 commit 4b99168

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/IdentifyViewer.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ class IdentifyViewer extends React.Component {
246246
}, []);
247247
}
248248
results = (results || []).filter(result => result.type.toLowerCase() === "feature").map(feature => {
249-
const newFeature = {...feature};
249+
const newFeature = {...feature, properties: {}};
250250
// Ensure selection style is used
251251
delete newFeature.styleName;
252252
delete newFeature.styleOptions;

0 commit comments

Comments
 (0)