{"action":"created","comment":{"url":"https://api.github.com/repos/mapbox/android-docs/pulls/comments/182845224","pull_request_review_id":113728174,"id":182845224,"diff_hunk":"@@ -121,13 +119,68 @@ mapboxMap.addSource(geoJsonSource);\n \n A benefit of having your data inside a GeoJSON source is that you can update, remove, or add additional features inside the source at any time, providing a solution to animating data in your map through the Runtime Styling API. For example, using an Android [ValueAnimator](https://developer.android.com/reference/android/animation/ValueAnimator.html), you can move a feature by updating its coordinates within the GeoJSON data.\n \n-<!-- NOTE link to GoJSON plugin -->\n+### Image\n+\n+`ImageSource` allows for a georeferenced raster image to be shown on top of the map. The georeferenced image scales and rotates as the user zooms and rotates the map. The geographic location of the raster image content, supplied with `LatLngQuad`, can be non-axis aligned.\n+\n+```\n+// Set the latitude and longitude coordinates of the image's four corners\n+LatLngQuad quad = new LatLngQuad(\n+  new LatLng(46.437, -80.425),\n+  new LatLng(46.437, -71.516),\n+  new LatLng(37.936, -71.516),\n+  new LatLng(37.936, -80.425));\n+  \n+mapboxMap.addSource(new ImageSource(ID_IMAGE_SOURCE, quad, R.drawable));\n+\n+// Add layer\n+RasterLayer layer = new RasterLayer(ID_IMAGE_LAYER, ID_IMAGE_SOURCE);\n+mapboxMap.addLayer(layer);\n+```    \n+\n+The `setImage()` method is a convenient way to update the `ImageSource`'s image by passing in a drawable.\n+\n+```","path":"src/pages/map-sdk/overview/runtime-styling.md","position":null,"original_position":68,"commit_id":"5a5b1f606f0ebac2c6bbb9407f17def3d09e7e11","original_commit_id":"9d51b2020bfe937de2cbe3d012a7f7a0c38b1358","user":{"login":"langsmith","id":4394910,"avatar_url":"https://avatars1.githubusercontent.com/u/4394910?v=4","gravatar_id":"","url":"https://api.github.com/users/langsmith","html_url":"https://github.com/langsmith","followers_url":"https://api.github.com/users/langsmith/followers","following_url":"https://api.github.com/users/langsmith/following{/other_user}","gists_url":"https://api.github.com/users/langsmith/gists{/gist_id}","starred_url":"https://api.github.com/users/langsmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/langsmith/subscriptions","organizations_url":"https://api.github.com/users/langsmith/orgs","repos_url":"https://api.github.com/users/langsmith/repos","events_url":"https://api.github.com/users/langsmith/events{/privacy}","received_events_url":"https://api.github.com/users/langsmith/received_events","type":"User","site_admin":false},"body":"Fixed","created_at":"2018-04-19T18:37:30Z","updated_at":"2018-04-19T18:37:30Z","html_url":"https://github.com/mapbox/android-docs/pull/415#discussion_r182845224","pull_request_url":"https://api.github.com/repos/mapbox/android-docs/pulls/415","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/mapbox/android-docs/pulls/comments/182845224"},"html":{"href":"https://github.com/mapbox/android-docs/pull/415#discussion_r182845224"},"pull_request":{"href":"https://api.github.com/repos/mapbox/android-docs/pulls/415"}},"in_reply_to_id":182831356},"pull_request":{"url":"https://api.github.com/repos/mapbox/android-docs/pulls/415","id":182318789,"html_url":"https://github.com/mapbox/android-docs/pull/415","diff_url":"https://github.com/mapbox/android-docs/pull/415.diff","patch_url":"https://github.com/mapbox/android-docs/pull/415.patch","issue_url":"https://api.github.com/repos/mapbox/android-docs/issues/415","number":415,"state":"open","locked":false,"title":"Updating sources in runtime styling section","user":{"login":"langsmith","id":4394910,"avatar_url":"https://avatars1.githubusercontent.com/u/4394910?v=4","gravatar_id":"","url":"https://api.github.com/users/langsmith","html_url":"https://github.com/langsmith","followers_url":"https://api.github.com/users/langsmith/followers","following_url":"https://api.github.com/users/langsmith/following{/other_user}","gists_url":"https://api.github.com/users/langsmith/gists{/gist_id}","starred_url":"https://api.github.com/users/langsmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/langsmith/subscriptions","organizations_url":"https://api.github.com/users/langsmith/orgs","repos_url":"https://api.github.com/users/langsmith/repos","events_url":"https://api.github.com/users/langsmith/events{/privacy}","received_events_url":"https://api.github.com/users/langsmith/received_events","type":"User","site_admin":false},"body":"This pr updates the runtime styling doc and mainly adds more info about the different sources that available to Android devs. This page needed updating.\r\n\r\n","created_at":"2018-04-17T22:11:22Z","updated_at":"2018-04-19T18:37:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a7eb9ec196446fce209dd801674699db8e4cd380","assignee":{"login":"langsmith","id":4394910,"avatar_url":"https://avatars1.githubusercontent.com/u/4394910?v=4","gravatar_id":"","url":"https://api.github.com/users/langsmith","html_url":"https://github.com/langsmith","followers_url":"https://api.github.com/users/langsmith/followers","following_url":"https://api.github.com/users/langsmith/following{/other_user}","gists_url":"https://api.github.com/users/langsmith/gists{/gist_id}","starred_url":"https://api.github.com/users/langsmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/langsmith/subscriptions","organizations_url":"https://api.github.com/users/langsmith/orgs","repos_url":"https://api.github.com/users/langsmith/repos","events_url":"https://api.github.com/users/langsmith/events{/privacy}","received_events_url":"https://api.github.com/users/langsmith/received_events","type":"User","site_admin":false},"assignees":[{"login":"langsmith","id":4394910,"avatar_url":"https://avatars1.githubusercontent.com/u/4394910?v=4","gravatar_id":"","url":"https://api.github.com/users/langsmith","html_url":"https://github.com/langsmith","followers_url":"https://api.github.com/users/langsmith/followers","following_url":"https://api.github.com/users/langsmith/following{/other_user}","gists_url":"https://api.github.com/users/langsmith/gists{/gist_id}","starred_url":"https://api.github.com/users/langsmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/langsmith/subscriptions","organizations_url":"https://api.github.com/users/langsmith/orgs","repos_url":"https://api.github.com/users/langsmith/repos","events_url":"https://api.github.com/users/langsmith/events{/privacy}","received_events_url":"https://api.github.com/users/langsmith/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":560663748,"url":"https://api.github.com/repos/mapbox/android-docs/labels/maps-sdk","name":"maps-sdk","color":"E1126D","default":false},{"id":560666589,"url":"https://api.github.com/repos/mapbox/android-docs/labels/update%20doc","name":"update doc","color":"B53AC8","default":false},{"id":560665197,"url":"https://api.github.com/repos/mapbox/android-docs/labels/%E2%9C%93%20ready%20for%20review","name":"✓ ready for review","color":"33c377","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/mapbox/android-docs/pulls/415/commits","review_comments_url":"https://api.github.com/repos/mapbox/android-docs/pulls/415/comments","review_comment_url":"https://api.github.com/repos/mapbox/android-docs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mapbox/android-docs/issues/415/comments","statuses_url":"https://api.github.com/repos/mapbox/android-docs/statuses/5a5b1f606f0ebac2c6bbb9407f17def3d09e7e11","head":{"label":"mapbox:ls-adding-types-of-sources","ref":"ls-adding-types-of-sources","sha":"5a5b1f606f0ebac2c6bbb9407f17def3d09e7e11","user":{"login":"mapbox","id":600935,"avatar_url":"https://avatars1.githubusercontent.com/u/600935?v=4","gravatar_id":"","url":"https://api.github.com/users/mapbox","html_url":"https://github.com/mapbox","followers_url":"https://api.github.com/users/mapbox/followers","following_url":"https://api.github.com/users/mapbox/following{/other_user}","gists_url":"https://api.github.com/users/mapbox/gists{/gist_id}","starred_url":"https://api.github.com/users/mapbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapbox/subscriptions","organizations_url":"https://api.github.com/users/mapbox/orgs","repos_url":"https://api.github.com/users/mapbox/repos","events_url":"https://api.github.com/users/mapbox/events{/privacy}","received_events_url":"https://api.github.com/users/mapbox/received_events","type":"Organization","site_admin":false},"repo":{"id":84976963,"name":"android-docs","full_name":"mapbox/android-docs","owner":{"login":"mapbox","id":600935,"avatar_url":"https://avatars1.githubusercontent.com/u/600935?v=4","gravatar_id":"","url":"https://api.github.com/users/mapbox","html_url":"https://github.com/mapbox","followers_url":"https://api.github.com/users/mapbox/followers","following_url":"https://api.github.com/users/mapbox/following{/other_user}","gists_url":"https://api.github.com/users/mapbox/gists{/gist_id}","starred_url":"https://api.github.com/users/mapbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapbox/subscriptions","organizations_url":"https://api.github.com/users/mapbox/orgs","repos_url":"https://api.github.com/users/mapbox/repos","events_url":"https://api.github.com/users/mapbox/events{/privacy}","received_events_url":"https://api.github.com/users/mapbox/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mapbox/android-docs","description":"Documentation for the various Mapbox SDKs for Android","fork":false,"url":"https://api.github.com/repos/mapbox/android-docs","forks_url":"https://api.github.com/repos/mapbox/android-docs/forks","keys_url":"https://api.github.com/repos/mapbox/android-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mapbox/android-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mapbox/android-docs/teams","hooks_url":"https://api.github.com/repos/mapbox/android-docs/hooks","issue_events_url":"https://api.github.com/repos/mapbox/android-docs/issues/events{/number}","events_url":"https://api.github.com/repos/mapbox/android-docs/events","assignees_url":"https://api.github.com/repos/mapbox/android-docs/assignees{/user}","branches_url":"https://api.github.com/repos/mapbox/android-docs/branches{/branch}","tags_url":"https://api.github.com/repos/mapbox/android-docs/tags","blobs_url":"https://api.github.com/repos/mapbox/android-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mapbox/android-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mapbox/android-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/mapbox/android-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mapbox/android-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/mapbox/android-docs/languages","stargazers_url":"https://api.github.com/repos/mapbox/android-docs/stargazers","contributors_url":"https://api.github.com/repos/mapbox/android-docs/contributors","subscribers_url":"https://api.github.com/repos/mapbox/android-docs/subscribers","subscription_url":"https://api.github.com/repos/mapbox/android-docs/subscription","commits_url":"https://api.github.com/repos/mapbox/android-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/mapbox/android-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/mapbox/android-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/mapbox/android-docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/mapbox/android-docs/contents/{+path}","compare_url":"https://api.github.com/repos/mapbox/android-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mapbox/android-docs/merges","archive_url":"https://api.github.com/repos/mapbox/android-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mapbox/android-docs/downloads","issues_url":"https://api.github.com/repos/mapbox/android-docs/issues{/number}","pulls_url":"https://api.github.com/repos/mapbox/android-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/mapbox/android-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/mapbox/android-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mapbox/android-docs/labels{/name}","releases_url":"https://api.github.com/repos/mapbox/android-docs/releases{/id}","deployments_url":"https://api.github.com/repos/mapbox/android-docs/deployments","created_at":"2017-03-14T17:16:44Z","updated_at":"2018-04-19T18:35:21Z","pushed_at":"2018-04-19T18:37:04Z","git_url":"git://github.com/mapbox/android-docs.git","ssh_url":"git@github.com:mapbox/android-docs.git","clone_url":"https://github.com/mapbox/android-docs.git","svn_url":"https://github.com/mapbox/android-docs","homepage":"https://www.mapbox.com/android-docs/","size":121238,"stargazers_count":3,"watchers_count":3,"language":"HTML","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"archived":false,"open_issues_count":36,"license":null,"forks":6,"open_issues":36,"watchers":3,"default_branch":"mb-pages"}},"base":{"label":"mapbox:mb-pages","ref":"mb-pages","sha":"bfdf3b5c69125e61285f45163870bda7be796aec","user":{"login":"mapbox","id":600935,"avatar_url":"https://avatars1.githubusercontent.com/u/600935?v=4","gravatar_id":"","url":"https://api.github.com/users/mapbox","html_url":"https://github.com/mapbox","followers_url":"https://api.github.com/users/mapbox/followers","following_url":"https://api.github.com/users/mapbox/following{/other_user}","gists_url":"https://api.github.com/users/mapbox/gists{/gist_id}","starred_url":"https://api.github.com/users/mapbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapbox/subscriptions","organizations_url":"https://api.github.com/users/mapbox/orgs","repos_url":"https://api.github.com/users/mapbox/repos","events_url":"https://api.github.com/users/mapbox/events{/privacy}","received_events_url":"https://api.github.com/users/mapbox/received_events","type":"Organization","site_admin":false},"repo":{"id":84976963,"name":"android-docs","full_name":"mapbox/android-docs","owner":{"login":"mapbox","id":600935,"avatar_url":"https://avatars1.githubusercontent.com/u/600935?v=4","gravatar_id":"","url":"https://api.github.com/users/mapbox","html_url":"https://github.com/mapbox","followers_url":"https://api.github.com/users/mapbox/followers","following_url":"https://api.github.com/users/mapbox/following{/other_user}","gists_url":"https://api.github.com/users/mapbox/gists{/gist_id}","starred_url":"https://api.github.com/users/mapbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapbox/subscriptions","organizations_url":"https://api.github.com/users/mapbox/orgs","repos_url":"https://api.github.com/users/mapbox/repos","events_url":"https://api.github.com/users/mapbox/events{/privacy}","received_events_url":"https://api.github.com/users/mapbox/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mapbox/android-docs","description":"Documentation for the various Mapbox SDKs for Android","fork":false,"url":"https://api.github.com/repos/mapbox/android-docs","forks_url":"https://api.github.com/repos/mapbox/android-docs/forks","keys_url":"https://api.github.com/repos/mapbox/android-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mapbox/android-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mapbox/android-docs/teams","hooks_url":"https://api.github.com/repos/mapbox/android-docs/hooks","issue_events_url":"https://api.github.com/repos/mapbox/android-docs/issues/events{/number}","events_url":"https://api.github.com/repos/mapbox/android-docs/events","assignees_url":"https://api.github.com/repos/mapbox/android-docs/assignees{/user}","branches_url":"https://api.github.com/repos/mapbox/android-docs/branches{/branch}","tags_url":"https://api.github.com/repos/mapbox/android-docs/tags","blobs_url":"https://api.github.com/repos/mapbox/android-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mapbox/android-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mapbox/android-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/mapbox/android-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mapbox/android-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/mapbox/android-docs/languages","stargazers_url":"https://api.github.com/repos/mapbox/android-docs/stargazers","contributors_url":"https://api.github.com/repos/mapbox/android-docs/contributors","subscribers_url":"https://api.github.com/repos/mapbox/android-docs/subscribers","subscription_url":"https://api.github.com/repos/mapbox/android-docs/subscription","commits_url":"https://api.github.com/repos/mapbox/android-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/mapbox/android-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/mapbox/android-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/mapbox/android-docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/mapbox/android-docs/contents/{+path}","compare_url":"https://api.github.com/repos/mapbox/android-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mapbox/android-docs/merges","archive_url":"https://api.github.com/repos/mapbox/android-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mapbox/android-docs/downloads","issues_url":"https://api.github.com/repos/mapbox/android-docs/issues{/number}","pulls_url":"https://api.github.com/repos/mapbox/android-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/mapbox/android-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/mapbox/android-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mapbox/android-docs/labels{/name}","releases_url":"https://api.github.com/repos/mapbox/android-docs/releases{/id}","deployments_url":"https://api.github.com/repos/mapbox/android-docs/deployments","created_at":"2017-03-14T17:16:44Z","updated_at":"2018-04-19T18:35:21Z","pushed_at":"2018-04-19T18:37:04Z","git_url":"git://github.com/mapbox/android-docs.git","ssh_url":"git@github.com:mapbox/android-docs.git","clone_url":"https://github.com/mapbox/android-docs.git","svn_url":"https://github.com/mapbox/android-docs","homepage":"https://www.mapbox.com/android-docs/","size":121238,"stargazers_count":3,"watchers_count":3,"language":"HTML","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"archived":false,"open_issues_count":36,"license":null,"forks":6,"open_issues":36,"watchers":3,"default_branch":"mb-pages"}},"_links":{"self":{"href":"https://api.github.com/repos/mapbox/android-docs/pulls/415"},"html":{"href":"https://github.com/mapbox/android-docs/pull/415"},"issue":{"href":"https://api.github.com/repos/mapbox/android-docs/issues/415"},"comments":{"href":"https://api.github.com/repos/mapbox/android-docs/issues/415/comments"},"review_comments":{"href":"https://api.github.com/repos/mapbox/android-docs/pulls/415/comments"},"review_comment":{"href":"https://api.github.com/repos/mapbox/android-docs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mapbox/android-docs/pulls/415/commits"},"statuses":{"href":"https://api.github.com/repos/mapbox/android-docs/statuses/5a5b1f606f0ebac2c6bbb9407f17def3d09e7e11"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"langsmith"}}