{"action":"created","comment":{"url":"https://api.github.com/repos/mapzen/android/pulls/comments/63220194","id":63220194,"diff_hunk":"@@ -183,6 +207,146 @@ public MapData addMarker(Marker marker) {\n         return addPointToMarkerMapData(marker);\n     }\n \n+    /**\n+     * Draws two pins on the map. The start pin is active and the end pin is inactive.\n+     * @param start\n+     * @param end\n+     */\n+    public void drawRoutePins(LngLat start, LngLat end) {\n+        if (startPinData == null) {\n+            startPinData = mapController.addDataLayer(NAME_START_PIN);\n+        }\n+        if (endPinData == null) {\n+            endPinData = mapController.addDataLayer(NAME_END_PIN);\n+        }\n+        startPinData.addPoint(start, null);\n+        endPinData.addPoint(end, null);\n+        mapController.requestRender();","path":"library/src/main/java/com/mapzen/android/OverlayManager.java","position":76,"original_position":76,"commit_id":"063ca06a0277cd5872a9e21a02fa5201a9563f9e","original_commit_id":"063ca06a0277cd5872a9e21a02fa5201a9563f9e","user":{"login":"ecgreb","id":464123,"avatar_url":"https://avatars.githubusercontent.com/u/464123?v=3","gravatar_id":"","url":"https://api.github.com/users/ecgreb","html_url":"https://github.com/ecgreb","followers_url":"https://api.github.com/users/ecgreb/followers","following_url":"https://api.github.com/users/ecgreb/following{/other_user}","gists_url":"https://api.github.com/users/ecgreb/gists{/gist_id}","starred_url":"https://api.github.com/users/ecgreb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ecgreb/subscriptions","organizations_url":"https://api.github.com/users/ecgreb/orgs","repos_url":"https://api.github.com/users/ecgreb/repos","events_url":"https://api.github.com/users/ecgreb/events{/privacy}","received_events_url":"https://api.github.com/users/ecgreb/received_events","type":"User","site_admin":false},"body":"Need to verify with @blair1618 or @tallytalwar but I don't think calling `mapController.requestRender()` is required any longer when adding client data to the map. I tried commenting these out and everything seems to still work.","created_at":"2016-05-13T17:27:10Z","updated_at":"2016-05-13T17:27:10Z","html_url":"https://github.com/mapzen/android/pull/88#discussion_r63220194","pull_request_url":"https://api.github.com/repos/mapzen/android/pulls/88","_links":{"self":{"href":"https://api.github.com/repos/mapzen/android/pulls/comments/63220194"},"html":{"href":"https://github.com/mapzen/android/pull/88#discussion_r63220194"},"pull_request":{"href":"https://api.github.com/repos/mapzen/android/pulls/88"}}},"pull_request":{"url":"https://api.github.com/repos/mapzen/android/pulls/88","id":69915113,"html_url":"https://github.com/mapzen/android/pull/88","diff_url":"https://github.com/mapzen/android/pull/88.diff","patch_url":"https://github.com/mapzen/android/pull/88.patch","issue_url":"https://api.github.com/repos/mapzen/android/issues/88","number":88,"state":"open","locked":false,"title":"Add routing overlay methods","user":{"login":"sarahlensing","id":494323,"avatar_url":"https://avatars.githubusercontent.com/u/494323?v=3","gravatar_id":"","url":"https://api.github.com/users/sarahlensing","html_url":"https://github.com/sarahlensing","followers_url":"https://api.github.com/users/sarahlensing/followers","following_url":"https://api.github.com/users/sarahlensing/following{/other_user}","gists_url":"https://api.github.com/users/sarahlensing/gists{/gist_id}","starred_url":"https://api.github.com/users/sarahlensing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sarahlensing/subscriptions","organizations_url":"https://api.github.com/users/sarahlensing/orgs","repos_url":"https://api.github.com/users/sarahlensing/repos","events_url":"https://api.github.com/users/sarahlensing/events{/privacy}","received_events_url":"https://api.github.com/users/sarahlensing/received_events","type":"User","site_admin":false},"body":"Adds support for common routing actions in preparation for the EM migration","created_at":"2016-05-12T22:07:54Z","updated_at":"2016-05-13T17:27:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dee554781aa309651bbd30adbd8c037f61ae9b7f","assignee":{"login":"ecgreb","id":464123,"avatar_url":"https://avatars.githubusercontent.com/u/464123?v=3","gravatar_id":"","url":"https://api.github.com/users/ecgreb","html_url":"https://github.com/ecgreb","followers_url":"https://api.github.com/users/ecgreb/followers","following_url":"https://api.github.com/users/ecgreb/following{/other_user}","gists_url":"https://api.github.com/users/ecgreb/gists{/gist_id}","starred_url":"https://api.github.com/users/ecgreb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ecgreb/subscriptions","organizations_url":"https://api.github.com/users/ecgreb/orgs","repos_url":"https://api.github.com/users/ecgreb/repos","events_url":"https://api.github.com/users/ecgreb/events{/privacy}","received_events_url":"https://api.github.com/users/ecgreb/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/mapzen/android/pulls/88/commits","review_comments_url":"https://api.github.com/repos/mapzen/android/pulls/88/comments","review_comment_url":"https://api.github.com/repos/mapzen/android/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mapzen/android/issues/88/comments","statuses_url":"https://api.github.com/repos/mapzen/android/statuses/063ca06a0277cd5872a9e21a02fa5201a9563f9e","head":{"label":"mapzen:add-routing-overlay-methods","ref":"add-routing-overlay-methods","sha":"063ca06a0277cd5872a9e21a02fa5201a9563f9e","user":{"login":"mapzen","id":5435747,"avatar_url":"https://avatars.githubusercontent.com/u/5435747?v=3","gravatar_id":"","url":"https://api.github.com/users/mapzen","html_url":"https://github.com/mapzen","followers_url":"https://api.github.com/users/mapzen/followers","following_url":"https://api.github.com/users/mapzen/following{/other_user}","gists_url":"https://api.github.com/users/mapzen/gists{/gist_id}","starred_url":"https://api.github.com/users/mapzen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapzen/subscriptions","organizations_url":"https://api.github.com/users/mapzen/orgs","repos_url":"https://api.github.com/users/mapzen/repos","events_url":"https://api.github.com/users/mapzen/events{/privacy}","received_events_url":"https://api.github.com/users/mapzen/received_events","type":"Organization","site_admin":false},"repo":{"id":46000465,"name":"android","full_name":"mapzen/android","owner":{"login":"mapzen","id":5435747,"avatar_url":"https://avatars.githubusercontent.com/u/5435747?v=3","gravatar_id":"","url":"https://api.github.com/users/mapzen","html_url":"https://github.com/mapzen","followers_url":"https://api.github.com/users/mapzen/followers","following_url":"https://api.github.com/users/mapzen/following{/other_user}","gists_url":"https://api.github.com/users/mapzen/gists{/gist_id}","starred_url":"https://api.github.com/users/mapzen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapzen/subscriptions","organizations_url":"https://api.github.com/users/mapzen/orgs","repos_url":"https://api.github.com/users/mapzen/repos","events_url":"https://api.github.com/users/mapzen/events{/privacy}","received_events_url":"https://api.github.com/users/mapzen/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mapzen/android","description":"Where you can find everything Android from Mapzen","fork":false,"url":"https://api.github.com/repos/mapzen/android","forks_url":"https://api.github.com/repos/mapzen/android/forks","keys_url":"https://api.github.com/repos/mapzen/android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mapzen/android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mapzen/android/teams","hooks_url":"https://api.github.com/repos/mapzen/android/hooks","issue_events_url":"https://api.github.com/repos/mapzen/android/issues/events{/number}","events_url":"https://api.github.com/repos/mapzen/android/events","assignees_url":"https://api.github.com/repos/mapzen/android/assignees{/user}","branches_url":"https://api.github.com/repos/mapzen/android/branches{/branch}","tags_url":"https://api.github.com/repos/mapzen/android/tags","blobs_url":"https://api.github.com/repos/mapzen/android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mapzen/android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mapzen/android/git/refs{/sha}","trees_url":"https://api.github.com/repos/mapzen/android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mapzen/android/statuses/{sha}","languages_url":"https://api.github.com/repos/mapzen/android/languages","stargazers_url":"https://api.github.com/repos/mapzen/android/stargazers","contributors_url":"https://api.github.com/repos/mapzen/android/contributors","subscribers_url":"https://api.github.com/repos/mapzen/android/subscribers","subscription_url":"https://api.github.com/repos/mapzen/android/subscription","commits_url":"https://api.github.com/repos/mapzen/android/commits{/sha}","git_commits_url":"https://api.github.com/repos/mapzen/android/git/commits{/sha}","comments_url":"https://api.github.com/repos/mapzen/android/comments{/number}","issue_comment_url":"https://api.github.com/repos/mapzen/android/issues/comments{/number}","contents_url":"https://api.github.com/repos/mapzen/android/contents/{+path}","compare_url":"https://api.github.com/repos/mapzen/android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mapzen/android/merges","archive_url":"https://api.github.com/repos/mapzen/android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mapzen/android/downloads","issues_url":"https://api.github.com/repos/mapzen/android/issues{/number}","pulls_url":"https://api.github.com/repos/mapzen/android/pulls{/number}","milestones_url":"https://api.github.com/repos/mapzen/android/milestones{/number}","notifications_url":"https://api.github.com/repos/mapzen/android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mapzen/android/labels{/name}","releases_url":"https://api.github.com/repos/mapzen/android/releases{/id}","deployments_url":"https://api.github.com/repos/mapzen/android/deployments","created_at":"2015-11-11T18:15:24Z","updated_at":"2016-05-06T17:36:00Z","pushed_at":"2016-05-13T14:07:25Z","git_url":"git://github.com/mapzen/android.git","ssh_url":"git@github.com:mapzen/android.git","clone_url":"https://github.com/mapzen/android.git","svn_url":"https://github.com/mapzen/android","homepage":"","size":427,"stargazers_count":6,"watchers_count":6,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":2,"forks":4,"open_issues":2,"watchers":6,"default_branch":"master"}},"base":{"label":"mapzen:master","ref":"master","sha":"3177c763bec7b97efbfa7de731453a25e21d65bc","user":{"login":"mapzen","id":5435747,"avatar_url":"https://avatars.githubusercontent.com/u/5435747?v=3","gravatar_id":"","url":"https://api.github.com/users/mapzen","html_url":"https://github.com/mapzen","followers_url":"https://api.github.com/users/mapzen/followers","following_url":"https://api.github.com/users/mapzen/following{/other_user}","gists_url":"https://api.github.com/users/mapzen/gists{/gist_id}","starred_url":"https://api.github.com/users/mapzen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapzen/subscriptions","organizations_url":"https://api.github.com/users/mapzen/orgs","repos_url":"https://api.github.com/users/mapzen/repos","events_url":"https://api.github.com/users/mapzen/events{/privacy}","received_events_url":"https://api.github.com/users/mapzen/received_events","type":"Organization","site_admin":false},"repo":{"id":46000465,"name":"android","full_name":"mapzen/android","owner":{"login":"mapzen","id":5435747,"avatar_url":"https://avatars.githubusercontent.com/u/5435747?v=3","gravatar_id":"","url":"https://api.github.com/users/mapzen","html_url":"https://github.com/mapzen","followers_url":"https://api.github.com/users/mapzen/followers","following_url":"https://api.github.com/users/mapzen/following{/other_user}","gists_url":"https://api.github.com/users/mapzen/gists{/gist_id}","starred_url":"https://api.github.com/users/mapzen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapzen/subscriptions","organizations_url":"https://api.github.com/users/mapzen/orgs","repos_url":"https://api.github.com/users/mapzen/repos","events_url":"https://api.github.com/users/mapzen/events{/privacy}","received_events_url":"https://api.github.com/users/mapzen/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mapzen/android","description":"Where you can find everything Android from Mapzen","fork":false,"url":"https://api.github.com/repos/mapzen/android","forks_url":"https://api.github.com/repos/mapzen/android/forks","keys_url":"https://api.github.com/repos/mapzen/android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mapzen/android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mapzen/android/teams","hooks_url":"https://api.github.com/repos/mapzen/android/hooks","issue_events_url":"https://api.github.com/repos/mapzen/android/issues/events{/number}","events_url":"https://api.github.com/repos/mapzen/android/events","assignees_url":"https://api.github.com/repos/mapzen/android/assignees{/user}","branches_url":"https://api.github.com/repos/mapzen/android/branches{/branch}","tags_url":"https://api.github.com/repos/mapzen/android/tags","blobs_url":"https://api.github.com/repos/mapzen/android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mapzen/android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mapzen/android/git/refs{/sha}","trees_url":"https://api.github.com/repos/mapzen/android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mapzen/android/statuses/{sha}","languages_url":"https://api.github.com/repos/mapzen/android/languages","stargazers_url":"https://api.github.com/repos/mapzen/android/stargazers","contributors_url":"https://api.github.com/repos/mapzen/android/contributors","subscribers_url":"https://api.github.com/repos/mapzen/android/subscribers","subscription_url":"https://api.github.com/repos/mapzen/android/subscription","commits_url":"https://api.github.com/repos/mapzen/android/commits{/sha}","git_commits_url":"https://api.github.com/repos/mapzen/android/git/commits{/sha}","comments_url":"https://api.github.com/repos/mapzen/android/comments{/number}","issue_comment_url":"https://api.github.com/repos/mapzen/android/issues/comments{/number}","contents_url":"https://api.github.com/repos/mapzen/android/contents/{+path}","compare_url":"https://api.github.com/repos/mapzen/android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mapzen/android/merges","archive_url":"https://api.github.com/repos/mapzen/android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mapzen/android/downloads","issues_url":"https://api.github.com/repos/mapzen/android/issues{/number}","pulls_url":"https://api.github.com/repos/mapzen/android/pulls{/number}","milestones_url":"https://api.github.com/repos/mapzen/android/milestones{/number}","notifications_url":"https://api.github.com/repos/mapzen/android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mapzen/android/labels{/name}","releases_url":"https://api.github.com/repos/mapzen/android/releases{/id}","deployments_url":"https://api.github.com/repos/mapzen/android/deployments","created_at":"2015-11-11T18:15:24Z","updated_at":"2016-05-06T17:36:00Z","pushed_at":"2016-05-13T14:07:25Z","git_url":"git://github.com/mapzen/android.git","ssh_url":"git@github.com:mapzen/android.git","clone_url":"https://github.com/mapzen/android.git","svn_url":"https://github.com/mapzen/android","homepage":"","size":427,"stargazers_count":6,"watchers_count":6,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":2,"forks":4,"open_issues":2,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mapzen/android/pulls/88"},"html":{"href":"https://github.com/mapzen/android/pull/88"},"issue":{"href":"https://api.github.com/repos/mapzen/android/issues/88"},"comments":{"href":"https://api.github.com/repos/mapzen/android/issues/88/comments"},"review_comments":{"href":"https://api.github.com/repos/mapzen/android/pulls/88/comments"},"review_comment":{"href":"https://api.github.com/repos/mapzen/android/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mapzen/android/pulls/88/commits"},"statuses":{"href":"https://api.github.com/repos/mapzen/android/statuses/063ca06a0277cd5872a9e21a02fa5201a9563f9e"}}}}