{"action":"created","issue":{"url":"https://api.github.com/repos/airbnb/react-native-maps/issues/615","repository_url":"https://api.github.com/repos/airbnb/react-native-maps","labels_url":"https://api.github.com/repos/airbnb/react-native-maps/issues/615/labels{/name}","comments_url":"https://api.github.com/repos/airbnb/react-native-maps/issues/615/comments","events_url":"https://api.github.com/repos/airbnb/react-native-maps/issues/615/events","html_url":"https://github.com/airbnb/react-native-maps/pull/615","id":179328361,"number":615,"title":"Added support for drawing polylines on snapshots on iOS","user":{"login":"IjzerenHein","id":6184593,"avatar_url":"https://avatars.githubusercontent.com/u/6184593?v=3","gravatar_id":"","url":"https://api.github.com/users/IjzerenHein","html_url":"https://github.com/IjzerenHein","followers_url":"https://api.github.com/users/IjzerenHein/followers","following_url":"https://api.github.com/users/IjzerenHein/following{/other_user}","gists_url":"https://api.github.com/users/IjzerenHein/gists{/gist_id}","starred_url":"https://api.github.com/users/IjzerenHein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IjzerenHein/subscriptions","organizations_url":"https://api.github.com/users/IjzerenHein/orgs","repos_url":"https://api.github.com/users/IjzerenHein/repos","events_url":"https://api.github.com/users/IjzerenHein/events{/privacy}","received_events_url":"https://api.github.com/users/IjzerenHein/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-09-26T20:25:39Z","updated_at":"2016-09-27T22:26:19Z","closed_at":"2016-09-27T21:43:22Z","pull_request":{"url":"https://api.github.com/repos/airbnb/react-native-maps/pulls/615","html_url":"https://github.com/airbnb/react-native-maps/pull/615","diff_url":"https://github.com/airbnb/react-native-maps/pull/615.diff","patch_url":"https://github.com/airbnb/react-native-maps/pull/615.patch"},"body":"This pull request fixes the issue that polylines are not drawn on snapshots on iOS.\r\n\r\nSpecifically, it adds infrastructure (the AIRMapSnapshot protocol) to which overlays can conform. The AIRMapSnapshot protocol has one method called `drawToSnapshot` which can optionally be implemented by overlays.\r\n\r\nAdditionally, this pull request adds the `drawToSnapshot` implementation for the AIRMapPolyline class, causing it to be rendered to snapshots. It should be fairly easy to extends other overlays to support snapshot drawing as well.\r\n\r\nThe example below shows the image that was generated using the `takeSnapshot` function, including the polyline overlay:\r\n\r\n![image](https://cloud.githubusercontent.com/assets/6184593/18850478/0251ca60-8438-11e6-9cf2-7cf82a2f5c7a.png)\r\n"},"comment":{"url":"https://api.github.com/repos/airbnb/react-native-maps/issues/comments/250017486","html_url":"https://github.com/airbnb/react-native-maps/pull/615#issuecomment-250017486","issue_url":"https://api.github.com/repos/airbnb/react-native-maps/issues/615","id":250017486,"user":{"login":"IjzerenHein","id":6184593,"avatar_url":"https://avatars.githubusercontent.com/u/6184593?v=3","gravatar_id":"","url":"https://api.github.com/users/IjzerenHein","html_url":"https://github.com/IjzerenHein","followers_url":"https://api.github.com/users/IjzerenHein/followers","following_url":"https://api.github.com/users/IjzerenHein/following{/other_user}","gists_url":"https://api.github.com/users/IjzerenHein/gists{/gist_id}","starred_url":"https://api.github.com/users/IjzerenHein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IjzerenHein/subscriptions","organizations_url":"https://api.github.com/users/IjzerenHein/orgs","repos_url":"https://api.github.com/users/IjzerenHein/repos","events_url":"https://api.github.com/users/IjzerenHein/events{/privacy}","received_events_url":"https://api.github.com/users/IjzerenHein/received_events","type":"User","site_admin":false},"created_at":"2016-09-27T22:26:19Z","updated_at":"2016-09-27T22:26:19Z","body":"Awesome, thanks for pulling!\r\n\r\nFYI, I'm working on the Android implementation of taking snapshots. I'll hopefully push that soon."}}
{"actor":{"display_login":"IjzerenHein"}}