{"action":"closed","issue":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/1722","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/1722/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/1722/comments","events_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/1722/events","html_url":"https://github.com/mapbox/mapbox-gl-js/issues/1722","id":116845862,"number":1722,"title":"Method to change a layer's source","user":{"login":"peterqliu","id":4551508,"avatar_url":"https://avatars.githubusercontent.com/u/4551508?v=3","gravatar_id":"","url":"https://api.github.com/users/peterqliu","html_url":"https://github.com/peterqliu","followers_url":"https://api.github.com/users/peterqliu/followers","following_url":"https://api.github.com/users/peterqliu/following{/other_user}","gists_url":"https://api.github.com/users/peterqliu/gists{/gist_id}","starred_url":"https://api.github.com/users/peterqliu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterqliu/subscriptions","organizations_url":"https://api.github.com/users/peterqliu/orgs","repos_url":"https://api.github.com/users/peterqliu/repos","events_url":"https://api.github.com/users/peterqliu/events{/privacy}","received_events_url":"https://api.github.com/users/peterqliu/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mapbox/mapbox-gl-js/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-13T20:28:57Z","updated_at":"2015-12-03T19:05:49Z","closed_at":"2015-12-03T19:05:49Z","body":"Need a method for changing a layer's `source`. Currently, we need to remove and re-add the layer with the new source."}}