{"action":"created","comment":{"url":"https://api.github.com/repos/kosmtik/kosmtik/pulls/comments/22894026","id":22894026,"diff_hunk":"@@ -2,7 +2,18 @@ L.TileLayer.XRay = L.TileLayer.extend({\n \n     getTileUrl: function (tilePoint) {\n         this.options.version = Date.now();\n-        this.options.showLayer = L.K.Config.dataInspectorLayer || '';\n+        var keys = Object.keys(L.K.Config);\n+        if (L.K.Config['dataInspectorLayer___all__'] === true) {","path":"src/front/DataInspector.js","position":null,"original_position":6,"commit_id":"5a52838ddb7efc678e6c65cf29fa87ca65d013f5","original_commit_id":"851ac84d9ac7ff68b5486ede7b9a6c00a09cc15d","user":{"login":"yohanboniface","id":146023,"avatar_url":"https://avatars.githubusercontent.com/u/146023?v=3","gravatar_id":"","url":"https://api.github.com/users/yohanboniface","html_url":"https://github.com/yohanboniface","followers_url":"https://api.github.com/users/yohanboniface/followers","following_url":"https://api.github.com/users/yohanboniface/following{/other_user}","gists_url":"https://api.github.com/users/yohanboniface/gists{/gist_id}","starred_url":"https://api.github.com/users/yohanboniface/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yohanboniface/subscriptions","organizations_url":"https://api.github.com/users/yohanboniface/orgs","repos_url":"https://api.github.com/users/yohanboniface/repos","events_url":"https://api.github.com/users/yohanboniface/events{/privacy}","received_events_url":"https://api.github.com/users/yohanboniface/received_events","type":"User","site_admin":false},"body":"You need to make sure `L.K.Config.dataInspector` exists and is an object before calling FormBuilder. FormBuilder expects an existing object.\r\n\r\nI need to add a bit of documentation do Leaflet.FormBuilder :/ I'll do that with the new version of uMap, as soon as Leaflet 1.0 is finally released.","created_at":"2015-01-13T20:59:02Z","updated_at":"2015-01-13T20:59:02Z","html_url":"https://github.com/kosmtik/kosmtik/pull/35#discussion_r22894026","pull_request_url":"https://api.github.com/repos/kosmtik/kosmtik/pulls/35","_links":{"self":{"href":"https://api.github.com/repos/kosmtik/kosmtik/pulls/comments/22894026"},"html":{"href":"https://github.com/kosmtik/kosmtik/pull/35#discussion_r22894026"},"pull_request":{"href":"https://api.github.com/repos/kosmtik/kosmtik/pulls/35"}}},"pull_request":{"url":"https://api.github.com/repos/kosmtik/kosmtik/pulls/35","id":27168998,"html_url":"https://github.com/kosmtik/kosmtik/pull/35","diff_url":"https://github.com/kosmtik/kosmtik/pull/35.diff","patch_url":"https://github.com/kosmtik/kosmtik/pull/35.patch","issue_url":"https://api.github.com/repos/kosmtik/kosmtik/issues/35","number":35,"state":"open","locked":false,"title":"Show checkboxes for individual layers in Data Inspector","user":{"login":"mapmeld","id":643918,"avatar_url":"https://avatars.githubusercontent.com/u/643918?v=3","gravatar_id":"","url":"https://api.github.com/users/mapmeld","html_url":"https://github.com/mapmeld","followers_url":"https://api.github.com/users/mapmeld/followers","following_url":"https://api.github.com/users/mapmeld/following{/other_user}","gists_url":"https://api.github.com/users/mapmeld/gists{/gist_id}","starred_url":"https://api.github.com/users/mapmeld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapmeld/subscriptions","organizations_url":"https://api.github.com/users/mapmeld/orgs","repos_url":"https://api.github.com/users/mapmeld/repos","events_url":"https://api.github.com/users/mapmeld/events{/privacy}","received_events_url":"https://api.github.com/users/mapmeld/received_events","type":"User","site_admin":false},"body":"Produces a scrollable list of all available layers with checkboxes, looks like this:\r\n\r\n![screen shot 2015-01-11 at 5 00 56 pm](https://cloud.githubusercontent.com/assets/643918/5697047/6cfd2f24-99b3-11e4-8a97-0a1056a1a34a.png)\r\n","created_at":"2015-01-11T22:01:45Z","updated_at":"2015-01-13T20:59:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a581038ea5a57c43ab1df0b4201ec2d9b245012b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/kosmtik/kosmtik/pulls/35/commits","review_comments_url":"https://api.github.com/repos/kosmtik/kosmtik/pulls/35/comments","review_comment_url":"https://api.github.com/repos/kosmtik/kosmtik/pulls/comments/{number}","comments_url":"https://api.github.com/repos/kosmtik/kosmtik/issues/35/comments","statuses_url":"https://api.github.com/repos/kosmtik/kosmtik/statuses/5a52838ddb7efc678e6c65cf29fa87ca65d013f5","head":{"label":"mapmeld:xray_layers","ref":"xray_layers","sha":"5a52838ddb7efc678e6c65cf29fa87ca65d013f5","user":{"login":"mapmeld","id":643918,"avatar_url":"https://avatars.githubusercontent.com/u/643918?v=3","gravatar_id":"","url":"https://api.github.com/users/mapmeld","html_url":"https://github.com/mapmeld","followers_url":"https://api.github.com/users/mapmeld/followers","following_url":"https://api.github.com/users/mapmeld/following{/other_user}","gists_url":"https://api.github.com/users/mapmeld/gists{/gist_id}","starred_url":"https://api.github.com/users/mapmeld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapmeld/subscriptions","organizations_url":"https://api.github.com/users/mapmeld/orgs","repos_url":"https://api.github.com/users/mapmeld/repos","events_url":"https://api.github.com/users/mapmeld/events{/privacy}","received_events_url":"https://api.github.com/users/mapmeld/received_events","type":"User","site_admin":false},"repo":{"id":29107708,"name":"kosmtik","full_name":"mapmeld/kosmtik","owner":{"login":"mapmeld","id":643918,"avatar_url":"https://avatars.githubusercontent.com/u/643918?v=3","gravatar_id":"","url":"https://api.github.com/users/mapmeld","html_url":"https://github.com/mapmeld","followers_url":"https://api.github.com/users/mapmeld/followers","following_url":"https://api.github.com/users/mapmeld/following{/other_user}","gists_url":"https://api.github.com/users/mapmeld/gists{/gist_id}","starred_url":"https://api.github.com/users/mapmeld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapmeld/subscriptions","organizations_url":"https://api.github.com/users/mapmeld/orgs","repos_url":"https://api.github.com/users/mapmeld/repos","events_url":"https://api.github.com/users/mapmeld/events{/privacy}","received_events_url":"https://api.github.com/users/mapmeld/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mapmeld/kosmtik","description":"Multiple XRay layers for OSM tiling tool","fork":true,"url":"https://api.github.com/repos/mapmeld/kosmtik","forks_url":"https://api.github.com/repos/mapmeld/kosmtik/forks","keys_url":"https://api.github.com/repos/mapmeld/kosmtik/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mapmeld/kosmtik/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mapmeld/kosmtik/teams","hooks_url":"https://api.github.com/repos/mapmeld/kosmtik/hooks","issue_events_url":"https://api.github.com/repos/mapmeld/kosmtik/issues/events{/number}","events_url":"https://api.github.com/repos/mapmeld/kosmtik/events","assignees_url":"https://api.github.com/repos/mapmeld/kosmtik/assignees{/user}","branches_url":"https://api.github.com/repos/mapmeld/kosmtik/branches{/branch}","tags_url":"https://api.github.com/repos/mapmeld/kosmtik/tags","blobs_url":"https://api.github.com/repos/mapmeld/kosmtik/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mapmeld/kosmtik/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mapmeld/kosmtik/git/refs{/sha}","trees_url":"https://api.github.com/repos/mapmeld/kosmtik/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mapmeld/kosmtik/statuses/{sha}","languages_url":"https://api.github.com/repos/mapmeld/kosmtik/languages","stargazers_url":"https://api.github.com/repos/mapmeld/kosmtik/stargazers","contributors_url":"https://api.github.com/repos/mapmeld/kosmtik/contributors","subscribers_url":"https://api.github.com/repos/mapmeld/kosmtik/subscribers","subscription_url":"https://api.github.com/repos/mapmeld/kosmtik/subscription","commits_url":"https://api.github.com/repos/mapmeld/kosmtik/commits{/sha}","git_commits_url":"https://api.github.com/repos/mapmeld/kosmtik/git/commits{/sha}","comments_url":"https://api.github.com/repos/mapmeld/kosmtik/comments{/number}","issue_comment_url":"https://api.github.com/repos/mapmeld/kosmtik/issues/comments/{number}","contents_url":"https://api.github.com/repos/mapmeld/kosmtik/contents/{+path}","compare_url":"https://api.github.com/repos/mapmeld/kosmtik/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mapmeld/kosmtik/merges","archive_url":"https://api.github.com/repos/mapmeld/kosmtik/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mapmeld/kosmtik/downloads","issues_url":"https://api.github.com/repos/mapmeld/kosmtik/issues{/number}","pulls_url":"https://api.github.com/repos/mapmeld/kosmtik/pulls{/number}","milestones_url":"https://api.github.com/repos/mapmeld/kosmtik/milestones{/number}","notifications_url":"https://api.github.com/repos/mapmeld/kosmtik/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mapmeld/kosmtik/labels{/name}","releases_url":"https://api.github.com/repos/mapmeld/kosmtik/releases{/id}","created_at":"2015-01-11T21:59:31Z","updated_at":"2015-01-13T05:10:32Z","pushed_at":"2015-01-13T05:10:32Z","git_url":"git://github.com/mapmeld/kosmtik.git","ssh_url":"git@github.com:mapmeld/kosmtik.git","clone_url":"https://github.com/mapmeld/kosmtik.git","svn_url":"https://github.com/mapmeld/kosmtik","homepage":"","size":3469,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"xray_layers"}},"base":{"label":"kosmtik:master","ref":"master","sha":"3c35d5a716dacfc39bb73f3113845cee71f5022c","user":{"login":"kosmtik","id":8860104,"avatar_url":"https://avatars.githubusercontent.com/u/8860104?v=3","gravatar_id":"","url":"https://api.github.com/users/kosmtik","html_url":"https://github.com/kosmtik","followers_url":"https://api.github.com/users/kosmtik/followers","following_url":"https://api.github.com/users/kosmtik/following{/other_user}","gists_url":"https://api.github.com/users/kosmtik/gists{/gist_id}","starred_url":"https://api.github.com/users/kosmtik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kosmtik/subscriptions","organizations_url":"https://api.github.com/users/kosmtik/orgs","repos_url":"https://api.github.com/users/kosmtik/repos","events_url":"https://api.github.com/users/kosmtik/events{/privacy}","received_events_url":"https://api.github.com/users/kosmtik/received_events","type":"Organization","site_admin":false},"repo":{"id":24325238,"name":"kosmtik","full_name":"kosmtik/kosmtik","owner":{"login":"kosmtik","id":8860104,"avatar_url":"https://avatars.githubusercontent.com/u/8860104?v=3","gravatar_id":"","url":"https://api.github.com/users/kosmtik","html_url":"https://github.com/kosmtik","followers_url":"https://api.github.com/users/kosmtik/followers","following_url":"https://api.github.com/users/kosmtik/following{/other_user}","gists_url":"https://api.github.com/users/kosmtik/gists{/gist_id}","starred_url":"https://api.github.com/users/kosmtik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kosmtik/subscriptions","organizations_url":"https://api.github.com/users/kosmtik/orgs","repos_url":"https://api.github.com/users/kosmtik/repos","events_url":"https://api.github.com/users/kosmtik/events{/privacy}","received_events_url":"https://api.github.com/users/kosmtik/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kosmtik/kosmtik","description":"Make maps with OpenStreetMap and Mapnik","fork":false,"url":"https://api.github.com/repos/kosmtik/kosmtik","forks_url":"https://api.github.com/repos/kosmtik/kosmtik/forks","keys_url":"https://api.github.com/repos/kosmtik/kosmtik/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kosmtik/kosmtik/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kosmtik/kosmtik/teams","hooks_url":"https://api.github.com/repos/kosmtik/kosmtik/hooks","issue_events_url":"https://api.github.com/repos/kosmtik/kosmtik/issues/events{/number}","events_url":"https://api.github.com/repos/kosmtik/kosmtik/events","assignees_url":"https://api.github.com/repos/kosmtik/kosmtik/assignees{/user}","branches_url":"https://api.github.com/repos/kosmtik/kosmtik/branches{/branch}","tags_url":"https://api.github.com/repos/kosmtik/kosmtik/tags","blobs_url":"https://api.github.com/repos/kosmtik/kosmtik/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kosmtik/kosmtik/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kosmtik/kosmtik/git/refs{/sha}","trees_url":"https://api.github.com/repos/kosmtik/kosmtik/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kosmtik/kosmtik/statuses/{sha}","languages_url":"https://api.github.com/repos/kosmtik/kosmtik/languages","stargazers_url":"https://api.github.com/repos/kosmtik/kosmtik/stargazers","contributors_url":"https://api.github.com/repos/kosmtik/kosmtik/contributors","subscribers_url":"https://api.github.com/repos/kosmtik/kosmtik/subscribers","subscription_url":"https://api.github.com/repos/kosmtik/kosmtik/subscription","commits_url":"https://api.github.com/repos/kosmtik/kosmtik/commits{/sha}","git_commits_url":"https://api.github.com/repos/kosmtik/kosmtik/git/commits{/sha}","comments_url":"https://api.github.com/repos/kosmtik/kosmtik/comments{/number}","issue_comment_url":"https://api.github.com/repos/kosmtik/kosmtik/issues/comments/{number}","contents_url":"https://api.github.com/repos/kosmtik/kosmtik/contents/{+path}","compare_url":"https://api.github.com/repos/kosmtik/kosmtik/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kosmtik/kosmtik/merges","archive_url":"https://api.github.com/repos/kosmtik/kosmtik/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kosmtik/kosmtik/downloads","issues_url":"https://api.github.com/repos/kosmtik/kosmtik/issues{/number}","pulls_url":"https://api.github.com/repos/kosmtik/kosmtik/pulls{/number}","milestones_url":"https://api.github.com/repos/kosmtik/kosmtik/milestones{/number}","notifications_url":"https://api.github.com/repos/kosmtik/kosmtik/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kosmtik/kosmtik/labels{/name}","releases_url":"https://api.github.com/repos/kosmtik/kosmtik/releases{/id}","created_at":"2014-09-22T11:03:33Z","updated_at":"2015-01-13T06:09:22Z","pushed_at":"2015-01-11T10:12:52Z","git_url":"git://github.com/kosmtik/kosmtik.git","ssh_url":"git@github.com:kosmtik/kosmtik.git","clone_url":"https://github.com/kosmtik/kosmtik.git","svn_url":"https://github.com/kosmtik/kosmtik","homepage":null,"size":3469,"stargazers_count":42,"watchers_count":42,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":13,"forks":8,"open_issues":13,"watchers":42,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kosmtik/kosmtik/pulls/35"},"html":{"href":"https://github.com/kosmtik/kosmtik/pull/35"},"issue":{"href":"https://api.github.com/repos/kosmtik/kosmtik/issues/35"},"comments":{"href":"https://api.github.com/repos/kosmtik/kosmtik/issues/35/comments"},"review_comments":{"href":"https://api.github.com/repos/kosmtik/kosmtik/pulls/35/comments"},"review_comment":{"href":"https://api.github.com/repos/kosmtik/kosmtik/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/kosmtik/kosmtik/pulls/35/commits"},"statuses":{"href":"https://api.github.com/repos/kosmtik/kosmtik/statuses/5a52838ddb7efc678e6c65cf29fa87ca65d013f5"}}}}