{"action":"closed","issue":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/1256","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/1256/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/1256/comments","events_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/1256/events","html_url":"https://github.com/mapbox/mapbox-gl-native/issues/1256","id":67734656,"number":1256,"title":"iOS: Zooming out beyond ~z10 with tracking mode enabled will force zoom in, reset tracking","user":{"login":"friedbunny","id":1198851,"avatar_url":"https://avatars.githubusercontent.com/u/1198851?v=3","gravatar_id":"","url":"https://api.github.com/users/friedbunny","html_url":"https://github.com/friedbunny","followers_url":"https://api.github.com/users/friedbunny/followers","following_url":"https://api.github.com/users/friedbunny/following{/other_user}","gists_url":"https://api.github.com/users/friedbunny/gists{/gist_id}","starred_url":"https://api.github.com/users/friedbunny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/friedbunny/subscriptions","organizations_url":"https://api.github.com/users/friedbunny/orgs","repos_url":"https://api.github.com/users/friedbunny/repos","events_url":"https://api.github.com/users/friedbunny/events{/privacy}","received_events_url":"https://api.github.com/users/friedbunny/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/labels/iOS","name":"iOS","color":"207de5"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-11T05:03:26Z","updated_at":"2015-06-26T05:10:39Z","closed_at":"2015-06-26T05:10:39Z","body":"When any `MGLUserTrackingMode` is enabled and the user zooms out beyond [`round(self.zoomLevel) >= 10`](https://github.com/mapbox/mapbox-gl-native/blob/e6e340afd17a29ee4d183540e716376cdb1ef88e/platform/ios/MGLMapView.mm#L1820-L1856), we force the map to zoom to \"near accuracy confidence\" — usually about z18.\r\n\r\nThe eventual call to `[MGLMapView setCenterCoordinate:zoomLevel:animated:]` also [mistakenly resets the tracking mode](https://github.com/mapbox/mapbox-gl-native/blob/e6e340afd17a29ee4d183540e716376cdb1ef88e/platform/ios/MGLMapView.mm#L1184)."}}