{"action":"created","issue":{"url":"https://api.github.com/repos/mapbox/mapbox-unity-sdk/issues/704","repository_url":"https://api.github.com/repos/mapbox/mapbox-unity-sdk","labels_url":"https://api.github.com/repos/mapbox/mapbox-unity-sdk/issues/704/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapbox-unity-sdk/issues/704/comments","events_url":"https://api.github.com/repos/mapbox/mapbox-unity-sdk/issues/704/events","html_url":"https://github.com/mapbox/mapbox-unity-sdk/pull/704","id":316095367,"number":704,"title":"Add onUpdated event to the map.","user":{"login":"atripathi-mb","id":32286016,"avatar_url":"https://avatars2.githubusercontent.com/u/32286016?v=4","gravatar_id":"","url":"https://api.github.com/users/atripathi-mb","html_url":"https://github.com/atripathi-mb","followers_url":"https://api.github.com/users/atripathi-mb/followers","following_url":"https://api.github.com/users/atripathi-mb/following{/other_user}","gists_url":"https://api.github.com/users/atripathi-mb/gists{/gist_id}","starred_url":"https://api.github.com/users/atripathi-mb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atripathi-mb/subscriptions","organizations_url":"https://api.github.com/users/atripathi-mb/orgs","repos_url":"https://api.github.com/users/atripathi-mb/repos","events_url":"https://api.github.com/users/atripathi-mb/events{/privacy}","received_events_url":"https://api.github.com/users/atripathi-mb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-20T01:35:39Z","updated_at":"2018-04-20T06:00:04Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/mapbox/mapbox-unity-sdk/pulls/704","html_url":"https://github.com/mapbox/mapbox-unity-sdk/pull/704","diff_url":"https://github.com/mapbox/mapbox-unity-sdk/pull/704.diff","patch_url":"https://github.com/mapbox/mapbox-unity-sdk/pull/704.patch"},"body":" Fix Directions Factory to use the onUpdated event.\r\n\r\n**Related issue**\r\n\r\nCloses #689 \r\n\r\n**Description of changes**\r\n\r\nWith the `UpdateMap` method added to the `AbstractMap` , we no longer can rely on `OnInitialized` event to trigger actions when the map's location is changed. Adding `OnUpdate` event will allow users to trigger custom actions when the map is updated. This  fix will make the Directions Factory example working again. \r\n\r\n**QA checklists**\r\n\r\n- [x] Add relevant code comments. Every API class and method should have `<summary>` description as well as description of parameters.\r\n- [ ] **Add tests for new/changed/updated classes and methods!!!**\r\n- [x] Check out conventions in [CONTRIBUTING.md](https://github.com/mapbox/mapbox-unity-sdk/blob/develop/CONTRIBUTING.md).\r\n- [x] Check out conventions in [CODING-STYLE.md](https://github.com/mapbox/mapbox-unity-sdk/blob/develop/CODING-STYLE.md)\r\n- [ ] Update the [changelog](https://github.com/mapbox/mapbox-unity-sdk/blob/develop/documentation/docs/05-changelog.md)\r\n- [ ] Update documentation.\r\n\r\n**Reviewers**\r\n\r\n@BergWerkGIS @brnkhy \r\n"},"comment":{"url":"https://api.github.com/repos/mapbox/mapbox-unity-sdk/issues/comments/382987520","html_url":"https://github.com/mapbox/mapbox-unity-sdk/pull/704#issuecomment-382987520","issue_url":"https://api.github.com/repos/mapbox/mapbox-unity-sdk/issues/704","id":382987520,"user":{"login":"BergWerkGIS","id":4549888,"avatar_url":"https://avatars1.githubusercontent.com/u/4549888?v=4","gravatar_id":"","url":"https://api.github.com/users/BergWerkGIS","html_url":"https://github.com/BergWerkGIS","followers_url":"https://api.github.com/users/BergWerkGIS/followers","following_url":"https://api.github.com/users/BergWerkGIS/following{/other_user}","gists_url":"https://api.github.com/users/BergWerkGIS/gists{/gist_id}","starred_url":"https://api.github.com/users/BergWerkGIS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BergWerkGIS/subscriptions","organizations_url":"https://api.github.com/users/BergWerkGIS/orgs","repos_url":"https://api.github.com/users/BergWerkGIS/repos","events_url":"https://api.github.com/users/BergWerkGIS/events{/privacy}","received_events_url":"https://api.github.com/users/BergWerkGIS/received_events","type":"User","site_admin":false},"created_at":"2018-04-20T06:00:04Z","updated_at":"2018-04-20T06:00:04Z","author_association":"MEMBER","body":"> Update the changelog\r\n\r\n🙏 "}}
{"actor":{"display_login":"BergWerkGIS"}}