{"action":"created","comment":{"url":"https://api.github.com/repos/mapbox/ios-sdk-examples/pulls/comments/185524848","pull_request_review_id":116931082,"id":185524848,"diff_hunk":"@@ -13,10 +13,11 @@ - (void)layoutSubviews {\n     [super layoutSubviews];\n \n     // Force the annotation view to maintain a constant size when the map is tilted.\n-    self.scalesWithViewingDistance = false;\n+    self.scalesWithViewingDistance = NO;\n+    self.rotatesToMatchCamera = YES;","path":"Examples/ObjectiveC/AnnotationViewExample.m","position":6,"original_position":6,"commit_id":"95e9100ebde8ce8f797da1c70bc8e368d2d15a59","original_commit_id":"95e9100ebde8ce8f797da1c70bc8e368d2d15a59","user":{"login":"julianrex","id":3765757,"avatar_url":"https://avatars0.githubusercontent.com/u/3765757?v=4","gravatar_id":"","url":"https://api.github.com/users/julianrex","html_url":"https://github.com/julianrex","followers_url":"https://api.github.com/users/julianrex/followers","following_url":"https://api.github.com/users/julianrex/following{/other_user}","gists_url":"https://api.github.com/users/julianrex/gists{/gist_id}","starred_url":"https://api.github.com/users/julianrex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julianrex/subscriptions","organizations_url":"https://api.github.com/users/julianrex/orgs","repos_url":"https://api.github.com/users/julianrex/repos","events_url":"https://api.github.com/users/julianrex/events{/privacy}","received_events_url":"https://api.github.com/users/julianrex/received_events","type":"User","site_admin":false},"body":"How about making one of those round annotations square? 😉 ","created_at":"2018-05-02T14:53:23Z","updated_at":"2018-05-02T14:53:23Z","html_url":"https://github.com/mapbox/ios-sdk-examples/pull/174#discussion_r185524848","pull_request_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/pulls/174","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/mapbox/ios-sdk-examples/pulls/comments/185524848"},"html":{"href":"https://github.com/mapbox/ios-sdk-examples/pull/174#discussion_r185524848"},"pull_request":{"href":"https://api.github.com/repos/mapbox/ios-sdk-examples/pulls/174"}},"in_reply_to_id":185507680},"pull_request":{"url":"https://api.github.com/repos/mapbox/ios-sdk-examples/pulls/174","id":185441068,"html_url":"https://github.com/mapbox/ios-sdk-examples/pull/174","diff_url":"https://github.com/mapbox/ios-sdk-examples/pull/174.diff","patch_url":"https://github.com/mapbox/ios-sdk-examples/pull/174.patch","issue_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/issues/174","number":174,"state":"open","locked":false,"title":"Switched to using bounds rather than frame for cornerRadius (as frame changes when rotated).","user":{"login":"julianrex","id":3765757,"avatar_url":"https://avatars0.githubusercontent.com/u/3765757?v=4","gravatar_id":"","url":"https://api.github.com/users/julianrex","html_url":"https://github.com/julianrex","followers_url":"https://api.github.com/users/julianrex/followers","following_url":"https://api.github.com/users/julianrex/following{/other_user}","gists_url":"https://api.github.com/users/julianrex/gists{/gist_id}","starred_url":"https://api.github.com/users/julianrex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julianrex/subscriptions","organizations_url":"https://api.github.com/users/julianrex/orgs","repos_url":"https://api.github.com/users/julianrex/repos","events_url":"https://api.github.com/users/julianrex/events{/privacy}","received_events_url":"https://api.github.com/users/julianrex/received_events","type":"User","site_admin":false},"body":"Partly addresses https://github.com/mapbox/mapbox-gl-native/issues/11756 (also added `rotatesToMatchCamera = YES` to test).\r\n\r\nSee also https://github.com/mapbox/mapbox-gl-native/pull/11817 for the associated change in mapbox-gl-native.\r\n\r\n","created_at":"2018-05-02T13:38:01Z","updated_at":"2018-05-02T14:53:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cafda223a53c9484ffd5c9a9d9e84f4fe40f0d12","assignee":null,"assignees":[],"requested_reviewers":[{"login":"jmkiley","id":12474734,"avatar_url":"https://avatars3.githubusercontent.com/u/12474734?v=4","gravatar_id":"","url":"https://api.github.com/users/jmkiley","html_url":"https://github.com/jmkiley","followers_url":"https://api.github.com/users/jmkiley/followers","following_url":"https://api.github.com/users/jmkiley/following{/other_user}","gists_url":"https://api.github.com/users/jmkiley/gists{/gist_id}","starred_url":"https://api.github.com/users/jmkiley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmkiley/subscriptions","organizations_url":"https://api.github.com/users/jmkiley/orgs","repos_url":"https://api.github.com/users/jmkiley/repos","events_url":"https://api.github.com/users/jmkiley/events{/privacy}","received_events_url":"https://api.github.com/users/jmkiley/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":318351633,"url":"https://api.github.com/repos/mapbox/ios-sdk-examples/labels/bug","name":"bug","color":"fc2929","default":true}],"milestone":null,"commits_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/pulls/174/commits","review_comments_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/pulls/174/comments","review_comment_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/issues/174/comments","statuses_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/statuses/95e9100ebde8ce8f797da1c70bc8e368d2d15a59","head":{"label":"mapbox:jrex-glnative11756-distorted-annotation-view","ref":"jrex-glnative11756-distorted-annotation-view","sha":"95e9100ebde8ce8f797da1c70bc8e368d2d15a59","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":50636220,"name":"ios-sdk-examples","full_name":"mapbox/ios-sdk-examples","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/ios-sdk-examples","description":"Live example code for the Mapbox iOS SDK","fork":false,"url":"https://api.github.com/repos/mapbox/ios-sdk-examples","forks_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/forks","keys_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/teams","hooks_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/hooks","issue_events_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/issues/events{/number}","events_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/events","assignees_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/assignees{/user}","branches_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/branches{/branch}","tags_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/tags","blobs_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/git/refs{/sha}","trees_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/statuses/{sha}","languages_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/languages","stargazers_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/stargazers","contributors_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/contributors","subscribers_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/subscribers","subscription_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/subscription","commits_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/commits{/sha}","git_commits_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/git/commits{/sha}","comments_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/comments{/number}","issue_comment_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/issues/comments{/number}","contents_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/contents/{+path}","compare_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/merges","archive_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/downloads","issues_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/issues{/number}","pulls_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/pulls{/number}","milestones_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/milestones{/number}","notifications_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/labels{/name}","releases_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/releases{/id}","deployments_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/deployments","created_at":"2016-01-29T03:59:51Z","updated_at":"2018-05-01T17:11:57Z","pushed_at":"2018-05-02T13:38:02Z","git_url":"git://github.com/mapbox/ios-sdk-examples.git","ssh_url":"git@github.com:mapbox/ios-sdk-examples.git","clone_url":"https://github.com/mapbox/ios-sdk-examples.git","svn_url":"https://github.com/mapbox/ios-sdk-examples","homepage":"https://www.mapbox.com/ios-sdk/examples/","size":1110,"stargazers_count":23,"watchers_count":23,"language":"Objective-C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"archived":false,"open_issues_count":31,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":15,"open_issues":31,"watchers":23,"default_branch":"master"}},"base":{"label":"mapbox:master","ref":"master","sha":"2b0b009911cc6914be0394e3396864fa223ce981","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":50636220,"name":"ios-sdk-examples","full_name":"mapbox/ios-sdk-examples","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/ios-sdk-examples","description":"Live example code for the Mapbox iOS SDK","fork":false,"url":"https://api.github.com/repos/mapbox/ios-sdk-examples","forks_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/forks","keys_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/teams","hooks_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/hooks","issue_events_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/issues/events{/number}","events_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/events","assignees_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/assignees{/user}","branches_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/branches{/branch}","tags_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/tags","blobs_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/git/refs{/sha}","trees_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/statuses/{sha}","languages_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/languages","stargazers_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/stargazers","contributors_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/contributors","subscribers_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/subscribers","subscription_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/subscription","commits_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/commits{/sha}","git_commits_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/git/commits{/sha}","comments_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/comments{/number}","issue_comment_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/issues/comments{/number}","contents_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/contents/{+path}","compare_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/merges","archive_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/downloads","issues_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/issues{/number}","pulls_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/pulls{/number}","milestones_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/milestones{/number}","notifications_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/labels{/name}","releases_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/releases{/id}","deployments_url":"https://api.github.com/repos/mapbox/ios-sdk-examples/deployments","created_at":"2016-01-29T03:59:51Z","updated_at":"2018-05-01T17:11:57Z","pushed_at":"2018-05-02T13:38:02Z","git_url":"git://github.com/mapbox/ios-sdk-examples.git","ssh_url":"git@github.com:mapbox/ios-sdk-examples.git","clone_url":"https://github.com/mapbox/ios-sdk-examples.git","svn_url":"https://github.com/mapbox/ios-sdk-examples","homepage":"https://www.mapbox.com/ios-sdk/examples/","size":1110,"stargazers_count":23,"watchers_count":23,"language":"Objective-C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"archived":false,"open_issues_count":31,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":15,"open_issues":31,"watchers":23,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mapbox/ios-sdk-examples/pulls/174"},"html":{"href":"https://github.com/mapbox/ios-sdk-examples/pull/174"},"issue":{"href":"https://api.github.com/repos/mapbox/ios-sdk-examples/issues/174"},"comments":{"href":"https://api.github.com/repos/mapbox/ios-sdk-examples/issues/174/comments"},"review_comments":{"href":"https://api.github.com/repos/mapbox/ios-sdk-examples/pulls/174/comments"},"review_comment":{"href":"https://api.github.com/repos/mapbox/ios-sdk-examples/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mapbox/ios-sdk-examples/pulls/174/commits"},"statuses":{"href":"https://api.github.com/repos/mapbox/ios-sdk-examples/statuses/95e9100ebde8ce8f797da1c70bc8e368d2d15a59"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"julianrex"}}