{"action":"created","issue":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/1844","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/1844/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/1844/comments","events_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/1844/events","html_url":"https://github.com/mapbox/mapbox-gl-native/pull/1844","id":93654157,"number":1844,"title":"legacy raster mapID API","user":{"login":"incanus","id":17722,"avatar_url":"https://avatars.githubusercontent.com/u/17722?v=3","gravatar_id":"","url":"https://api.github.com/users/incanus","html_url":"https://github.com/incanus","followers_url":"https://api.github.com/users/incanus/followers","following_url":"https://api.github.com/users/incanus/following{/other_user}","gists_url":"https://api.github.com/users/incanus/gists{/gist_id}","starred_url":"https://api.github.com/users/incanus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/incanus/subscriptions","organizations_url":"https://api.github.com/users/incanus/orgs","repos_url":"https://api.github.com/users/incanus/repos","events_url":"https://api.github.com/users/incanus/events{/privacy}","received_events_url":"https://api.github.com/users/incanus/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/labels/feature","name":"feature","color":"0052cc"},{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/labels/in%20progress","name":"in progress","color":"ededed"},{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/labels/iOS","name":"iOS","color":"207de5"},{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/labels/parity","name":"parity","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/milestones/8","html_url":"https://github.com/mapbox/mapbox-gl-native/milestones/iOS%20Beta%203","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/milestones/8/labels","id":1019114,"number":8,"title":"iOS Beta 3","description":"* Headers now make use of lightweight generics, eliminating many unnecessary casts when working with annotations in Swift 2.0 in Xcode 7. (#1711)\r\n* `MGLMapView.direction` is now expressed in terms of degrees clockwise from true north, as indicated in the documentation, rather than counterclockwise. (#1789)\r\n* Delegate method `-[MGLMapViewDelegate mapView:didFailToLocateUserWithError:]` now works. (#1608)\r\n* It is now possible to fit the map’s viewport to a coordinate bounding box via `-[MGLMapView setVisibleCoordinateBounds:animated:]` or to a specific set of coordinates via `-[MGLMapView setVisibleCoordinates:count:edgePadding:animated:]`. (#1783, #1795)\r\n* The logo and ℹ️ no longer disappear or get distorted after embedding MGLMapView in a different view, and you can now access these subviews directly via properties on MGLMapView. (#1779, #1815)\r\n* Resetting the map rotation to north no longer also resets the user location tracking mode. (#1809)\r\n* `-[MGLMapView convertPoint:toCoordinateFromView:]` now returns accurate coordinates on iPhone 6. (#1827)\r\n* Fixed an issue in which `-[MGLMapView direction]` would sometimes return 360 instead of 0. (#1829)\r\n* Fixed an issue in which the compass would spin a full 360° when tapping it. (#1829)","creator":{"login":"incanus","id":17722,"avatar_url":"https://avatars.githubusercontent.com/u/17722?v=3","gravatar_id":"","url":"https://api.github.com/users/incanus","html_url":"https://github.com/incanus","followers_url":"https://api.github.com/users/incanus/followers","following_url":"https://api.github.com/users/incanus/following{/other_user}","gists_url":"https://api.github.com/users/incanus/gists{/gist_id}","starred_url":"https://api.github.com/users/incanus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/incanus/subscriptions","organizations_url":"https://api.github.com/users/incanus/orgs","repos_url":"https://api.github.com/users/incanus/repos","events_url":"https://api.github.com/users/incanus/events{/privacy}","received_events_url":"https://api.github.com/users/incanus/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":25,"state":"open","created_at":"2015-03-12T17:38:30Z","updated_at":"2015-07-07T23:38:25Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2015-07-07T23:38:25Z","updated_at":"2015-07-08T00:02:48Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/pulls/1844","html_url":"https://github.com/mapbox/mapbox-gl-native/pull/1844","diff_url":"https://github.com/mapbox/mapbox-gl-native/pull/1844.diff","patch_url":"https://github.com/mapbox/mapbox-gl-native/pull/1844.patch"},"body":"For your perusal and consideration. When #963 lands, this will be trivially doable. \r\n\r\n```objc\r\n[self.mapView setRasterMapID:@\"examples.map-pgygbwdm\"];\r\n```\r\n\r\nOnly concerns are around interference with `styleID`, such as in IB. I don't want to overthink this, and would punt at the earliest sign of complication, but if this can stand like this, it's an easy win. \r\n\r\n/cc @1ec5 @friedbunny "},"comment":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/comments/119377611","html_url":"https://github.com/mapbox/mapbox-gl-native/pull/1844#issuecomment-119377611","issue_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/1844","id":119377611,"user":{"login":"incanus","id":17722,"avatar_url":"https://avatars.githubusercontent.com/u/17722?v=3","gravatar_id":"","url":"https://api.github.com/users/incanus","html_url":"https://github.com/incanus","followers_url":"https://api.github.com/users/incanus/followers","following_url":"https://api.github.com/users/incanus/following{/other_user}","gists_url":"https://api.github.com/users/incanus/gists{/gist_id}","starred_url":"https://api.github.com/users/incanus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/incanus/subscriptions","organizations_url":"https://api.github.com/users/incanus/orgs","repos_url":"https://api.github.com/users/incanus/repos","events_url":"https://api.github.com/users/incanus/events{/privacy}","received_events_url":"https://api.github.com/users/incanus/received_events","type":"User","site_admin":false},"created_at":"2015-07-08T00:02:48Z","updated_at":"2015-07-08T00:02:48Z","body":"Hmm, putting magic tokens in feels complex to me. I'd rather keep it in a separate API that we can point people to, but that is 1) clearly labeled in a sort of deprecating, maybe-don't-really-use-this way, and 2) Can be removed in future with a more clean break. "}}