{"action":"created","comment":{"url":"https://api.github.com/repos/rfc2616/mapfilter/pulls/comments/59580524","id":59580524,"diff_hunk":"@@ -54,6 +54,45 @@ module.exports = require('backbone').Model.extend({\n       return [lat, lng];\n     else\n       return [this.defaults.mapCenterLat, this.defaults.mapCenterLong];\n+  },\n+\n+  /*\n+   * Should be an object with the following properties:\n+   *\n+   * tiles: {\n+   *   url: '/tileLayers', // the url to get the list of layers\n+   *   tilesPath: '/monitoring-files/Maps/Tiles' // the base path for tiles\n+   * }\n+   */\n+  getTilesInfo: function() {","path":"js/mapfilter/config.js","position":14,"original_position":14,"commit_id":"9a85b9fceb64d2466d615a90fb6633736c221686","original_commit_id":"9a85b9fceb64d2466d615a90fb6633736c221686","user":{"login":"GoGoCarl","id":1719249,"avatar_url":"https://avatars.githubusercontent.com/u/1719249?v=3","gravatar_id":"","url":"https://api.github.com/users/GoGoCarl","html_url":"https://github.com/GoGoCarl","followers_url":"https://api.github.com/users/GoGoCarl/followers","following_url":"https://api.github.com/users/GoGoCarl/following{/other_user}","gists_url":"https://api.github.com/users/GoGoCarl/gists{/gist_id}","starred_url":"https://api.github.com/users/GoGoCarl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoGoCarl/subscriptions","organizations_url":"https://api.github.com/users/GoGoCarl/orgs","repos_url":"https://api.github.com/users/GoGoCarl/repos","events_url":"https://api.github.com/users/GoGoCarl/events{/privacy}","received_events_url":"https://api.github.com/users/GoGoCarl/received_events","type":"User","site_admin":false},"body":"This gets populated via /json/mapfilter-config.json.  From the monitoring station's `controllers/map-filter.js`, we drive what gets populated here.\r\n\r\nIn the other PR, we always pass this object, so this always has data in that context.  The web version won't (but, of course, we can if we add that as a feature).","created_at":"2016-04-13T16:31:59Z","updated_at":"2016-04-13T16:31:59Z","html_url":"https://github.com/rfc2616/mapfilter/pull/9#discussion_r59580524","pull_request_url":"https://api.github.com/repos/rfc2616/mapfilter/pulls/9","_links":{"self":{"href":"https://api.github.com/repos/rfc2616/mapfilter/pulls/comments/59580524"},"html":{"href":"https://github.com/rfc2616/mapfilter/pull/9#discussion_r59580524"},"pull_request":{"href":"https://api.github.com/repos/rfc2616/mapfilter/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/rfc2616/mapfilter/pulls/9","id":66351633,"html_url":"https://github.com/rfc2616/mapfilter/pull/9","diff_url":"https://github.com/rfc2616/mapfilter/pull/9.diff","patch_url":"https://github.com/rfc2616/mapfilter/pull/9.patch","issue_url":"https://api.github.com/repos/rfc2616/mapfilter/issues/9","number":9,"state":"open","locked":false,"title":"Configurable map layers.","user":{"login":"GoGoCarl","id":1719249,"avatar_url":"https://avatars.githubusercontent.com/u/1719249?v=3","gravatar_id":"","url":"https://api.github.com/users/GoGoCarl","html_url":"https://github.com/GoGoCarl","followers_url":"https://api.github.com/users/GoGoCarl/followers","following_url":"https://api.github.com/users/GoGoCarl/following{/other_user}","gists_url":"https://api.github.com/users/GoGoCarl/gists{/gist_id}","starred_url":"https://api.github.com/users/GoGoCarl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoGoCarl/subscriptions","organizations_url":"https://api.github.com/users/GoGoCarl/orgs","repos_url":"https://api.github.com/users/GoGoCarl/repos","events_url":"https://api.github.com/users/GoGoCarl/events{/privacy}","received_events_url":"https://api.github.com/users/GoGoCarl/received_events","type":"User","site_admin":false},"body":"Added configuration settings for /tracks and /tileLayers.\r\nThese will only be interrogated if designated in config.","created_at":"2016-04-13T16:29:39Z","updated_at":"2016-04-13T16:31:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"27fa763d6187d173cfa8b6266a2dc3e79aee7230","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rfc2616/mapfilter/pulls/9/commits","review_comments_url":"https://api.github.com/repos/rfc2616/mapfilter/pulls/9/comments","review_comment_url":"https://api.github.com/repos/rfc2616/mapfilter/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rfc2616/mapfilter/issues/9/comments","statuses_url":"https://api.github.com/repos/rfc2616/mapfilter/statuses/9a85b9fceb64d2466d615a90fb6633736c221686","head":{"label":"GoGoCarl:fileodk-map","ref":"fileodk-map","sha":"9a85b9fceb64d2466d615a90fb6633736c221686","user":{"login":"GoGoCarl","id":1719249,"avatar_url":"https://avatars.githubusercontent.com/u/1719249?v=3","gravatar_id":"","url":"https://api.github.com/users/GoGoCarl","html_url":"https://github.com/GoGoCarl","followers_url":"https://api.github.com/users/GoGoCarl/followers","following_url":"https://api.github.com/users/GoGoCarl/following{/other_user}","gists_url":"https://api.github.com/users/GoGoCarl/gists{/gist_id}","starred_url":"https://api.github.com/users/GoGoCarl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoGoCarl/subscriptions","organizations_url":"https://api.github.com/users/GoGoCarl/orgs","repos_url":"https://api.github.com/users/GoGoCarl/repos","events_url":"https://api.github.com/users/GoGoCarl/events{/privacy}","received_events_url":"https://api.github.com/users/GoGoCarl/received_events","type":"User","site_admin":false},"repo":{"id":43444163,"name":"mapfilter","full_name":"GoGoCarl/mapfilter","owner":{"login":"GoGoCarl","id":1719249,"avatar_url":"https://avatars.githubusercontent.com/u/1719249?v=3","gravatar_id":"","url":"https://api.github.com/users/GoGoCarl","html_url":"https://github.com/GoGoCarl","followers_url":"https://api.github.com/users/GoGoCarl/followers","following_url":"https://api.github.com/users/GoGoCarl/following{/other_user}","gists_url":"https://api.github.com/users/GoGoCarl/gists{/gist_id}","starred_url":"https://api.github.com/users/GoGoCarl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoGoCarl/subscriptions","organizations_url":"https://api.github.com/users/GoGoCarl/orgs","repos_url":"https://api.github.com/users/GoGoCarl/repos","events_url":"https://api.github.com/users/GoGoCarl/events{/privacy}","received_events_url":"https://api.github.com/users/GoGoCarl/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/GoGoCarl/mapfilter","description":"MapFilter","fork":true,"url":"https://api.github.com/repos/GoGoCarl/mapfilter","forks_url":"https://api.github.com/repos/GoGoCarl/mapfilter/forks","keys_url":"https://api.github.com/repos/GoGoCarl/mapfilter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GoGoCarl/mapfilter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GoGoCarl/mapfilter/teams","hooks_url":"https://api.github.com/repos/GoGoCarl/mapfilter/hooks","issue_events_url":"https://api.github.com/repos/GoGoCarl/mapfilter/issues/events{/number}","events_url":"https://api.github.com/repos/GoGoCarl/mapfilter/events","assignees_url":"https://api.github.com/repos/GoGoCarl/mapfilter/assignees{/user}","branches_url":"https://api.github.com/repos/GoGoCarl/mapfilter/branches{/branch}","tags_url":"https://api.github.com/repos/GoGoCarl/mapfilter/tags","blobs_url":"https://api.github.com/repos/GoGoCarl/mapfilter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GoGoCarl/mapfilter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GoGoCarl/mapfilter/git/refs{/sha}","trees_url":"https://api.github.com/repos/GoGoCarl/mapfilter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GoGoCarl/mapfilter/statuses/{sha}","languages_url":"https://api.github.com/repos/GoGoCarl/mapfilter/languages","stargazers_url":"https://api.github.com/repos/GoGoCarl/mapfilter/stargazers","contributors_url":"https://api.github.com/repos/GoGoCarl/mapfilter/contributors","subscribers_url":"https://api.github.com/repos/GoGoCarl/mapfilter/subscribers","subscription_url":"https://api.github.com/repos/GoGoCarl/mapfilter/subscription","commits_url":"https://api.github.com/repos/GoGoCarl/mapfilter/commits{/sha}","git_commits_url":"https://api.github.com/repos/GoGoCarl/mapfilter/git/commits{/sha}","comments_url":"https://api.github.com/repos/GoGoCarl/mapfilter/comments{/number}","issue_comment_url":"https://api.github.com/repos/GoGoCarl/mapfilter/issues/comments{/number}","contents_url":"https://api.github.com/repos/GoGoCarl/mapfilter/contents/{+path}","compare_url":"https://api.github.com/repos/GoGoCarl/mapfilter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GoGoCarl/mapfilter/merges","archive_url":"https://api.github.com/repos/GoGoCarl/mapfilter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GoGoCarl/mapfilter/downloads","issues_url":"https://api.github.com/repos/GoGoCarl/mapfilter/issues{/number}","pulls_url":"https://api.github.com/repos/GoGoCarl/mapfilter/pulls{/number}","milestones_url":"https://api.github.com/repos/GoGoCarl/mapfilter/milestones{/number}","notifications_url":"https://api.github.com/repos/GoGoCarl/mapfilter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GoGoCarl/mapfilter/labels{/name}","releases_url":"https://api.github.com/repos/GoGoCarl/mapfilter/releases{/id}","deployments_url":"https://api.github.com/repos/GoGoCarl/mapfilter/deployments","created_at":"2015-09-30T16:21:55Z","updated_at":"2015-09-30T16:21:56Z","pushed_at":"2016-04-13T16:24:26Z","git_url":"git://github.com/GoGoCarl/mapfilter.git","ssh_url":"git@github.com:GoGoCarl/mapfilter.git","clone_url":"https://github.com/GoGoCarl/mapfilter.git","svn_url":"https://github.com/GoGoCarl/mapfilter","homepage":"https://lab.digital-democracy.org/mapfilter","size":2378,"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":"master"}},"base":{"label":"rfc2616:fileodk","ref":"fileodk","sha":"8950a004b665a9c590b626e77f4726715096184e","user":{"login":"rfc2616","id":106707,"avatar_url":"https://avatars.githubusercontent.com/u/106707?v=3","gravatar_id":"","url":"https://api.github.com/users/rfc2616","html_url":"https://github.com/rfc2616","followers_url":"https://api.github.com/users/rfc2616/followers","following_url":"https://api.github.com/users/rfc2616/following{/other_user}","gists_url":"https://api.github.com/users/rfc2616/gists{/gist_id}","starred_url":"https://api.github.com/users/rfc2616/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rfc2616/subscriptions","organizations_url":"https://api.github.com/users/rfc2616/orgs","repos_url":"https://api.github.com/users/rfc2616/repos","events_url":"https://api.github.com/users/rfc2616/events{/privacy}","received_events_url":"https://api.github.com/users/rfc2616/received_events","type":"User","site_admin":false},"repo":{"id":42995201,"name":"mapfilter","full_name":"rfc2616/mapfilter","owner":{"login":"rfc2616","id":106707,"avatar_url":"https://avatars.githubusercontent.com/u/106707?v=3","gravatar_id":"","url":"https://api.github.com/users/rfc2616","html_url":"https://github.com/rfc2616","followers_url":"https://api.github.com/users/rfc2616/followers","following_url":"https://api.github.com/users/rfc2616/following{/other_user}","gists_url":"https://api.github.com/users/rfc2616/gists{/gist_id}","starred_url":"https://api.github.com/users/rfc2616/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rfc2616/subscriptions","organizations_url":"https://api.github.com/users/rfc2616/orgs","repos_url":"https://api.github.com/users/rfc2616/repos","events_url":"https://api.github.com/users/rfc2616/events{/privacy}","received_events_url":"https://api.github.com/users/rfc2616/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rfc2616/mapfilter","description":"MapFilter","fork":true,"url":"https://api.github.com/repos/rfc2616/mapfilter","forks_url":"https://api.github.com/repos/rfc2616/mapfilter/forks","keys_url":"https://api.github.com/repos/rfc2616/mapfilter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rfc2616/mapfilter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rfc2616/mapfilter/teams","hooks_url":"https://api.github.com/repos/rfc2616/mapfilter/hooks","issue_events_url":"https://api.github.com/repos/rfc2616/mapfilter/issues/events{/number}","events_url":"https://api.github.com/repos/rfc2616/mapfilter/events","assignees_url":"https://api.github.com/repos/rfc2616/mapfilter/assignees{/user}","branches_url":"https://api.github.com/repos/rfc2616/mapfilter/branches{/branch}","tags_url":"https://api.github.com/repos/rfc2616/mapfilter/tags","blobs_url":"https://api.github.com/repos/rfc2616/mapfilter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rfc2616/mapfilter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rfc2616/mapfilter/git/refs{/sha}","trees_url":"https://api.github.com/repos/rfc2616/mapfilter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rfc2616/mapfilter/statuses/{sha}","languages_url":"https://api.github.com/repos/rfc2616/mapfilter/languages","stargazers_url":"https://api.github.com/repos/rfc2616/mapfilter/stargazers","contributors_url":"https://api.github.com/repos/rfc2616/mapfilter/contributors","subscribers_url":"https://api.github.com/repos/rfc2616/mapfilter/subscribers","subscription_url":"https://api.github.com/repos/rfc2616/mapfilter/subscription","commits_url":"https://api.github.com/repos/rfc2616/mapfilter/commits{/sha}","git_commits_url":"https://api.github.com/repos/rfc2616/mapfilter/git/commits{/sha}","comments_url":"https://api.github.com/repos/rfc2616/mapfilter/comments{/number}","issue_comment_url":"https://api.github.com/repos/rfc2616/mapfilter/issues/comments{/number}","contents_url":"https://api.github.com/repos/rfc2616/mapfilter/contents/{+path}","compare_url":"https://api.github.com/repos/rfc2616/mapfilter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rfc2616/mapfilter/merges","archive_url":"https://api.github.com/repos/rfc2616/mapfilter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rfc2616/mapfilter/downloads","issues_url":"https://api.github.com/repos/rfc2616/mapfilter/issues{/number}","pulls_url":"https://api.github.com/repos/rfc2616/mapfilter/pulls{/number}","milestones_url":"https://api.github.com/repos/rfc2616/mapfilter/milestones{/number}","notifications_url":"https://api.github.com/repos/rfc2616/mapfilter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rfc2616/mapfilter/labels{/name}","releases_url":"https://api.github.com/repos/rfc2616/mapfilter/releases{/id}","deployments_url":"https://api.github.com/repos/rfc2616/mapfilter/deployments","created_at":"2015-09-23T10:44:04Z","updated_at":"2015-09-23T10:44:05Z","pushed_at":"2016-04-13T16:29:39Z","git_url":"git://github.com/rfc2616/mapfilter.git","ssh_url":"git@github.com:rfc2616/mapfilter.git","clone_url":"https://github.com/rfc2616/mapfilter.git","svn_url":"https://github.com/rfc2616/mapfilter","homepage":"https://lab.digital-democracy.org/mapfilter","size":2376,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rfc2616/mapfilter/pulls/9"},"html":{"href":"https://github.com/rfc2616/mapfilter/pull/9"},"issue":{"href":"https://api.github.com/repos/rfc2616/mapfilter/issues/9"},"comments":{"href":"https://api.github.com/repos/rfc2616/mapfilter/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/rfc2616/mapfilter/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/rfc2616/mapfilter/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rfc2616/mapfilter/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/rfc2616/mapfilter/statuses/9a85b9fceb64d2466d615a90fb6633736c221686"}}}}