{"action":"opened","issue":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/3842","repository_url":"https://api.github.com/repos/mapbox/mapbox-gl-native","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/3842/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/3842/comments","events_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/3842/events","html_url":"https://github.com/mapbox/mapbox-gl-native/issues/3842","id":131829993,"number":3842,"title":"-setZoomLevel: should increase maximum zoom level if necessary","user":{"login":"1ec5","id":1231218,"avatar_url":"https://avatars.githubusercontent.com/u/1231218?v=3","gravatar_id":"","url":"https://api.github.com/users/1ec5","html_url":"https://github.com/1ec5","followers_url":"https://api.github.com/users/1ec5/followers","following_url":"https://api.github.com/users/1ec5/following{/other_user}","gists_url":"https://api.github.com/users/1ec5/gists{/gist_id}","starred_url":"https://api.github.com/users/1ec5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/1ec5/subscriptions","organizations_url":"https://api.github.com/users/1ec5/orgs","repos_url":"https://api.github.com/users/1ec5/repos","events_url":"https://api.github.com/users/1ec5/events{/privacy}","received_events_url":"https://api.github.com/users/1ec5/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/labels/iOS","name":"iOS","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-06T06:56:14Z","updated_at":"2016-02-06T06:56:14Z","closed_at":null,"body":"`-[MGLMapView setZoomLevel:]` is currently clamped to the minimum and maximum zoom levels. In general, however, MGLMapView generally uses properties like that to restrict user activity, such as to prevent the user from pinching in past the maximum zoom level, not to restrict programmatic use. If a higher-than-maximum value is passed into `-setZoomLevel:`, that’s pretty intentional, and MGLMapView should respect that value (up to the hard limit of 25.5) by increasing the maximum zoom level.\r\n\r\n/cc @ansis @friedbunny @bleege"}}