{"action":"opened","number":477,"pull_request":{"url":"https://api.github.com/repos/uber/react-map-gl/pulls/477","id":174186176,"html_url":"https://github.com/uber/react-map-gl/pull/477","diff_url":"https://github.com/uber/react-map-gl/pull/477.diff","patch_url":"https://github.com/uber/react-map-gl/pull/477.patch","issue_url":"https://api.github.com/repos/uber/react-map-gl/issues/477","number":477,"state":"open","locked":false,"title":"handle source removal without layer removal","user":{"login":"cl0ckwork","id":29135200,"avatar_url":"https://avatars0.githubusercontent.com/u/29135200?v=4","gravatar_id":"","url":"https://api.github.com/users/cl0ckwork","html_url":"https://github.com/cl0ckwork","followers_url":"https://api.github.com/users/cl0ckwork/followers","following_url":"https://api.github.com/users/cl0ckwork/following{/other_user}","gists_url":"https://api.github.com/users/cl0ckwork/gists{/gist_id}","starred_url":"https://api.github.com/users/cl0ckwork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cl0ckwork/subscriptions","organizations_url":"https://api.github.com/users/cl0ckwork/orgs","repos_url":"https://api.github.com/users/cl0ckwork/repos","events_url":"https://api.github.com/users/cl0ckwork/events{/privacy}","received_events_url":"https://api.github.com/users/cl0ckwork/received_events","type":"User","site_admin":false},"body":"Attempt to remedy issue #474 .\r\n\r\n1. Throw an error/warning if the layers were not removed with their linked sources on mapStyle change.\r\n2. If both layers and sources were updated then apply the removals in order (layer first, source second) using existing methodology with minor order change.","created_at":"2018-03-10T19:44:13Z","updated_at":"2018-03-10T19:44:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/uber/react-map-gl/pulls/477/commits","review_comments_url":"https://api.github.com/repos/uber/react-map-gl/pulls/477/comments","review_comment_url":"https://api.github.com/repos/uber/react-map-gl/pulls/comments{/number}","comments_url":"https://api.github.com/repos/uber/react-map-gl/issues/477/comments","statuses_url":"https://api.github.com/repos/uber/react-map-gl/statuses/195f62ecb1e317bc861990299bfbfb0cd3b6dff0","head":{"label":"cl0ckwork:master","ref":"master","sha":"195f62ecb1e317bc861990299bfbfb0cd3b6dff0","user":{"login":"cl0ckwork","id":29135200,"avatar_url":"https://avatars0.githubusercontent.com/u/29135200?v=4","gravatar_id":"","url":"https://api.github.com/users/cl0ckwork","html_url":"https://github.com/cl0ckwork","followers_url":"https://api.github.com/users/cl0ckwork/followers","following_url":"https://api.github.com/users/cl0ckwork/following{/other_user}","gists_url":"https://api.github.com/users/cl0ckwork/gists{/gist_id}","starred_url":"https://api.github.com/users/cl0ckwork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cl0ckwork/subscriptions","organizations_url":"https://api.github.com/users/cl0ckwork/orgs","repos_url":"https://api.github.com/users/cl0ckwork/repos","events_url":"https://api.github.com/users/cl0ckwork/events{/privacy}","received_events_url":"https://api.github.com/users/cl0ckwork/received_events","type":"User","site_admin":false},"repo":{"id":124455634,"name":"react-map-gl","full_name":"cl0ckwork/react-map-gl","owner":{"login":"cl0ckwork","id":29135200,"avatar_url":"https://avatars0.githubusercontent.com/u/29135200?v=4","gravatar_id":"","url":"https://api.github.com/users/cl0ckwork","html_url":"https://github.com/cl0ckwork","followers_url":"https://api.github.com/users/cl0ckwork/followers","following_url":"https://api.github.com/users/cl0ckwork/following{/other_user}","gists_url":"https://api.github.com/users/cl0ckwork/gists{/gist_id}","starred_url":"https://api.github.com/users/cl0ckwork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cl0ckwork/subscriptions","organizations_url":"https://api.github.com/users/cl0ckwork/orgs","repos_url":"https://api.github.com/users/cl0ckwork/repos","events_url":"https://api.github.com/users/cl0ckwork/events{/privacy}","received_events_url":"https://api.github.com/users/cl0ckwork/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cl0ckwork/react-map-gl","description":"React friendly API wrapper around MapboxGL JS","fork":true,"url":"https://api.github.com/repos/cl0ckwork/react-map-gl","forks_url":"https://api.github.com/repos/cl0ckwork/react-map-gl/forks","keys_url":"https://api.github.com/repos/cl0ckwork/react-map-gl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cl0ckwork/react-map-gl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cl0ckwork/react-map-gl/teams","hooks_url":"https://api.github.com/repos/cl0ckwork/react-map-gl/hooks","issue_events_url":"https://api.github.com/repos/cl0ckwork/react-map-gl/issues/events{/number}","events_url":"https://api.github.com/repos/cl0ckwork/react-map-gl/events","assignees_url":"https://api.github.com/repos/cl0ckwork/react-map-gl/assignees{/user}","branches_url":"https://api.github.com/repos/cl0ckwork/react-map-gl/branches{/branch}","tags_url":"https://api.github.com/repos/cl0ckwork/react-map-gl/tags","blobs_url":"https://api.github.com/repos/cl0ckwork/react-map-gl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cl0ckwork/react-map-gl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cl0ckwork/react-map-gl/git/refs{/sha}","trees_url":"https://api.github.com/repos/cl0ckwork/react-map-gl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cl0ckwork/react-map-gl/statuses/{sha}","languages_url":"https://api.github.com/repos/cl0ckwork/react-map-gl/languages","stargazers_url":"https://api.github.com/repos/cl0ckwork/react-map-gl/stargazers","contributors_url":"https://api.github.com/repos/cl0ckwork/react-map-gl/contributors","subscribers_url":"https://api.github.com/repos/cl0ckwork/react-map-gl/subscribers","subscription_url":"https://api.github.com/repos/cl0ckwork/react-map-gl/subscription","commits_url":"https://api.github.com/repos/cl0ckwork/react-map-gl/commits{/sha}","git_commits_url":"https://api.github.com/repos/cl0ckwork/react-map-gl/git/commits{/sha}","comments_url":"https://api.github.com/repos/cl0ckwork/react-map-gl/comments{/number}","issue_comment_url":"https://api.github.com/repos/cl0ckwork/react-map-gl/issues/comments{/number}","contents_url":"https://api.github.com/repos/cl0ckwork/react-map-gl/contents/{+path}","compare_url":"https://api.github.com/repos/cl0ckwork/react-map-gl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cl0ckwork/react-map-gl/merges","archive_url":"https://api.github.com/repos/cl0ckwork/react-map-gl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cl0ckwork/react-map-gl/downloads","issues_url":"https://api.github.com/repos/cl0ckwork/react-map-gl/issues{/number}","pulls_url":"https://api.github.com/repos/cl0ckwork/react-map-gl/pulls{/number}","milestones_url":"https://api.github.com/repos/cl0ckwork/react-map-gl/milestones{/number}","notifications_url":"https://api.github.com/repos/cl0ckwork/react-map-gl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cl0ckwork/react-map-gl/labels{/name}","releases_url":"https://api.github.com/repos/cl0ckwork/react-map-gl/releases{/id}","deployments_url":"https://api.github.com/repos/cl0ckwork/react-map-gl/deployments","created_at":"2018-03-08T22:26:34Z","updated_at":"2018-03-08T22:26:36Z","pushed_at":"2018-03-10T19:42:40Z","git_url":"git://github.com/cl0ckwork/react-map-gl.git","ssh_url":"git@github.com:cl0ckwork/react-map-gl.git","clone_url":"https://github.com/cl0ckwork/react-map-gl.git","svn_url":"https://github.com/cl0ckwork/react-map-gl","homepage":"https://uber.github.io/react-map-gl","size":7195,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"uber:master","ref":"master","sha":"f420faab64c08c65a97be57c8f7e1e2bcece6603","user":{"login":"uber","id":538264,"avatar_url":"https://avatars3.githubusercontent.com/u/538264?v=4","gravatar_id":"","url":"https://api.github.com/users/uber","html_url":"https://github.com/uber","followers_url":"https://api.github.com/users/uber/followers","following_url":"https://api.github.com/users/uber/following{/other_user}","gists_url":"https://api.github.com/users/uber/gists{/gist_id}","starred_url":"https://api.github.com/users/uber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uber/subscriptions","organizations_url":"https://api.github.com/users/uber/orgs","repos_url":"https://api.github.com/users/uber/repos","events_url":"https://api.github.com/users/uber/events{/privacy}","received_events_url":"https://api.github.com/users/uber/received_events","type":"Organization","site_admin":false},"repo":{"id":43903882,"name":"react-map-gl","full_name":"uber/react-map-gl","owner":{"login":"uber","id":538264,"avatar_url":"https://avatars3.githubusercontent.com/u/538264?v=4","gravatar_id":"","url":"https://api.github.com/users/uber","html_url":"https://github.com/uber","followers_url":"https://api.github.com/users/uber/followers","following_url":"https://api.github.com/users/uber/following{/other_user}","gists_url":"https://api.github.com/users/uber/gists{/gist_id}","starred_url":"https://api.github.com/users/uber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uber/subscriptions","organizations_url":"https://api.github.com/users/uber/orgs","repos_url":"https://api.github.com/users/uber/repos","events_url":"https://api.github.com/users/uber/events{/privacy}","received_events_url":"https://api.github.com/users/uber/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/uber/react-map-gl","description":"React friendly API wrapper around MapboxGL JS","fork":false,"url":"https://api.github.com/repos/uber/react-map-gl","forks_url":"https://api.github.com/repos/uber/react-map-gl/forks","keys_url":"https://api.github.com/repos/uber/react-map-gl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/uber/react-map-gl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/uber/react-map-gl/teams","hooks_url":"https://api.github.com/repos/uber/react-map-gl/hooks","issue_events_url":"https://api.github.com/repos/uber/react-map-gl/issues/events{/number}","events_url":"https://api.github.com/repos/uber/react-map-gl/events","assignees_url":"https://api.github.com/repos/uber/react-map-gl/assignees{/user}","branches_url":"https://api.github.com/repos/uber/react-map-gl/branches{/branch}","tags_url":"https://api.github.com/repos/uber/react-map-gl/tags","blobs_url":"https://api.github.com/repos/uber/react-map-gl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/uber/react-map-gl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/uber/react-map-gl/git/refs{/sha}","trees_url":"https://api.github.com/repos/uber/react-map-gl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/uber/react-map-gl/statuses/{sha}","languages_url":"https://api.github.com/repos/uber/react-map-gl/languages","stargazers_url":"https://api.github.com/repos/uber/react-map-gl/stargazers","contributors_url":"https://api.github.com/repos/uber/react-map-gl/contributors","subscribers_url":"https://api.github.com/repos/uber/react-map-gl/subscribers","subscription_url":"https://api.github.com/repos/uber/react-map-gl/subscription","commits_url":"https://api.github.com/repos/uber/react-map-gl/commits{/sha}","git_commits_url":"https://api.github.com/repos/uber/react-map-gl/git/commits{/sha}","comments_url":"https://api.github.com/repos/uber/react-map-gl/comments{/number}","issue_comment_url":"https://api.github.com/repos/uber/react-map-gl/issues/comments{/number}","contents_url":"https://api.github.com/repos/uber/react-map-gl/contents/{+path}","compare_url":"https://api.github.com/repos/uber/react-map-gl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/uber/react-map-gl/merges","archive_url":"https://api.github.com/repos/uber/react-map-gl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/uber/react-map-gl/downloads","issues_url":"https://api.github.com/repos/uber/react-map-gl/issues{/number}","pulls_url":"https://api.github.com/repos/uber/react-map-gl/pulls{/number}","milestones_url":"https://api.github.com/repos/uber/react-map-gl/milestones{/number}","notifications_url":"https://api.github.com/repos/uber/react-map-gl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/uber/react-map-gl/labels{/name}","releases_url":"https://api.github.com/repos/uber/react-map-gl/releases{/id}","deployments_url":"https://api.github.com/repos/uber/react-map-gl/deployments","created_at":"2015-10-08T16:56:26Z","updated_at":"2018-03-09T06:50:53Z","pushed_at":"2018-03-10T19:37:50Z","git_url":"git://github.com/uber/react-map-gl.git","ssh_url":"git@github.com:uber/react-map-gl.git","clone_url":"https://github.com/uber/react-map-gl.git","svn_url":"https://github.com/uber/react-map-gl","homepage":"https://uber.github.io/react-map-gl","size":7194,"stargazers_count":3435,"watchers_count":3435,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":341,"mirror_url":null,"archived":false,"open_issues_count":37,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":341,"open_issues":37,"watchers":3435,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/uber/react-map-gl/pulls/477"},"html":{"href":"https://github.com/uber/react-map-gl/pull/477"},"issue":{"href":"https://api.github.com/repos/uber/react-map-gl/issues/477"},"comments":{"href":"https://api.github.com/repos/uber/react-map-gl/issues/477/comments"},"review_comments":{"href":"https://api.github.com/repos/uber/react-map-gl/pulls/477/comments"},"review_comment":{"href":"https://api.github.com/repos/uber/react-map-gl/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/uber/react-map-gl/pulls/477/commits"},"statuses":{"href":"https://api.github.com/repos/uber/react-map-gl/statuses/195f62ecb1e317bc861990299bfbfb0cd3b6dff0"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":50,"deletions":31,"changed_files":1}}
{"actor":{"display_login":"cl0ckwork"}}