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

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

Merged
merged 5 commits into from
Nov 16, 2016

Conversation

anandthakker
Copy link
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
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