{"action":"created","issue":{"url":"https://api.github.com/repos/openstreetmap/openstreetmap-website/issues/1751","repository_url":"https://api.github.com/repos/openstreetmap/openstreetmap-website","labels_url":"https://api.github.com/repos/openstreetmap/openstreetmap-website/issues/1751/labels{/name}","comments_url":"https://api.github.com/repos/openstreetmap/openstreetmap-website/issues/1751/comments","events_url":"https://api.github.com/repos/openstreetmap/openstreetmap-website/issues/1751/events","html_url":"https://github.com/openstreetmap/openstreetmap-website/pull/1751","id":296947988,"number":1751,"title":"Stop map zooming out after dropping Route end marker","user":{"login":"jguthrie100","id":4670502,"avatar_url":"https://avatars0.githubusercontent.com/u/4670502?v=4","gravatar_id":"","url":"https://api.github.com/users/jguthrie100","html_url":"https://github.com/jguthrie100","followers_url":"https://api.github.com/users/jguthrie100/followers","following_url":"https://api.github.com/users/jguthrie100/following{/other_user}","gists_url":"https://api.github.com/users/jguthrie100/gists{/gist_id}","starred_url":"https://api.github.com/users/jguthrie100/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jguthrie100/subscriptions","organizations_url":"https://api.github.com/users/jguthrie100/orgs","repos_url":"https://api.github.com/users/jguthrie100/repos","events_url":"https://api.github.com/users/jguthrie100/events{/privacy}","received_events_url":"https://api.github.com/users/jguthrie100/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-14T01:38:09Z","updated_at":"2018-02-14T17:54:51Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/openstreetmap/openstreetmap-website/pulls/1751","html_url":"https://github.com/openstreetmap/openstreetmap-website/pull/1751","diff_url":"https://github.com/openstreetmap/openstreetmap-website/pull/1751.diff","patch_url":"https://github.com/openstreetmap/openstreetmap-website/pull/1751.patch"},"body":"PR to stop the map zooming out after start or end point has been dragged.\r\n\r\nIt brings it into line with how Google, Bing etc handle route dragging i.e. (just leaving the map view as it is), which seems like the most user friendly way to go about it :)\r\n\r\nMap still zooms out when searching a new route via the 'Go' button"},"comment":{"url":"https://api.github.com/repos/openstreetmap/openstreetmap-website/issues/comments/365690608","html_url":"https://github.com/openstreetmap/openstreetmap-website/pull/1751#issuecomment-365690608","issue_url":"https://api.github.com/repos/openstreetmap/openstreetmap-website/issues/1751","id":365690608,"user":{"login":"tomhughes","id":147741,"avatar_url":"https://avatars0.githubusercontent.com/u/147741?v=4","gravatar_id":"","url":"https://api.github.com/users/tomhughes","html_url":"https://github.com/tomhughes","followers_url":"https://api.github.com/users/tomhughes/followers","following_url":"https://api.github.com/users/tomhughes/following{/other_user}","gists_url":"https://api.github.com/users/tomhughes/gists{/gist_id}","starred_url":"https://api.github.com/users/tomhughes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomhughes/subscriptions","organizations_url":"https://api.github.com/users/tomhughes/orgs","repos_url":"https://api.github.com/users/tomhughes/repos","events_url":"https://api.github.com/users/tomhughes/events{/privacy}","received_events_url":"https://api.github.com/users/tomhughes/received_events","type":"User","site_admin":false},"created_at":"2018-02-14T17:54:50Z","updated_at":"2018-02-14T17:54:50Z","author_association":"OWNER","body":"I think the problem is when there is a `getRoute` running from the dynamic drag and it finished with an error after `dragEnd` is set this clearing that before the real `getRoute` finishes.\r\n\r\nI have an alternate fix that avoids global state which I'm going to push."}}
{"actor":{"display_login":"tomhughes"}}