You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When querying rendered features after updating the GeoJSON source, the returned features should retain their IDs specified by the promoteId.
Actual Behavior
After updating the GeoJSON source using setData, querying rendered features returns features without their IDs, despite using promoteId to specify the property that should map to the feature ID.
A similar issue has been reported before which is probably still not fixed: #10257
The text was updated successfully, but these errors were encountered:
mapbox-gl-js version:
3.0.0
browser:
Chrome
Steps to Trigger Behavior
promoteId: 'submissionID'
.setData
to update the GeoJSON source with additional features.Link to Demonstration
https://jsfiddle.net/iaezzy/5cphq7nd/1/
Expected Behavior
When querying rendered features after updating the GeoJSON source, the returned features should retain their IDs specified by the
promoteId
.Actual Behavior
After updating the GeoJSON source using
setData
, querying rendered features returns features without their IDs, despite usingpromoteId
to specify the property that should map to the feature ID.A similar issue has been reported before which is probably still not fixed: #10257
The text was updated successfully, but these errors were encountered: