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

Espresso: Revert feature state reset #7143

Closed
wants to merge 1 commit into from

Conversation

asheemmamoowala
Copy link
Contributor

#7043 added a reset of a source's feature state every time it was reloaded. This was meant to target only GeoJSONSource#setData but inadvertently also reset the feature data when a source went through a relayout. This was originally reported in [#62889(comment)(https://github.com//pull/6289#issuecomment-411186302) and a fix was put into master via #7129.

For the espresso release, revert this behavior entirely. A more inclusive fix is being researched for master along the lines of #6889.

cc @jfirebaugh @mollymerp

…Data`, and document the reset in `Map#setFeatureState`"
@asheemmamoowala
Copy link
Contributor Author

Beaten to the 👊 by #7142

@mourner mourner deleted the revert-feature-state-reset branch August 16, 2018 21:29
@mollymerp mollymerp mentioned this pull request Aug 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant