{"action":"created","issue":{"url":"https://api.github.com/repos/mapbox/mapbox-unity-sdk/issues/121","repository_url":"https://api.github.com/repos/mapbox/mapbox-unity-sdk","labels_url":"https://api.github.com/repos/mapbox/mapbox-unity-sdk/issues/121/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapbox-unity-sdk/issues/121/comments","events_url":"https://api.github.com/repos/mapbox/mapbox-unity-sdk/issues/121/events","html_url":"https://github.com/mapbox/mapbox-unity-sdk/issues/121","id":235721092,"number":121,"title":"How can I zoom in and zoom out in runtime?","user":{"login":"wx0165927473","id":4411120,"avatar_url":"https://avatars2.githubusercontent.com/u/4411120?v=3","gravatar_id":"","url":"https://api.github.com/users/wx0165927473","html_url":"https://github.com/wx0165927473","followers_url":"https://api.github.com/users/wx0165927473/followers","following_url":"https://api.github.com/users/wx0165927473/following{/other_user}","gists_url":"https://api.github.com/users/wx0165927473/gists{/gist_id}","starred_url":"https://api.github.com/users/wx0165927473/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wx0165927473/subscriptions","organizations_url":"https://api.github.com/users/wx0165927473/orgs","repos_url":"https://api.github.com/users/wx0165927473/repos","events_url":"https://api.github.com/users/wx0165927473/events{/privacy}","received_events_url":"https://api.github.com/users/wx0165927473/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-06-13T23:26:28Z","updated_at":"2017-06-14T22:02:24Z","closed_at":null,"body":"I want to change the zoom factor in runtime. Similar to if I am using mouse, I can use scroll to zoom in and out. Thanks."},"comment":{"url":"https://api.github.com/repos/mapbox/mapbox-unity-sdk/issues/comments/308571145","html_url":"https://github.com/mapbox/mapbox-unity-sdk/issues/121#issuecomment-308571145","issue_url":"https://api.github.com/repos/mapbox/mapbox-unity-sdk/issues/121","id":308571145,"user":{"login":"brnkhy","id":1465390,"avatar_url":"https://avatars1.githubusercontent.com/u/1465390?v=3","gravatar_id":"","url":"https://api.github.com/users/brnkhy","html_url":"https://github.com/brnkhy","followers_url":"https://api.github.com/users/brnkhy/followers","following_url":"https://api.github.com/users/brnkhy/following{/other_user}","gists_url":"https://api.github.com/users/brnkhy/gists{/gist_id}","starred_url":"https://api.github.com/users/brnkhy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brnkhy/subscriptions","organizations_url":"https://api.github.com/users/brnkhy/orgs","repos_url":"https://api.github.com/users/brnkhy/repos","events_url":"https://api.github.com/users/brnkhy/events{/privacy}","received_events_url":"https://api.github.com/users/brnkhy/received_events","type":"User","site_admin":false},"created_at":"2017-06-14T22:02:24Z","updated_at":"2017-06-14T22:02:24Z","body":"@wx0165927473 I don't remember trying exactly that but you should be able to do that at the moment. You should raycast and find the point where your cursor hits the ground. Then add world center pos to that (CenterMercator under AbstractMap), and finally use MetersToLatLon extension under Conversions.cs.\r\nLet me know if it doesn't work but feel free to open another ticket so we don't derail this one ;)"}}
{"actor":{"display_login":"brnkhy"}}