{"action":"created","comment":{"url":"https://api.github.com/repos/everydayhero/tour-tracker/pulls/comments/79076856","id":79076856,"diff_hunk":"@@ -12,9 +12,9 @@ const requestRoute = (index) => ({\n   payload: { index }\n })\n \n-const receiveRouteSuccess = (index, points) => ({\n+const receiveRouteSuccess = (index, { points, distance }) => ({","path":"source/actions/index.js","position":5,"original_position":5,"commit_id":"88905eadcef3a92c488620598d889ebd18887a94","original_commit_id":"88905eadcef3a92c488620598d889ebd18887a94","user":{"login":"danhenderson","id":1445686,"avatar_url":"https://avatars.githubusercontent.com/u/1445686?v=3","gravatar_id":"","url":"https://api.github.com/users/danhenderson","html_url":"https://github.com/danhenderson","followers_url":"https://api.github.com/users/danhenderson/followers","following_url":"https://api.github.com/users/danhenderson/following{/other_user}","gists_url":"https://api.github.com/users/danhenderson/gists{/gist_id}","starred_url":"https://api.github.com/users/danhenderson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danhenderson/subscriptions","organizations_url":"https://api.github.com/users/danhenderson/orgs","repos_url":"https://api.github.com/users/danhenderson/repos","events_url":"https://api.github.com/users/danhenderson/events{/privacy}","received_events_url":"https://api.github.com/users/danhenderson/received_events","type":"User","site_admin":false},"body":"Correct. For some reason, I thought the distance in each of those points was the distance of that particular segment, rather than the distance from the start. I shall remove.","created_at":"2016-09-15T22:35:38Z","updated_at":"2016-09-15T22:35:38Z","html_url":"https://github.com/everydayhero/tour-tracker/pull/19#discussion_r79076856","pull_request_url":"https://api.github.com/repos/everydayhero/tour-tracker/pulls/19","_links":{"self":{"href":"https://api.github.com/repos/everydayhero/tour-tracker/pulls/comments/79076856"},"html":{"href":"https://github.com/everydayhero/tour-tracker/pull/19#discussion_r79076856"},"pull_request":{"href":"https://api.github.com/repos/everydayhero/tour-tracker/pulls/19"}}},"pull_request":{"url":"https://api.github.com/repos/everydayhero/tour-tracker/pulls/19","id":85322330,"html_url":"https://github.com/everydayhero/tour-tracker/pull/19","diff_url":"https://github.com/everydayhero/tour-tracker/pull/19.diff","patch_url":"https://github.com/everydayhero/tour-tracker/pull/19.patch","issue_url":"https://api.github.com/repos/everydayhero/tour-tracker/issues/19","number":19,"state":"open","locked":false,"title":"Topic/focus on tourer with zoom","user":{"login":"danhenderson","id":1445686,"avatar_url":"https://avatars.githubusercontent.com/u/1445686?v=3","gravatar_id":"","url":"https://api.github.com/users/danhenderson","html_url":"https://github.com/danhenderson","followers_url":"https://api.github.com/users/danhenderson/followers","following_url":"https://api.github.com/users/danhenderson/following{/other_user}","gists_url":"https://api.github.com/users/danhenderson/gists{/gist_id}","starred_url":"https://api.github.com/users/danhenderson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danhenderson/subscriptions","organizations_url":"https://api.github.com/users/danhenderson/orgs","repos_url":"https://api.github.com/users/danhenderson/repos","events_url":"https://api.github.com/users/danhenderson/events{/privacy}","received_events_url":"https://api.github.com/users/danhenderson/received_events","type":"User","site_admin":false},"body":"Added new props to Map component\r\n- focusOnTourer - takes the id of the tourer you would like to centre in the map\r\n- zoom - ability to set the initial zoom level when focusing on the tourer (default 10)","created_at":"2016-09-14T23:16:38Z","updated_at":"2016-09-15T22:35:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7db788880c5910b1676541134c96dfcb7e839b38","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/everydayhero/tour-tracker/pulls/19/commits","review_comments_url":"https://api.github.com/repos/everydayhero/tour-tracker/pulls/19/comments","review_comment_url":"https://api.github.com/repos/everydayhero/tour-tracker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/everydayhero/tour-tracker/issues/19/comments","statuses_url":"https://api.github.com/repos/everydayhero/tour-tracker/statuses/88905eadcef3a92c488620598d889ebd18887a94","head":{"label":"everydayhero:topic/focus-on-tourer-with-zoom","ref":"topic/focus-on-tourer-with-zoom","sha":"88905eadcef3a92c488620598d889ebd18887a94","user":{"login":"everydayhero","id":558383,"avatar_url":"https://avatars.githubusercontent.com/u/558383?v=3","gravatar_id":"","url":"https://api.github.com/users/everydayhero","html_url":"https://github.com/everydayhero","followers_url":"https://api.github.com/users/everydayhero/followers","following_url":"https://api.github.com/users/everydayhero/following{/other_user}","gists_url":"https://api.github.com/users/everydayhero/gists{/gist_id}","starred_url":"https://api.github.com/users/everydayhero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/everydayhero/subscriptions","organizations_url":"https://api.github.com/users/everydayhero/orgs","repos_url":"https://api.github.com/users/everydayhero/repos","events_url":"https://api.github.com/users/everydayhero/events{/privacy}","received_events_url":"https://api.github.com/users/everydayhero/received_events","type":"Organization","site_admin":false},"repo":{"id":59896641,"name":"tour-tracker","full_name":"everydayhero/tour-tracker","owner":{"login":"everydayhero","id":558383,"avatar_url":"https://avatars.githubusercontent.com/u/558383?v=3","gravatar_id":"","url":"https://api.github.com/users/everydayhero","html_url":"https://github.com/everydayhero","followers_url":"https://api.github.com/users/everydayhero/followers","following_url":"https://api.github.com/users/everydayhero/following{/other_user}","gists_url":"https://api.github.com/users/everydayhero/gists{/gist_id}","starred_url":"https://api.github.com/users/everydayhero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/everydayhero/subscriptions","organizations_url":"https://api.github.com/users/everydayhero/orgs","repos_url":"https://api.github.com/users/everydayhero/repos","events_url":"https://api.github.com/users/everydayhero/events{/privacy}","received_events_url":"https://api.github.com/users/everydayhero/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/everydayhero/tour-tracker","description":"Components for building a Tour Tracker","fork":false,"url":"https://api.github.com/repos/everydayhero/tour-tracker","forks_url":"https://api.github.com/repos/everydayhero/tour-tracker/forks","keys_url":"https://api.github.com/repos/everydayhero/tour-tracker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/everydayhero/tour-tracker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/everydayhero/tour-tracker/teams","hooks_url":"https://api.github.com/repos/everydayhero/tour-tracker/hooks","issue_events_url":"https://api.github.com/repos/everydayhero/tour-tracker/issues/events{/number}","events_url":"https://api.github.com/repos/everydayhero/tour-tracker/events","assignees_url":"https://api.github.com/repos/everydayhero/tour-tracker/assignees{/user}","branches_url":"https://api.github.com/repos/everydayhero/tour-tracker/branches{/branch}","tags_url":"https://api.github.com/repos/everydayhero/tour-tracker/tags","blobs_url":"https://api.github.com/repos/everydayhero/tour-tracker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/everydayhero/tour-tracker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/everydayhero/tour-tracker/git/refs{/sha}","trees_url":"https://api.github.com/repos/everydayhero/tour-tracker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/everydayhero/tour-tracker/statuses/{sha}","languages_url":"https://api.github.com/repos/everydayhero/tour-tracker/languages","stargazers_url":"https://api.github.com/repos/everydayhero/tour-tracker/stargazers","contributors_url":"https://api.github.com/repos/everydayhero/tour-tracker/contributors","subscribers_url":"https://api.github.com/repos/everydayhero/tour-tracker/subscribers","subscription_url":"https://api.github.com/repos/everydayhero/tour-tracker/subscription","commits_url":"https://api.github.com/repos/everydayhero/tour-tracker/commits{/sha}","git_commits_url":"https://api.github.com/repos/everydayhero/tour-tracker/git/commits{/sha}","comments_url":"https://api.github.com/repos/everydayhero/tour-tracker/comments{/number}","issue_comment_url":"https://api.github.com/repos/everydayhero/tour-tracker/issues/comments{/number}","contents_url":"https://api.github.com/repos/everydayhero/tour-tracker/contents/{+path}","compare_url":"https://api.github.com/repos/everydayhero/tour-tracker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/everydayhero/tour-tracker/merges","archive_url":"https://api.github.com/repos/everydayhero/tour-tracker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/everydayhero/tour-tracker/downloads","issues_url":"https://api.github.com/repos/everydayhero/tour-tracker/issues{/number}","pulls_url":"https://api.github.com/repos/everydayhero/tour-tracker/pulls{/number}","milestones_url":"https://api.github.com/repos/everydayhero/tour-tracker/milestones{/number}","notifications_url":"https://api.github.com/repos/everydayhero/tour-tracker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/everydayhero/tour-tracker/labels{/name}","releases_url":"https://api.github.com/repos/everydayhero/tour-tracker/releases{/id}","deployments_url":"https://api.github.com/repos/everydayhero/tour-tracker/deployments","created_at":"2016-05-28T13:46:12Z","updated_at":"2016-05-28T13:47:40Z","pushed_at":"2016-09-15T06:18:09Z","git_url":"git://github.com/everydayhero/tour-tracker.git","ssh_url":"git@github.com:everydayhero/tour-tracker.git","clone_url":"https://github.com/everydayhero/tour-tracker.git","svn_url":"https://github.com/everydayhero/tour-tracker","homepage":null,"size":81,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"everydayhero:master","ref":"master","sha":"d854479c88e276759f897d2d6d6d96ebd2efd1f4","user":{"login":"everydayhero","id":558383,"avatar_url":"https://avatars.githubusercontent.com/u/558383?v=3","gravatar_id":"","url":"https://api.github.com/users/everydayhero","html_url":"https://github.com/everydayhero","followers_url":"https://api.github.com/users/everydayhero/followers","following_url":"https://api.github.com/users/everydayhero/following{/other_user}","gists_url":"https://api.github.com/users/everydayhero/gists{/gist_id}","starred_url":"https://api.github.com/users/everydayhero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/everydayhero/subscriptions","organizations_url":"https://api.github.com/users/everydayhero/orgs","repos_url":"https://api.github.com/users/everydayhero/repos","events_url":"https://api.github.com/users/everydayhero/events{/privacy}","received_events_url":"https://api.github.com/users/everydayhero/received_events","type":"Organization","site_admin":false},"repo":{"id":59896641,"name":"tour-tracker","full_name":"everydayhero/tour-tracker","owner":{"login":"everydayhero","id":558383,"avatar_url":"https://avatars.githubusercontent.com/u/558383?v=3","gravatar_id":"","url":"https://api.github.com/users/everydayhero","html_url":"https://github.com/everydayhero","followers_url":"https://api.github.com/users/everydayhero/followers","following_url":"https://api.github.com/users/everydayhero/following{/other_user}","gists_url":"https://api.github.com/users/everydayhero/gists{/gist_id}","starred_url":"https://api.github.com/users/everydayhero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/everydayhero/subscriptions","organizations_url":"https://api.github.com/users/everydayhero/orgs","repos_url":"https://api.github.com/users/everydayhero/repos","events_url":"https://api.github.com/users/everydayhero/events{/privacy}","received_events_url":"https://api.github.com/users/everydayhero/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/everydayhero/tour-tracker","description":"Components for building a Tour Tracker","fork":false,"url":"https://api.github.com/repos/everydayhero/tour-tracker","forks_url":"https://api.github.com/repos/everydayhero/tour-tracker/forks","keys_url":"https://api.github.com/repos/everydayhero/tour-tracker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/everydayhero/tour-tracker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/everydayhero/tour-tracker/teams","hooks_url":"https://api.github.com/repos/everydayhero/tour-tracker/hooks","issue_events_url":"https://api.github.com/repos/everydayhero/tour-tracker/issues/events{/number}","events_url":"https://api.github.com/repos/everydayhero/tour-tracker/events","assignees_url":"https://api.github.com/repos/everydayhero/tour-tracker/assignees{/user}","branches_url":"https://api.github.com/repos/everydayhero/tour-tracker/branches{/branch}","tags_url":"https://api.github.com/repos/everydayhero/tour-tracker/tags","blobs_url":"https://api.github.com/repos/everydayhero/tour-tracker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/everydayhero/tour-tracker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/everydayhero/tour-tracker/git/refs{/sha}","trees_url":"https://api.github.com/repos/everydayhero/tour-tracker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/everydayhero/tour-tracker/statuses/{sha}","languages_url":"https://api.github.com/repos/everydayhero/tour-tracker/languages","stargazers_url":"https://api.github.com/repos/everydayhero/tour-tracker/stargazers","contributors_url":"https://api.github.com/repos/everydayhero/tour-tracker/contributors","subscribers_url":"https://api.github.com/repos/everydayhero/tour-tracker/subscribers","subscription_url":"https://api.github.com/repos/everydayhero/tour-tracker/subscription","commits_url":"https://api.github.com/repos/everydayhero/tour-tracker/commits{/sha}","git_commits_url":"https://api.github.com/repos/everydayhero/tour-tracker/git/commits{/sha}","comments_url":"https://api.github.com/repos/everydayhero/tour-tracker/comments{/number}","issue_comment_url":"https://api.github.com/repos/everydayhero/tour-tracker/issues/comments{/number}","contents_url":"https://api.github.com/repos/everydayhero/tour-tracker/contents/{+path}","compare_url":"https://api.github.com/repos/everydayhero/tour-tracker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/everydayhero/tour-tracker/merges","archive_url":"https://api.github.com/repos/everydayhero/tour-tracker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/everydayhero/tour-tracker/downloads","issues_url":"https://api.github.com/repos/everydayhero/tour-tracker/issues{/number}","pulls_url":"https://api.github.com/repos/everydayhero/tour-tracker/pulls{/number}","milestones_url":"https://api.github.com/repos/everydayhero/tour-tracker/milestones{/number}","notifications_url":"https://api.github.com/repos/everydayhero/tour-tracker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/everydayhero/tour-tracker/labels{/name}","releases_url":"https://api.github.com/repos/everydayhero/tour-tracker/releases{/id}","deployments_url":"https://api.github.com/repos/everydayhero/tour-tracker/deployments","created_at":"2016-05-28T13:46:12Z","updated_at":"2016-05-28T13:47:40Z","pushed_at":"2016-09-15T06:18:09Z","git_url":"git://github.com/everydayhero/tour-tracker.git","ssh_url":"git@github.com:everydayhero/tour-tracker.git","clone_url":"https://github.com/everydayhero/tour-tracker.git","svn_url":"https://github.com/everydayhero/tour-tracker","homepage":null,"size":81,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/everydayhero/tour-tracker/pulls/19"},"html":{"href":"https://github.com/everydayhero/tour-tracker/pull/19"},"issue":{"href":"https://api.github.com/repos/everydayhero/tour-tracker/issues/19"},"comments":{"href":"https://api.github.com/repos/everydayhero/tour-tracker/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/everydayhero/tour-tracker/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/everydayhero/tour-tracker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/everydayhero/tour-tracker/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/everydayhero/tour-tracker/statuses/88905eadcef3a92c488620598d889ebd18887a94"}}}}
{"actor":{"display_login":"danhenderson"}}