{"action":"opened","issue":{"url":"https://api.github.com/repos/mapbox/mapbox-navigation-ios/issues/1142","repository_url":"https://api.github.com/repos/mapbox/mapbox-navigation-ios","labels_url":"https://api.github.com/repos/mapbox/mapbox-navigation-ios/issues/1142/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapbox-navigation-ios/issues/1142/comments","events_url":"https://api.github.com/repos/mapbox/mapbox-navigation-ios/issues/1142/events","html_url":"https://github.com/mapbox/mapbox-navigation-ios/issues/1142","id":298739844,"number":1142,"title":"Improve progressDidChange + location","user":{"login":"bsudekum","id":1058624,"avatar_url":"https://avatars0.githubusercontent.com/u/1058624?v=4","gravatar_id":"","url":"https://api.github.com/users/bsudekum","html_url":"https://github.com/bsudekum","followers_url":"https://api.github.com/users/bsudekum/followers","following_url":"https://api.github.com/users/bsudekum/following{/other_user}","gists_url":"https://api.github.com/users/bsudekum/gists{/gist_id}","starred_url":"https://api.github.com/users/bsudekum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bsudekum/subscriptions","organizations_url":"https://api.github.com/users/bsudekum/orgs","repos_url":"https://api.github.com/users/bsudekum/repos","events_url":"https://api.github.com/users/bsudekum/events{/privacy}","received_events_url":"https://api.github.com/users/bsudekum/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-20T20:37:43Z","updated_at":"2018-02-20T20:37:43Z","closed_at":null,"author_association":"COLLABORATOR","body":"Two issues here:\r\n\r\n* `RouteController.location` is poorly named. This location is the snapped location. We should make this more clear.\r\n* The location returned from progressDidChange is the raw unsnapped location. When implementing a custom UI, a developer would have to know to reach into the `routeController` to get the snapped location to update the user puck view. \r\n\r\nProposals:\r\n\r\n1. Rename `RouteController.location` to `snappedLocation`\r\n1. Return both the raw location and snapped location on progress updates.\r\n\r\n/cc @mapbox/navigation-ios "}}
{"actor":{"display_login":"bsudekum"}}