{"action":"created","comment":{"url":"https://api.github.com/repos/ISG-ICS/cloudberry/pulls/comments/86695348","pull_request_review_id":7339903,"id":86695348,"diff_hunk":"@@ -205,6 +169,88 @@ angular.module('cloudberry.map', ['leaflet-directive', 'cloudberry.common'])\n \n       loadGeoJsonFiles(onEachFeature);\n \n+      $scope.$on(\"leafletDirectiveMap.zoomend\", function() {","path":"neo/public/javascripts/map/controllers.js","position":68,"original_position":68,"commit_id":"2f26df90b7c665adc309213b0b4d4a315aecc452","original_commit_id":"2f26df90b7c665adc309213b0b4d4a315aecc452","user":{"login":"JavierJia","id":910229,"avatar_url":"https://avatars.githubusercontent.com/u/910229?v=3","gravatar_id":"","url":"https://api.github.com/users/JavierJia","html_url":"https://github.com/JavierJia","followers_url":"https://api.github.com/users/JavierJia/followers","following_url":"https://api.github.com/users/JavierJia/following{/other_user}","gists_url":"https://api.github.com/users/JavierJia/gists{/gist_id}","starred_url":"https://api.github.com/users/JavierJia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JavierJia/subscriptions","organizations_url":"https://api.github.com/users/JavierJia/orgs","repos_url":"https://api.github.com/users/JavierJia/repos","events_url":"https://api.github.com/users/JavierJia/events{/privacy}","received_events_url":"https://api.github.com/users/JavierJia/received_events","type":"User","site_admin":false},"body":"try to not move a large chunk of codes in the future. it makes review very hard.","created_at":"2016-11-06T20:27:03Z","updated_at":"2016-11-06T20:35:27Z","html_url":"https://github.com/ISG-ICS/cloudberry/pull/214#discussion_r86695348","pull_request_url":"https://api.github.com/repos/ISG-ICS/cloudberry/pulls/214","_links":{"self":{"href":"https://api.github.com/repos/ISG-ICS/cloudberry/pulls/comments/86695348"},"html":{"href":"https://github.com/ISG-ICS/cloudberry/pull/214#discussion_r86695348"},"pull_request":{"href":"https://api.github.com/repos/ISG-ICS/cloudberry/pulls/214"}}},"pull_request":{"url":"https://api.github.com/repos/ISG-ICS/cloudberry/pulls/214","id":90912634,"html_url":"https://github.com/ISG-ICS/cloudberry/pull/214","diff_url":"https://github.com/ISG-ICS/cloudberry/pull/214.diff","patch_url":"https://github.com/ISG-ICS/cloudberry/pull/214.patch","issue_url":"https://api.github.com/repos/ISG-ICS/cloudberry/issues/214","number":214,"state":"open","locked":false,"title":"Calculate centroids of cities in the middleware when it starts","user":{"login":"zonghengma","id":7375243,"avatar_url":"https://avatars.githubusercontent.com/u/7375243?v=3","gravatar_id":"","url":"https://api.github.com/users/zonghengma","html_url":"https://github.com/zonghengma","followers_url":"https://api.github.com/users/zonghengma/followers","following_url":"https://api.github.com/users/zonghengma/following{/other_user}","gists_url":"https://api.github.com/users/zonghengma/gists{/gist_id}","starred_url":"https://api.github.com/users/zonghengma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zonghengma/subscriptions","organizations_url":"https://api.github.com/users/zonghengma/orgs","repos_url":"https://api.github.com/users/zonghengma/repos","events_url":"https://api.github.com/users/zonghengma/events{/privacy}","received_events_url":"https://api.github.com/users/zonghengma/received_events","type":"User","site_admin":false},"body":"It is what I have at this point. \n\nThings left:\nStore the mid-points someway in order after calculation;\nBinary search the mid-points to return to front-end.\n\nrelated to #53 \n","created_at":"2016-10-25T23:44:54Z","updated_at":"2016-11-06T20:35:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"53304abb13d9429fbe44180b73eeb47f0fdb42a7","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/ISG-ICS/cloudberry/pulls/214/commits","review_comments_url":"https://api.github.com/repos/ISG-ICS/cloudberry/pulls/214/comments","review_comment_url":"https://api.github.com/repos/ISG-ICS/cloudberry/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ISG-ICS/cloudberry/issues/214/comments","statuses_url":"https://api.github.com/repos/ISG-ICS/cloudberry/statuses/2f26df90b7c665adc309213b0b4d4a315aecc452","head":{"label":"zonghengma:city","ref":"city","sha":"2f26df90b7c665adc309213b0b4d4a315aecc452","user":{"login":"zonghengma","id":7375243,"avatar_url":"https://avatars.githubusercontent.com/u/7375243?v=3","gravatar_id":"","url":"https://api.github.com/users/zonghengma","html_url":"https://github.com/zonghengma","followers_url":"https://api.github.com/users/zonghengma/followers","following_url":"https://api.github.com/users/zonghengma/following{/other_user}","gists_url":"https://api.github.com/users/zonghengma/gists{/gist_id}","starred_url":"https://api.github.com/users/zonghengma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zonghengma/subscriptions","organizations_url":"https://api.github.com/users/zonghengma/orgs","repos_url":"https://api.github.com/users/zonghengma/repos","events_url":"https://api.github.com/users/zonghengma/events{/privacy}","received_events_url":"https://api.github.com/users/zonghengma/received_events","type":"User","site_admin":false},"repo":{"id":71945728,"name":"cloudberry","full_name":"zonghengma/cloudberry","owner":{"login":"zonghengma","id":7375243,"avatar_url":"https://avatars.githubusercontent.com/u/7375243?v=3","gravatar_id":"","url":"https://api.github.com/users/zonghengma","html_url":"https://github.com/zonghengma","followers_url":"https://api.github.com/users/zonghengma/followers","following_url":"https://api.github.com/users/zonghengma/following{/other_user}","gists_url":"https://api.github.com/users/zonghengma/gists{/gist_id}","starred_url":"https://api.github.com/users/zonghengma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zonghengma/subscriptions","organizations_url":"https://api.github.com/users/zonghengma/orgs","repos_url":"https://api.github.com/users/zonghengma/repos","events_url":"https://api.github.com/users/zonghengma/events{/privacy}","received_events_url":"https://api.github.com/users/zonghengma/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zonghengma/cloudberry","description":"Interactive Twitter map analytic application","fork":true,"url":"https://api.github.com/repos/zonghengma/cloudberry","forks_url":"https://api.github.com/repos/zonghengma/cloudberry/forks","keys_url":"https://api.github.com/repos/zonghengma/cloudberry/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zonghengma/cloudberry/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zonghengma/cloudberry/teams","hooks_url":"https://api.github.com/repos/zonghengma/cloudberry/hooks","issue_events_url":"https://api.github.com/repos/zonghengma/cloudberry/issues/events{/number}","events_url":"https://api.github.com/repos/zonghengma/cloudberry/events","assignees_url":"https://api.github.com/repos/zonghengma/cloudberry/assignees{/user}","branches_url":"https://api.github.com/repos/zonghengma/cloudberry/branches{/branch}","tags_url":"https://api.github.com/repos/zonghengma/cloudberry/tags","blobs_url":"https://api.github.com/repos/zonghengma/cloudberry/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zonghengma/cloudberry/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zonghengma/cloudberry/git/refs{/sha}","trees_url":"https://api.github.com/repos/zonghengma/cloudberry/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zonghengma/cloudberry/statuses/{sha}","languages_url":"https://api.github.com/repos/zonghengma/cloudberry/languages","stargazers_url":"https://api.github.com/repos/zonghengma/cloudberry/stargazers","contributors_url":"https://api.github.com/repos/zonghengma/cloudberry/contributors","subscribers_url":"https://api.github.com/repos/zonghengma/cloudberry/subscribers","subscription_url":"https://api.github.com/repos/zonghengma/cloudberry/subscription","commits_url":"https://api.github.com/repos/zonghengma/cloudberry/commits{/sha}","git_commits_url":"https://api.github.com/repos/zonghengma/cloudberry/git/commits{/sha}","comments_url":"https://api.github.com/repos/zonghengma/cloudberry/comments{/number}","issue_comment_url":"https://api.github.com/repos/zonghengma/cloudberry/issues/comments{/number}","contents_url":"https://api.github.com/repos/zonghengma/cloudberry/contents/{+path}","compare_url":"https://api.github.com/repos/zonghengma/cloudberry/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zonghengma/cloudberry/merges","archive_url":"https://api.github.com/repos/zonghengma/cloudberry/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zonghengma/cloudberry/downloads","issues_url":"https://api.github.com/repos/zonghengma/cloudberry/issues{/number}","pulls_url":"https://api.github.com/repos/zonghengma/cloudberry/pulls{/number}","milestones_url":"https://api.github.com/repos/zonghengma/cloudberry/milestones{/number}","notifications_url":"https://api.github.com/repos/zonghengma/cloudberry/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zonghengma/cloudberry/labels{/name}","releases_url":"https://api.github.com/repos/zonghengma/cloudberry/releases{/id}","deployments_url":"https://api.github.com/repos/zonghengma/cloudberry/deployments","created_at":"2016-10-25T22:55:23Z","updated_at":"2016-10-25T22:55:26Z","pushed_at":"2016-11-06T06:56:11Z","git_url":"git://github.com/zonghengma/cloudberry.git","ssh_url":"git@github.com:zonghengma/cloudberry.git","clone_url":"https://github.com/zonghengma/cloudberry.git","svn_url":"https://github.com/zonghengma/cloudberry","homepage":"http://cloudberry.ics.uci.edu","size":164086,"stargazers_count":0,"watchers_count":0,"language":"Scala","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":"ISG-ICS:master","ref":"master","sha":"63f069fe089c1b375864f3943f3096099febe713","user":{"login":"ISG-ICS","id":17169982,"avatar_url":"https://avatars.githubusercontent.com/u/17169982?v=3","gravatar_id":"","url":"https://api.github.com/users/ISG-ICS","html_url":"https://github.com/ISG-ICS","followers_url":"https://api.github.com/users/ISG-ICS/followers","following_url":"https://api.github.com/users/ISG-ICS/following{/other_user}","gists_url":"https://api.github.com/users/ISG-ICS/gists{/gist_id}","starred_url":"https://api.github.com/users/ISG-ICS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ISG-ICS/subscriptions","organizations_url":"https://api.github.com/users/ISG-ICS/orgs","repos_url":"https://api.github.com/users/ISG-ICS/repos","events_url":"https://api.github.com/users/ISG-ICS/events{/privacy}","received_events_url":"https://api.github.com/users/ISG-ICS/received_events","type":"Organization","site_admin":false},"repo":{"id":46375119,"name":"cloudberry","full_name":"ISG-ICS/cloudberry","owner":{"login":"ISG-ICS","id":17169982,"avatar_url":"https://avatars.githubusercontent.com/u/17169982?v=3","gravatar_id":"","url":"https://api.github.com/users/ISG-ICS","html_url":"https://github.com/ISG-ICS","followers_url":"https://api.github.com/users/ISG-ICS/followers","following_url":"https://api.github.com/users/ISG-ICS/following{/other_user}","gists_url":"https://api.github.com/users/ISG-ICS/gists{/gist_id}","starred_url":"https://api.github.com/users/ISG-ICS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ISG-ICS/subscriptions","organizations_url":"https://api.github.com/users/ISG-ICS/orgs","repos_url":"https://api.github.com/users/ISG-ICS/repos","events_url":"https://api.github.com/users/ISG-ICS/events{/privacy}","received_events_url":"https://api.github.com/users/ISG-ICS/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ISG-ICS/cloudberry","description":"Interactive Twitter map analytic application","fork":false,"url":"https://api.github.com/repos/ISG-ICS/cloudberry","forks_url":"https://api.github.com/repos/ISG-ICS/cloudberry/forks","keys_url":"https://api.github.com/repos/ISG-ICS/cloudberry/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ISG-ICS/cloudberry/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ISG-ICS/cloudberry/teams","hooks_url":"https://api.github.com/repos/ISG-ICS/cloudberry/hooks","issue_events_url":"https://api.github.com/repos/ISG-ICS/cloudberry/issues/events{/number}","events_url":"https://api.github.com/repos/ISG-ICS/cloudberry/events","assignees_url":"https://api.github.com/repos/ISG-ICS/cloudberry/assignees{/user}","branches_url":"https://api.github.com/repos/ISG-ICS/cloudberry/branches{/branch}","tags_url":"https://api.github.com/repos/ISG-ICS/cloudberry/tags","blobs_url":"https://api.github.com/repos/ISG-ICS/cloudberry/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ISG-ICS/cloudberry/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ISG-ICS/cloudberry/git/refs{/sha}","trees_url":"https://api.github.com/repos/ISG-ICS/cloudberry/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ISG-ICS/cloudberry/statuses/{sha}","languages_url":"https://api.github.com/repos/ISG-ICS/cloudberry/languages","stargazers_url":"https://api.github.com/repos/ISG-ICS/cloudberry/stargazers","contributors_url":"https://api.github.com/repos/ISG-ICS/cloudberry/contributors","subscribers_url":"https://api.github.com/repos/ISG-ICS/cloudberry/subscribers","subscription_url":"https://api.github.com/repos/ISG-ICS/cloudberry/subscription","commits_url":"https://api.github.com/repos/ISG-ICS/cloudberry/commits{/sha}","git_commits_url":"https://api.github.com/repos/ISG-ICS/cloudberry/git/commits{/sha}","comments_url":"https://api.github.com/repos/ISG-ICS/cloudberry/comments{/number}","issue_comment_url":"https://api.github.com/repos/ISG-ICS/cloudberry/issues/comments{/number}","contents_url":"https://api.github.com/repos/ISG-ICS/cloudberry/contents/{+path}","compare_url":"https://api.github.com/repos/ISG-ICS/cloudberry/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ISG-ICS/cloudberry/merges","archive_url":"https://api.github.com/repos/ISG-ICS/cloudberry/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ISG-ICS/cloudberry/downloads","issues_url":"https://api.github.com/repos/ISG-ICS/cloudberry/issues{/number}","pulls_url":"https://api.github.com/repos/ISG-ICS/cloudberry/pulls{/number}","milestones_url":"https://api.github.com/repos/ISG-ICS/cloudberry/milestones{/number}","notifications_url":"https://api.github.com/repos/ISG-ICS/cloudberry/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ISG-ICS/cloudberry/labels{/name}","releases_url":"https://api.github.com/repos/ISG-ICS/cloudberry/releases{/id}","deployments_url":"https://api.github.com/repos/ISG-ICS/cloudberry/deployments","created_at":"2015-11-17T20:59:29Z","updated_at":"2016-11-06T14:20:23Z","pushed_at":"2016-11-06T06:56:12Z","git_url":"git://github.com/ISG-ICS/cloudberry.git","ssh_url":"git@github.com:ISG-ICS/cloudberry.git","clone_url":"https://github.com/ISG-ICS/cloudberry.git","svn_url":"https://github.com/ISG-ICS/cloudberry","homepage":"http://cloudberry.ics.uci.edu","size":173290,"stargazers_count":9,"watchers_count":9,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"open_issues_count":29,"forks":15,"open_issues":29,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ISG-ICS/cloudberry/pulls/214"},"html":{"href":"https://github.com/ISG-ICS/cloudberry/pull/214"},"issue":{"href":"https://api.github.com/repos/ISG-ICS/cloudberry/issues/214"},"comments":{"href":"https://api.github.com/repos/ISG-ICS/cloudberry/issues/214/comments"},"review_comments":{"href":"https://api.github.com/repos/ISG-ICS/cloudberry/pulls/214/comments"},"review_comment":{"href":"https://api.github.com/repos/ISG-ICS/cloudberry/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ISG-ICS/cloudberry/pulls/214/commits"},"statuses":{"href":"https://api.github.com/repos/ISG-ICS/cloudberry/statuses/2f26df90b7c665adc309213b0b4d4a315aecc452"}}}}
{"actor":{"display_login":"JavierJia"}}