Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FeatureLayer.deleteFeature doesn't permanently remove feature #284

Closed
patrickarlt opened this issue Jul 12, 2014 · 0 comments
Closed

FeatureLayer.deleteFeature doesn't permanently remove feature #284

patrickarlt opened this issue Jul 12, 2014 · 0 comments
Labels
Milestone

Comments

@patrickarlt
Copy link
Contributor

After calling featureLayer.deleteFeature(featureId); the feature is initally removed from the map but subsequent zooms/pans will add the feature back to the map.

The feature needs to be removed from the map and delete this._layers[id]; should permanently delete the feature from the client side cache.

This can be worked around by delete featureLayer._layers[id]; in the callback.

@patrickarlt patrickarlt mentioned this issue Jul 17, 2014
patrickarlt added a commit that referenced this issue Jul 19, 2014
@patrickarlt patrickarlt added this to the Beta 6 milestone Jul 21, 2014
jgravois pushed a commit to jgravois/esri-leaflet that referenced this issue Apr 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant