{"action":"closed","number":43,"pull_request":{"url":"https://api.github.com/repos/mapbox/mbview/pulls/43","id":75221689,"html_url":"https://github.com/mapbox/mbview/pull/43","diff_url":"https://github.com/mapbox/mbview/pull/43.diff","patch_url":"https://github.com/mapbox/mbview/pull/43.patch","issue_url":"https://api.github.com/repos/mapbox/mbview/issues/43","number":43,"state":"closed","locked":false,"title":"Multiple layers","user":{"login":"rodowi","id":705860,"avatar_url":"https://avatars.githubusercontent.com/u/705860?v=3","gravatar_id":"","url":"https://api.github.com/users/rodowi","html_url":"https://github.com/rodowi","followers_url":"https://api.github.com/users/rodowi/followers","following_url":"https://api.github.com/users/rodowi/following{/other_user}","gists_url":"https://api.github.com/users/rodowi/gists{/gist_id}","starred_url":"https://api.github.com/users/rodowi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rodowi/subscriptions","organizations_url":"https://api.github.com/users/rodowi/orgs","repos_url":"https://api.github.com/users/rodowi/repos","events_url":"https://api.github.com/users/rodowi/events{/privacy}","received_events_url":"https://api.github.com/users/rodowi/received_events","type":"User","site_admin":false},"body":"This PR adds support for loading all the layers found in a tileset.\r\n\r\nFirst it loads all the layers found in the source:\r\n```js\r\nres.sources[meta.name] = { layers: meta.vector_layers };\r\n```\r\n\r\nAnd then it loops through all of them in the layers.ejs view\r\n```js\r\nsources[sid].layers.forEach(function (layer) {\r\n```\r\n\r\nCloses #3","created_at":"2016-06-26T05:03:11Z","updated_at":"2016-06-27T22:02:38Z","closed_at":"2016-06-27T22:02:38Z","merged_at":"2016-06-27T22:02:38Z","merge_commit_sha":"24e899da28574bb7e6a2306c3ddf20dd0769764f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/mapbox/mbview/pulls/43/commits","review_comments_url":"https://api.github.com/repos/mapbox/mbview/pulls/43/comments","review_comment_url":"https://api.github.com/repos/mapbox/mbview/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mapbox/mbview/issues/43/comments","statuses_url":"https://api.github.com/repos/mapbox/mbview/statuses/768fe014e4bc20e0b692cd5b7a00878d5ec94d02","head":{"label":"mapbox:multiple-layers","ref":"multiple-layers","sha":"768fe014e4bc20e0b692cd5b7a00878d5ec94d02","user":{"login":"mapbox","id":600935,"avatar_url":"https://avatars.githubusercontent.com/u/600935?v=3","gravatar_id":"","url":"https://api.github.com/users/mapbox","html_url":"https://github.com/mapbox","followers_url":"https://api.github.com/users/mapbox/followers","following_url":"https://api.github.com/users/mapbox/following{/other_user}","gists_url":"https://api.github.com/users/mapbox/gists{/gist_id}","starred_url":"https://api.github.com/users/mapbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapbox/subscriptions","organizations_url":"https://api.github.com/users/mapbox/orgs","repos_url":"https://api.github.com/users/mapbox/repos","events_url":"https://api.github.com/users/mapbox/events{/privacy}","received_events_url":"https://api.github.com/users/mapbox/received_events","type":"Organization","site_admin":false},"repo":{"id":58169665,"name":"mbview","full_name":"mapbox/mbview","owner":{"login":"mapbox","id":600935,"avatar_url":"https://avatars.githubusercontent.com/u/600935?v=3","gravatar_id":"","url":"https://api.github.com/users/mapbox","html_url":"https://github.com/mapbox","followers_url":"https://api.github.com/users/mapbox/followers","following_url":"https://api.github.com/users/mapbox/following{/other_user}","gists_url":"https://api.github.com/users/mapbox/gists{/gist_id}","starred_url":"https://api.github.com/users/mapbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapbox/subscriptions","organizations_url":"https://api.github.com/users/mapbox/orgs","repos_url":"https://api.github.com/users/mapbox/repos","events_url":"https://api.github.com/users/mapbox/events{/privacy}","received_events_url":"https://api.github.com/users/mapbox/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mapbox/mbview","description":"View mbtiles locally","fork":false,"url":"https://api.github.com/repos/mapbox/mbview","forks_url":"https://api.github.com/repos/mapbox/mbview/forks","keys_url":"https://api.github.com/repos/mapbox/mbview/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mapbox/mbview/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mapbox/mbview/teams","hooks_url":"https://api.github.com/repos/mapbox/mbview/hooks","issue_events_url":"https://api.github.com/repos/mapbox/mbview/issues/events{/number}","events_url":"https://api.github.com/repos/mapbox/mbview/events","assignees_url":"https://api.github.com/repos/mapbox/mbview/assignees{/user}","branches_url":"https://api.github.com/repos/mapbox/mbview/branches{/branch}","tags_url":"https://api.github.com/repos/mapbox/mbview/tags","blobs_url":"https://api.github.com/repos/mapbox/mbview/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mapbox/mbview/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mapbox/mbview/git/refs{/sha}","trees_url":"https://api.github.com/repos/mapbox/mbview/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mapbox/mbview/statuses/{sha}","languages_url":"https://api.github.com/repos/mapbox/mbview/languages","stargazers_url":"https://api.github.com/repos/mapbox/mbview/stargazers","contributors_url":"https://api.github.com/repos/mapbox/mbview/contributors","subscribers_url":"https://api.github.com/repos/mapbox/mbview/subscribers","subscription_url":"https://api.github.com/repos/mapbox/mbview/subscription","commits_url":"https://api.github.com/repos/mapbox/mbview/commits{/sha}","git_commits_url":"https://api.github.com/repos/mapbox/mbview/git/commits{/sha}","comments_url":"https://api.github.com/repos/mapbox/mbview/comments{/number}","issue_comment_url":"https://api.github.com/repos/mapbox/mbview/issues/comments{/number}","contents_url":"https://api.github.com/repos/mapbox/mbview/contents/{+path}","compare_url":"https://api.github.com/repos/mapbox/mbview/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mapbox/mbview/merges","archive_url":"https://api.github.com/repos/mapbox/mbview/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mapbox/mbview/downloads","issues_url":"https://api.github.com/repos/mapbox/mbview/issues{/number}","pulls_url":"https://api.github.com/repos/mapbox/mbview/pulls{/number}","milestones_url":"https://api.github.com/repos/mapbox/mbview/milestones{/number}","notifications_url":"https://api.github.com/repos/mapbox/mbview/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mapbox/mbview/labels{/name}","releases_url":"https://api.github.com/repos/mapbox/mbview/releases{/id}","deployments_url":"https://api.github.com/repos/mapbox/mbview/deployments","created_at":"2016-05-06T00:45:32Z","updated_at":"2016-06-20T15:15:23Z","pushed_at":"2016-06-27T22:02:38Z","git_url":"git://github.com/mapbox/mbview.git","ssh_url":"git@github.com:mapbox/mbview.git","clone_url":"https://github.com/mapbox/mbview.git","svn_url":"https://github.com/mapbox/mbview","homepage":"","size":35972,"stargazers_count":35,"watchers_count":35,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":8,"forks":2,"open_issues":8,"watchers":35,"default_branch":"master"}},"base":{"label":"mapbox:master","ref":"master","sha":"f2f6ace6abfa38725da58e90cff882e80dffb2f5","user":{"login":"mapbox","id":600935,"avatar_url":"https://avatars.githubusercontent.com/u/600935?v=3","gravatar_id":"","url":"https://api.github.com/users/mapbox","html_url":"https://github.com/mapbox","followers_url":"https://api.github.com/users/mapbox/followers","following_url":"https://api.github.com/users/mapbox/following{/other_user}","gists_url":"https://api.github.com/users/mapbox/gists{/gist_id}","starred_url":"https://api.github.com/users/mapbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapbox/subscriptions","organizations_url":"https://api.github.com/users/mapbox/orgs","repos_url":"https://api.github.com/users/mapbox/repos","events_url":"https://api.github.com/users/mapbox/events{/privacy}","received_events_url":"https://api.github.com/users/mapbox/received_events","type":"Organization","site_admin":false},"repo":{"id":58169665,"name":"mbview","full_name":"mapbox/mbview","owner":{"login":"mapbox","id":600935,"avatar_url":"https://avatars.githubusercontent.com/u/600935?v=3","gravatar_id":"","url":"https://api.github.com/users/mapbox","html_url":"https://github.com/mapbox","followers_url":"https://api.github.com/users/mapbox/followers","following_url":"https://api.github.com/users/mapbox/following{/other_user}","gists_url":"https://api.github.com/users/mapbox/gists{/gist_id}","starred_url":"https://api.github.com/users/mapbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapbox/subscriptions","organizations_url":"https://api.github.com/users/mapbox/orgs","repos_url":"https://api.github.com/users/mapbox/repos","events_url":"https://api.github.com/users/mapbox/events{/privacy}","received_events_url":"https://api.github.com/users/mapbox/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mapbox/mbview","description":"View mbtiles locally","fork":false,"url":"https://api.github.com/repos/mapbox/mbview","forks_url":"https://api.github.com/repos/mapbox/mbview/forks","keys_url":"https://api.github.com/repos/mapbox/mbview/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mapbox/mbview/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mapbox/mbview/teams","hooks_url":"https://api.github.com/repos/mapbox/mbview/hooks","issue_events_url":"https://api.github.com/repos/mapbox/mbview/issues/events{/number}","events_url":"https://api.github.com/repos/mapbox/mbview/events","assignees_url":"https://api.github.com/repos/mapbox/mbview/assignees{/user}","branches_url":"https://api.github.com/repos/mapbox/mbview/branches{/branch}","tags_url":"https://api.github.com/repos/mapbox/mbview/tags","blobs_url":"https://api.github.com/repos/mapbox/mbview/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mapbox/mbview/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mapbox/mbview/git/refs{/sha}","trees_url":"https://api.github.com/repos/mapbox/mbview/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mapbox/mbview/statuses/{sha}","languages_url":"https://api.github.com/repos/mapbox/mbview/languages","stargazers_url":"https://api.github.com/repos/mapbox/mbview/stargazers","contributors_url":"https://api.github.com/repos/mapbox/mbview/contributors","subscribers_url":"https://api.github.com/repos/mapbox/mbview/subscribers","subscription_url":"https://api.github.com/repos/mapbox/mbview/subscription","commits_url":"https://api.github.com/repos/mapbox/mbview/commits{/sha}","git_commits_url":"https://api.github.com/repos/mapbox/mbview/git/commits{/sha}","comments_url":"https://api.github.com/repos/mapbox/mbview/comments{/number}","issue_comment_url":"https://api.github.com/repos/mapbox/mbview/issues/comments{/number}","contents_url":"https://api.github.com/repos/mapbox/mbview/contents/{+path}","compare_url":"https://api.github.com/repos/mapbox/mbview/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mapbox/mbview/merges","archive_url":"https://api.github.com/repos/mapbox/mbview/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mapbox/mbview/downloads","issues_url":"https://api.github.com/repos/mapbox/mbview/issues{/number}","pulls_url":"https://api.github.com/repos/mapbox/mbview/pulls{/number}","milestones_url":"https://api.github.com/repos/mapbox/mbview/milestones{/number}","notifications_url":"https://api.github.com/repos/mapbox/mbview/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mapbox/mbview/labels{/name}","releases_url":"https://api.github.com/repos/mapbox/mbview/releases{/id}","deployments_url":"https://api.github.com/repos/mapbox/mbview/deployments","created_at":"2016-05-06T00:45:32Z","updated_at":"2016-06-20T15:15:23Z","pushed_at":"2016-06-27T22:02:38Z","git_url":"git://github.com/mapbox/mbview.git","ssh_url":"git@github.com:mapbox/mbview.git","clone_url":"https://github.com/mapbox/mbview.git","svn_url":"https://github.com/mapbox/mbview","homepage":"","size":35972,"stargazers_count":35,"watchers_count":35,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":8,"forks":2,"open_issues":8,"watchers":35,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mapbox/mbview/pulls/43"},"html":{"href":"https://github.com/mapbox/mbview/pull/43"},"issue":{"href":"https://api.github.com/repos/mapbox/mbview/issues/43"},"comments":{"href":"https://api.github.com/repos/mapbox/mbview/issues/43/comments"},"review_comments":{"href":"https://api.github.com/repos/mapbox/mbview/pulls/43/comments"},"review_comment":{"href":"https://api.github.com/repos/mapbox/mbview/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mapbox/mbview/pulls/43/commits"},"statuses":{"href":"https://api.github.com/repos/mapbox/mbview/statuses/768fe014e4bc20e0b692cd5b7a00878d5ec94d02"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"rodowi","id":705860,"avatar_url":"https://avatars.githubusercontent.com/u/705860?v=3","gravatar_id":"","url":"https://api.github.com/users/rodowi","html_url":"https://github.com/rodowi","followers_url":"https://api.github.com/users/rodowi/followers","following_url":"https://api.github.com/users/rodowi/following{/other_user}","gists_url":"https://api.github.com/users/rodowi/gists{/gist_id}","starred_url":"https://api.github.com/users/rodowi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rodowi/subscriptions","organizations_url":"https://api.github.com/users/rodowi/orgs","repos_url":"https://api.github.com/users/rodowi/repos","events_url":"https://api.github.com/users/rodowi/events{/privacy}","received_events_url":"https://api.github.com/users/rodowi/received_events","type":"User","site_admin":false},"comments":3,"review_comments":0,"commits":3,"additions":66,"deletions":41,"changed_files":7}}
{"actor":{"display_login":"rodowi"}}