Skip to content
This repository was archived by the owner on Apr 10, 2018. It is now read-only.

Remove/re-add layers when source-related properties change - #571

Merged
anandthakker merged 5 commits into
mb-pagesfrom
diff-fixes
Nov 16, 2016
Merged

anandthakker merged 5 commits into
mb-pagesfrom
diff-fixes

Conversation

@anandthakker

Copy link
Copy Markdown
Contributor

Two cases:

Two cases:

- Fix #570 - remove/re-add layer when `source`, `source-layer`, or
  `type` properties are changed.
- Remove all dependent layers before removing a source; if the source is
  being removed and re-added, then the corresponding layers are also
  added again afterward. (See mapbox/mapbox-gl-js#3621 (comment))
@anandthakker
anandthakker merged commit 77434bd into mb-pages Nov 16, 2016
@anandthakker
anandthakker deleted the diff-fixes branch November 16, 2016 01:55
@anandthakker

Copy link
Copy Markdown
Contributor Author

@scothis @tmcw Heads up that this just merged -- some changes to the diff module. Hopefully shouldn't hurt anything, studio-wise, but just in case

anandthakker pushed a commit to mapbox/mapbox-gl-js that referenced this pull request Nov 16, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants