{"action":"closed","number":451,"pull_request":{"url":"https://api.github.com/repos/LocalData/localdata-dashboard/pulls/451","id":26966845,"html_url":"https://github.com/LocalData/localdata-dashboard/pull/451","diff_url":"https://github.com/LocalData/localdata-dashboard/pull/451.diff","patch_url":"https://github.com/LocalData/localdata-dashboard/pull/451.patch","issue_url":"https://api.github.com/repos/LocalData/localdata-dashboard/issues/451","number":451,"state":"closed","locked":false,"title":"Support layer controls for carto layers","user":{"login":"hampelm","id":86435,"avatar_url":"https://avatars.githubusercontent.com/u/86435?v=3","gravatar_id":"","url":"https://api.github.com/users/hampelm","html_url":"https://github.com/hampelm","followers_url":"https://api.github.com/users/hampelm/followers","following_url":"https://api.github.com/users/hampelm/following{/other_user}","gists_url":"https://api.github.com/users/hampelm/gists{/gist_id}","starred_url":"https://api.github.com/users/hampelm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hampelm/subscriptions","organizations_url":"https://api.github.com/users/hampelm/orgs","repos_url":"https://api.github.com/users/hampelm/repos","events_url":"https://api.github.com/users/hampelm/events{/privacy}","received_events_url":"https://api.github.com/users/hampelm/received_events","type":"User","site_admin":false},"body":"![screen shot 2015-01-07 at 10 59 51 am](https://cloud.githubusercontent.com/assets/86435/5648505/11dbd108-965d-11e4-8a0d-e4030638eb3b.png)\r\n\r\nAlso adds a couple params for foreign layers:\r\n\r\n- `noLegend: true` -- don't show the layerControl\r\n- `disableGrid: true` -- don't add a UTF grid\r\n- `state: 'inactive'` -- The layer starts \"turned off\". Renders the control, but doesn't add the layer to the map","created_at":"2015-01-07T16:07:07Z","updated_at":"2015-01-07T17:12:02Z","closed_at":"2015-01-07T17:12:02Z","merged_at":null,"merge_commit_sha":"dbc417c2666aac9e90e8e9bbb124cee219ed6dae","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/LocalData/localdata-dashboard/pulls/451/commits","review_comments_url":"https://api.github.com/repos/LocalData/localdata-dashboard/pulls/451/comments","review_comment_url":"https://api.github.com/repos/LocalData/localdata-dashboard/pulls/comments/{number}","comments_url":"https://api.github.com/repos/LocalData/localdata-dashboard/issues/451/comments","statuses_url":"https://api.github.com/repos/LocalData/localdata-dashboard/statuses/11caa1b4cb8084a88ec941d7983f59068f65a84d","head":{"label":"LocalData:projects-carto-legend","ref":"projects-carto-legend","sha":"11caa1b4cb8084a88ec941d7983f59068f65a84d","user":{"login":"LocalData","id":2413672,"avatar_url":"https://avatars.githubusercontent.com/u/2413672?v=3","gravatar_id":"","url":"https://api.github.com/users/LocalData","html_url":"https://github.com/LocalData","followers_url":"https://api.github.com/users/LocalData/followers","following_url":"https://api.github.com/users/LocalData/following{/other_user}","gists_url":"https://api.github.com/users/LocalData/gists{/gist_id}","starred_url":"https://api.github.com/users/LocalData/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LocalData/subscriptions","organizations_url":"https://api.github.com/users/LocalData/orgs","repos_url":"https://api.github.com/users/LocalData/repos","events_url":"https://api.github.com/users/LocalData/events{/privacy}","received_events_url":"https://api.github.com/users/LocalData/received_events","type":"Organization","site_admin":false},"repo":{"id":7634994,"name":"localdata-dashboard","full_name":"LocalData/localdata-dashboard","owner":{"login":"LocalData","id":2413672,"avatar_url":"https://avatars.githubusercontent.com/u/2413672?v=3","gravatar_id":"","url":"https://api.github.com/users/LocalData","html_url":"https://github.com/LocalData","followers_url":"https://api.github.com/users/LocalData/followers","following_url":"https://api.github.com/users/LocalData/following{/other_user}","gists_url":"https://api.github.com/users/LocalData/gists{/gist_id}","starred_url":"https://api.github.com/users/LocalData/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LocalData/subscriptions","organizations_url":"https://api.github.com/users/LocalData/orgs","repos_url":"https://api.github.com/users/LocalData/repos","events_url":"https://api.github.com/users/LocalData/events{/privacy}","received_events_url":"https://api.github.com/users/LocalData/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/LocalData/localdata-dashboard","description":"","fork":false,"url":"https://api.github.com/repos/LocalData/localdata-dashboard","forks_url":"https://api.github.com/repos/LocalData/localdata-dashboard/forks","keys_url":"https://api.github.com/repos/LocalData/localdata-dashboard/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LocalData/localdata-dashboard/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LocalData/localdata-dashboard/teams","hooks_url":"https://api.github.com/repos/LocalData/localdata-dashboard/hooks","issue_events_url":"https://api.github.com/repos/LocalData/localdata-dashboard/issues/events{/number}","events_url":"https://api.github.com/repos/LocalData/localdata-dashboard/events","assignees_url":"https://api.github.com/repos/LocalData/localdata-dashboard/assignees{/user}","branches_url":"https://api.github.com/repos/LocalData/localdata-dashboard/branches{/branch}","tags_url":"https://api.github.com/repos/LocalData/localdata-dashboard/tags","blobs_url":"https://api.github.com/repos/LocalData/localdata-dashboard/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LocalData/localdata-dashboard/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LocalData/localdata-dashboard/git/refs{/sha}","trees_url":"https://api.github.com/repos/LocalData/localdata-dashboard/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LocalData/localdata-dashboard/statuses/{sha}","languages_url":"https://api.github.com/repos/LocalData/localdata-dashboard/languages","stargazers_url":"https://api.github.com/repos/LocalData/localdata-dashboard/stargazers","contributors_url":"https://api.github.com/repos/LocalData/localdata-dashboard/contributors","subscribers_url":"https://api.github.com/repos/LocalData/localdata-dashboard/subscribers","subscription_url":"https://api.github.com/repos/LocalData/localdata-dashboard/subscription","commits_url":"https://api.github.com/repos/LocalData/localdata-dashboard/commits{/sha}","git_commits_url":"https://api.github.com/repos/LocalData/localdata-dashboard/git/commits{/sha}","comments_url":"https://api.github.com/repos/LocalData/localdata-dashboard/comments{/number}","issue_comment_url":"https://api.github.com/repos/LocalData/localdata-dashboard/issues/comments/{number}","contents_url":"https://api.github.com/repos/LocalData/localdata-dashboard/contents/{+path}","compare_url":"https://api.github.com/repos/LocalData/localdata-dashboard/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LocalData/localdata-dashboard/merges","archive_url":"https://api.github.com/repos/LocalData/localdata-dashboard/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LocalData/localdata-dashboard/downloads","issues_url":"https://api.github.com/repos/LocalData/localdata-dashboard/issues{/number}","pulls_url":"https://api.github.com/repos/LocalData/localdata-dashboard/pulls{/number}","milestones_url":"https://api.github.com/repos/LocalData/localdata-dashboard/milestones{/number}","notifications_url":"https://api.github.com/repos/LocalData/localdata-dashboard/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LocalData/localdata-dashboard/labels{/name}","releases_url":"https://api.github.com/repos/LocalData/localdata-dashboard/releases{/id}","created_at":"2013-01-15T22:57:35Z","updated_at":"2015-01-03T14:34:28Z","pushed_at":"2015-01-07T16:05:00Z","git_url":"git://github.com/LocalData/localdata-dashboard.git","ssh_url":"git@github.com:LocalData/localdata-dashboard.git","clone_url":"https://github.com/LocalData/localdata-dashboard.git","svn_url":"https://github.com/LocalData/localdata-dashboard","homepage":"","size":6687,"stargazers_count":9,"watchers_count":9,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":101,"forks":6,"open_issues":101,"watchers":9,"default_branch":"master"}},"base":{"label":"LocalData:projects","ref":"projects","sha":"41a5ebb55ae36bbfb5c0807e243bbebb8a531628","user":{"login":"LocalData","id":2413672,"avatar_url":"https://avatars.githubusercontent.com/u/2413672?v=3","gravatar_id":"","url":"https://api.github.com/users/LocalData","html_url":"https://github.com/LocalData","followers_url":"https://api.github.com/users/LocalData/followers","following_url":"https://api.github.com/users/LocalData/following{/other_user}","gists_url":"https://api.github.com/users/LocalData/gists{/gist_id}","starred_url":"https://api.github.com/users/LocalData/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LocalData/subscriptions","organizations_url":"https://api.github.com/users/LocalData/orgs","repos_url":"https://api.github.com/users/LocalData/repos","events_url":"https://api.github.com/users/LocalData/events{/privacy}","received_events_url":"https://api.github.com/users/LocalData/received_events","type":"Organization","site_admin":false},"repo":{"id":7634994,"name":"localdata-dashboard","full_name":"LocalData/localdata-dashboard","owner":{"login":"LocalData","id":2413672,"avatar_url":"https://avatars.githubusercontent.com/u/2413672?v=3","gravatar_id":"","url":"https://api.github.com/users/LocalData","html_url":"https://github.com/LocalData","followers_url":"https://api.github.com/users/LocalData/followers","following_url":"https://api.github.com/users/LocalData/following{/other_user}","gists_url":"https://api.github.com/users/LocalData/gists{/gist_id}","starred_url":"https://api.github.com/users/LocalData/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LocalData/subscriptions","organizations_url":"https://api.github.com/users/LocalData/orgs","repos_url":"https://api.github.com/users/LocalData/repos","events_url":"https://api.github.com/users/LocalData/events{/privacy}","received_events_url":"https://api.github.com/users/LocalData/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/LocalData/localdata-dashboard","description":"","fork":false,"url":"https://api.github.com/repos/LocalData/localdata-dashboard","forks_url":"https://api.github.com/repos/LocalData/localdata-dashboard/forks","keys_url":"https://api.github.com/repos/LocalData/localdata-dashboard/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LocalData/localdata-dashboard/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LocalData/localdata-dashboard/teams","hooks_url":"https://api.github.com/repos/LocalData/localdata-dashboard/hooks","issue_events_url":"https://api.github.com/repos/LocalData/localdata-dashboard/issues/events{/number}","events_url":"https://api.github.com/repos/LocalData/localdata-dashboard/events","assignees_url":"https://api.github.com/repos/LocalData/localdata-dashboard/assignees{/user}","branches_url":"https://api.github.com/repos/LocalData/localdata-dashboard/branches{/branch}","tags_url":"https://api.github.com/repos/LocalData/localdata-dashboard/tags","blobs_url":"https://api.github.com/repos/LocalData/localdata-dashboard/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LocalData/localdata-dashboard/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LocalData/localdata-dashboard/git/refs{/sha}","trees_url":"https://api.github.com/repos/LocalData/localdata-dashboard/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LocalData/localdata-dashboard/statuses/{sha}","languages_url":"https://api.github.com/repos/LocalData/localdata-dashboard/languages","stargazers_url":"https://api.github.com/repos/LocalData/localdata-dashboard/stargazers","contributors_url":"https://api.github.com/repos/LocalData/localdata-dashboard/contributors","subscribers_url":"https://api.github.com/repos/LocalData/localdata-dashboard/subscribers","subscription_url":"https://api.github.com/repos/LocalData/localdata-dashboard/subscription","commits_url":"https://api.github.com/repos/LocalData/localdata-dashboard/commits{/sha}","git_commits_url":"https://api.github.com/repos/LocalData/localdata-dashboard/git/commits{/sha}","comments_url":"https://api.github.com/repos/LocalData/localdata-dashboard/comments{/number}","issue_comment_url":"https://api.github.com/repos/LocalData/localdata-dashboard/issues/comments/{number}","contents_url":"https://api.github.com/repos/LocalData/localdata-dashboard/contents/{+path}","compare_url":"https://api.github.com/repos/LocalData/localdata-dashboard/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LocalData/localdata-dashboard/merges","archive_url":"https://api.github.com/repos/LocalData/localdata-dashboard/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LocalData/localdata-dashboard/downloads","issues_url":"https://api.github.com/repos/LocalData/localdata-dashboard/issues{/number}","pulls_url":"https://api.github.com/repos/LocalData/localdata-dashboard/pulls{/number}","milestones_url":"https://api.github.com/repos/LocalData/localdata-dashboard/milestones{/number}","notifications_url":"https://api.github.com/repos/LocalData/localdata-dashboard/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LocalData/localdata-dashboard/labels{/name}","releases_url":"https://api.github.com/repos/LocalData/localdata-dashboard/releases{/id}","created_at":"2013-01-15T22:57:35Z","updated_at":"2015-01-03T14:34:28Z","pushed_at":"2015-01-07T16:05:00Z","git_url":"git://github.com/LocalData/localdata-dashboard.git","ssh_url":"git@github.com:LocalData/localdata-dashboard.git","clone_url":"https://github.com/LocalData/localdata-dashboard.git","svn_url":"https://github.com/LocalData/localdata-dashboard","homepage":"","size":6687,"stargazers_count":9,"watchers_count":9,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":101,"forks":6,"open_issues":101,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/LocalData/localdata-dashboard/pulls/451"},"html":{"href":"https://github.com/LocalData/localdata-dashboard/pull/451"},"issue":{"href":"https://api.github.com/repos/LocalData/localdata-dashboard/issues/451"},"comments":{"href":"https://api.github.com/repos/LocalData/localdata-dashboard/issues/451/comments"},"review_comments":{"href":"https://api.github.com/repos/LocalData/localdata-dashboard/pulls/451/comments"},"review_comment":{"href":"https://api.github.com/repos/LocalData/localdata-dashboard/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/LocalData/localdata-dashboard/pulls/451/commits"},"statuses":{"href":"https://api.github.com/repos/LocalData/localdata-dashboard/statuses/11caa1b4cb8084a88ec941d7983f59068f65a84d"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":193,"deletions":44,"changed_files":7}}