{"action":"created","issue":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/3602","repository_url":"https://api.github.com/repos/mapbox/mapbox-gl-native","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/3602/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/3602/comments","events_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/3602/events","html_url":"https://github.com/mapbox/mapbox-gl-native/issues/3602","id":127409907,"number":3602,"title":"Limit Viewport","user":{"login":"tobrun","id":2151639,"avatar_url":"https://avatars.githubusercontent.com/u/2151639?v=3","gravatar_id":"","url":"https://api.github.com/users/tobrun","html_url":"https://github.com/tobrun","followers_url":"https://api.github.com/users/tobrun/followers","following_url":"https://api.github.com/users/tobrun/following{/other_user}","gists_url":"https://api.github.com/users/tobrun/gists{/gist_id}","starred_url":"https://api.github.com/users/tobrun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobrun/subscriptions","organizations_url":"https://api.github.com/users/tobrun/orgs","repos_url":"https://api.github.com/users/tobrun/repos","events_url":"https://api.github.com/users/tobrun/events{/privacy}","received_events_url":"https://api.github.com/users/tobrun/received_events","type":"User","site_admin":false},"labels":[{"id":143173729,"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/labels/Android","name":"Android","color":"000000","default":false},{"id":77259310,"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/labels/feature","name":"feature","color":"0052cc","default":false},{"id":92400707,"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/labels/iOS","name":"iOS","color":"000000","default":false}],"state":"open","locked":false,"assignee":{"login":"tobrun","id":2151639,"avatar_url":"https://avatars.githubusercontent.com/u/2151639?v=3","gravatar_id":"","url":"https://api.github.com/users/tobrun","html_url":"https://github.com/tobrun","followers_url":"https://api.github.com/users/tobrun/followers","following_url":"https://api.github.com/users/tobrun/following{/other_user}","gists_url":"https://api.github.com/users/tobrun/gists{/gist_id}","starred_url":"https://api.github.com/users/tobrun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobrun/subscriptions","organizations_url":"https://api.github.com/users/tobrun/orgs","repos_url":"https://api.github.com/users/tobrun/repos","events_url":"https://api.github.com/users/tobrun/events{/privacy}","received_events_url":"https://api.github.com/users/tobrun/received_events","type":"User","site_admin":false},"assignees":[{"login":"tobrun","id":2151639,"avatar_url":"https://avatars.githubusercontent.com/u/2151639?v=3","gravatar_id":"","url":"https://api.github.com/users/tobrun","html_url":"https://github.com/tobrun","followers_url":"https://api.github.com/users/tobrun/followers","following_url":"https://api.github.com/users/tobrun/following{/other_user}","gists_url":"https://api.github.com/users/tobrun/gists{/gist_id}","starred_url":"https://api.github.com/users/tobrun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobrun/subscriptions","organizations_url":"https://api.github.com/users/tobrun/orgs","repos_url":"https://api.github.com/users/tobrun/repos","events_url":"https://api.github.com/users/tobrun/events{/privacy}","received_events_url":"https://api.github.com/users/tobrun/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/milestones/44","html_url":"https://github.com/mapbox/mapbox-gl-native/milestones/android-v5.0.0","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/milestones/44/labels","id":1955571,"number":44,"title":"android-v5.0.0","description":"","creator":{"login":"zugaldia","id":6964,"avatar_url":"https://avatars.githubusercontent.com/u/6964?v=3","gravatar_id":"","url":"https://api.github.com/users/zugaldia","html_url":"https://github.com/zugaldia","followers_url":"https://api.github.com/users/zugaldia/followers","following_url":"https://api.github.com/users/zugaldia/following{/other_user}","gists_url":"https://api.github.com/users/zugaldia/gists{/gist_id}","starred_url":"https://api.github.com/users/zugaldia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zugaldia/subscriptions","organizations_url":"https://api.github.com/users/zugaldia/orgs","repos_url":"https://api.github.com/users/zugaldia/repos","events_url":"https://api.github.com/users/zugaldia/events{/privacy}","received_events_url":"https://api.github.com/users/zugaldia/received_events","type":"User","site_admin":false},"open_issues":33,"closed_issues":29,"state":"open","created_at":"2016-08-22T15:32:26Z","updated_at":"2016-11-14T11:08:04Z","due_on":null,"closed_at":null},"comments":22,"created_at":"2016-01-19T10:03:40Z","updated_at":"2016-11-15T09:27:40Z","closed_at":null,"body":"I have been hearing about the feature that developers want to limit the viewport for the end-user.\n##### Sample use-case:\n\nCreate a tourist application for NYC, users are restricted to:\n- move the map in NYC area \n- only allowed to zoom between 8 - 14 level \n- tilt is limited to only 20 degrees.  \n##### API:\n\nThis will result in exposing a similar API as the old raster API:\n- setScrollableAreaLimit() // definition ready\n- setMinZoom() // implemented\n- setMaxZoom() // implemented\n- setMinTilt()\n- setMaxTilt()\n\niOS is currently thinking about implementing https://github.com/mapbox/mapbox-gl-native/issues/2457, which will work similar to the rotation snap-back animation we currently have at very low zoom levels.\n"},"comment":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/comments/260590499","html_url":"https://github.com/mapbox/mapbox-gl-native/issues/3602#issuecomment-260590499","issue_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/3602","id":260590499,"user":{"login":"zugaldia","id":6964,"avatar_url":"https://avatars.githubusercontent.com/u/6964?v=3","gravatar_id":"","url":"https://api.github.com/users/zugaldia","html_url":"https://github.com/zugaldia","followers_url":"https://api.github.com/users/zugaldia/followers","following_url":"https://api.github.com/users/zugaldia/following{/other_user}","gists_url":"https://api.github.com/users/zugaldia/gists{/gist_id}","starred_url":"https://api.github.com/users/zugaldia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zugaldia/subscriptions","organizations_url":"https://api.github.com/users/zugaldia/orgs","repos_url":"https://api.github.com/users/zugaldia/repos","events_url":"https://api.github.com/users/zugaldia/events{/privacy}","received_events_url":"https://api.github.com/users/zugaldia/received_events","type":"User","site_admin":false},"created_at":"2016-11-15T09:27:40Z","updated_at":"2016-11-15T09:27:40Z","body":"Thanks @jlormee for sharing!"}}
{"actor":{"display_login":"zugaldia"}}