Skip to content

Espresso: Revert feature state reset - #7143

Closed
asheemmamoowala wants to merge 1 commit into
release-espressofrom
revert-feature-state-reset
Closed

asheemmamoowala wants to merge 1 commit into
release-espressofrom
revert-feature-state-reset

Conversation

@asheemmamoowala

Copy link
Copy Markdown
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
Copy Markdown
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.

1 participant