{"action":"created","issue":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/3325","repository_url":"https://api.github.com/repos/mapbox/mapbox-gl-js","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/3325/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/3325/comments","events_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/3325/events","html_url":"https://github.com/mapbox/mapbox-gl-js/issues/3325","id":181744641,"number":3325,"title":"autoPan for Popup?","user":{"login":"ivanakimov","id":1404596,"avatar_url":"https://avatars.githubusercontent.com/u/1404596?v=3","gravatar_id":"","url":"https://api.github.com/users/ivanakimov","html_url":"https://github.com/ivanakimov","followers_url":"https://api.github.com/users/ivanakimov/followers","following_url":"https://api.github.com/users/ivanakimov/following{/other_user}","gists_url":"https://api.github.com/users/ivanakimov/gists{/gist_id}","starred_url":"https://api.github.com/users/ivanakimov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivanakimov/subscriptions","organizations_url":"https://api.github.com/users/ivanakimov/orgs","repos_url":"https://api.github.com/users/ivanakimov/repos","events_url":"https://api.github.com/users/ivanakimov/events{/privacy}","received_events_url":"https://api.github.com/users/ivanakimov/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-07T19:04:50Z","updated_at":"2016-10-07T19:47:48Z","closed_at":"2016-10-07T19:17:30Z","body":"[MapboxGL Popup](https://www.mapbox.com/mapbox-gl-js/api/#Popup) does not seem to have an `autoPan` option like [L.popup](https://www.mapbox.com/mapbox.js/api/v2.4.0/l-popup/) does.\r\nAny plans to add this? Seems like a super-useful feature (it's also mentioned [here](https://github.com/mapbox/mapbox-gl-js/issues/325#issuecomment-74810918))"},"comment":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/comments/252344719","html_url":"https://github.com/mapbox/mapbox-gl-js/issues/3325#issuecomment-252344719","issue_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/3325","id":252344719,"user":{"login":"ivanakimov","id":1404596,"avatar_url":"https://avatars.githubusercontent.com/u/1404596?v=3","gravatar_id":"","url":"https://api.github.com/users/ivanakimov","html_url":"https://github.com/ivanakimov","followers_url":"https://api.github.com/users/ivanakimov/followers","following_url":"https://api.github.com/users/ivanakimov/following{/other_user}","gists_url":"https://api.github.com/users/ivanakimov/gists{/gist_id}","starred_url":"https://api.github.com/users/ivanakimov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivanakimov/subscriptions","organizations_url":"https://api.github.com/users/ivanakimov/orgs","repos_url":"https://api.github.com/users/ivanakimov/repos","events_url":"https://api.github.com/users/ivanakimov/events{/privacy}","received_events_url":"https://api.github.com/users/ivanakimov/received_events","type":"User","site_admin":false},"created_at":"2016-10-07T19:47:48Z","updated_at":"2016-10-07T19:47:48Z","body":"Ah, I see. I guess I didn't think one was a replacement for the other.\r\n\r\nI thought the `anchor` was responsible for position relative to coords (show popup at the top vs bottom), and the `autoPan` would actually move the map so the whole popup is visible on the screen.\r\n\r\nCould you point me to the best way to implement something like this?"}}
{"actor":{"display_login":"ivanakimov"}}