{"action":"created","issue":{"url":"https://api.github.com/repos/leftaroundabout/dynamic-plot/issues/2","repository_url":"https://api.github.com/repos/leftaroundabout/dynamic-plot","labels_url":"https://api.github.com/repos/leftaroundabout/dynamic-plot/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/leftaroundabout/dynamic-plot/issues/2/comments","events_url":"https://api.github.com/repos/leftaroundabout/dynamic-plot/issues/2/events","html_url":"https://github.com/leftaroundabout/dynamic-plot/issues/2","id":150718295,"number":2,"title":"Panning via dragging","user":{"login":"redneb","id":382627,"avatar_url":"https://avatars.githubusercontent.com/u/382627?v=3","gravatar_id":"","url":"https://api.github.com/users/redneb","html_url":"https://github.com/redneb","followers_url":"https://api.github.com/users/redneb/followers","following_url":"https://api.github.com/users/redneb/following{/other_user}","gists_url":"https://api.github.com/users/redneb/gists{/gist_id}","starred_url":"https://api.github.com/users/redneb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redneb/subscriptions","organizations_url":"https://api.github.com/users/redneb/orgs","repos_url":"https://api.github.com/users/redneb/repos","events_url":"https://api.github.com/users/redneb/events{/privacy}","received_events_url":"https://api.github.com/users/redneb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-25T00:44:36Z","updated_at":"2016-04-25T16:45:48Z","closed_at":null,"body":"It would be nice to allow panning via dragging the view with the mouse, similar to how google maps works."},"comment":{"url":"https://api.github.com/repos/leftaroundabout/dynamic-plot/issues/comments/214436820","html_url":"https://github.com/leftaroundabout/dynamic-plot/issues/2#issuecomment-214436820","issue_url":"https://api.github.com/repos/leftaroundabout/dynamic-plot/issues/2","id":214436820,"user":{"login":"leftaroundabout","id":1528675,"avatar_url":"https://avatars.githubusercontent.com/u/1528675?v=3","gravatar_id":"","url":"https://api.github.com/users/leftaroundabout","html_url":"https://github.com/leftaroundabout","followers_url":"https://api.github.com/users/leftaroundabout/followers","following_url":"https://api.github.com/users/leftaroundabout/following{/other_user}","gists_url":"https://api.github.com/users/leftaroundabout/gists{/gist_id}","starred_url":"https://api.github.com/users/leftaroundabout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leftaroundabout/subscriptions","organizations_url":"https://api.github.com/users/leftaroundabout/orgs","repos_url":"https://api.github.com/users/leftaroundabout/repos","events_url":"https://api.github.com/users/leftaroundabout/events{/privacy}","received_events_url":"https://api.github.com/users/leftaroundabout/received_events","type":"User","site_admin":false},"created_at":"2016-04-25T16:45:48Z","updated_at":"2016-04-25T16:45:48Z","body":"I actually designed the zoom/scroll behaviour deliberately so this wouldn't be necessary. Scrolling out does not zoom around the mouse but around the _opposite_ focal point, so you can quite easily &ldquo;crawl along&rdquo; by zooming out an in again near a screen edge. Especially for larger distances, this is more effecient than click-and-move, because the zooming gives you exponential step size. After some experience with this, I regularly wish Google Maps had this behaviour too!\r\n\r\n![crawl-scrolling](https://cloud.githubusercontent.com/assets/1528675/14791103/9c71a20c-0b14-11e6-98da-ea86ec059eef.gif)\r\n\r\nThat said... I'm not altogether happy with the navigation features yet, either. In particular, the zooming messes up the aspect ratio, which is certainly a problem in many applications.\r\n\r\n'll consider some changes. But I don't think I'd like grab&drag panning, also because it fix-assigns mouse clicks to a built-in feature. I'd like to keep clicks completely free so one can use them to e.g. drag around objects dynamically, at some point."}}