{"action":"created","issue":{"url":"https://api.github.com/repos/lelandrichardson/react-native-maps/issues/259","repository_url":"https://api.github.com/repos/lelandrichardson/react-native-maps","labels_url":"https://api.github.com/repos/lelandrichardson/react-native-maps/issues/259/labels{/name}","comments_url":"https://api.github.com/repos/lelandrichardson/react-native-maps/issues/259/comments","events_url":"https://api.github.com/repos/lelandrichardson/react-native-maps/issues/259/events","html_url":"https://github.com/lelandrichardson/react-native-maps/issues/259","id":157355377,"number":259,"title":"how to display multiple polylines","user":{"login":"texas697","id":6617881,"avatar_url":"https://avatars.githubusercontent.com/u/6617881?v=3","gravatar_id":"","url":"https://api.github.com/users/texas697","html_url":"https://github.com/texas697","followers_url":"https://api.github.com/users/texas697/followers","following_url":"https://api.github.com/users/texas697/following{/other_user}","gists_url":"https://api.github.com/users/texas697/gists{/gist_id}","starred_url":"https://api.github.com/users/texas697/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/texas697/subscriptions","organizations_url":"https://api.github.com/users/texas697/orgs","repos_url":"https://api.github.com/users/texas697/repos","events_url":"https://api.github.com/users/texas697/events{/privacy}","received_events_url":"https://api.github.com/users/texas697/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-05-28T20:19:02Z","updated_at":"2016-05-31T15:37:56Z","closed_at":"2016-05-31T15:37:56Z","body":"I have created a array of arrays that I would like to use for multiple polylines as I do for markers and polygons. Is this possible? I am not getting any errors so I am not sure what I can do to correct this. Here is a pastebin of the json [http://pastebin.com/Q3UqzpEi](url)\r\n\r\n```\r\nlet res = _.groupBy(routesById, \"isRouteId\")\r\nlet first = _.first(uniqueRouteIds)\r\n               \r\n// console.log(JSON.stringify(res))\r\n              \r\n       me.setState({\r\n             region: {\r\n                  latitude: res[first][0].latlngObj.latitude,\r\n                  longitude: res[first][0].latlngObj.longitude,\r\n                  latitudeDelta: LATITUDE_DELTA,\r\n                  longitudeDelta: LONGITUDE_DELTA\r\n               }\r\n          })\r\n\r\n      me.setState({ polylines: res });\r\n```\r\n\r\n```\r\n   <MapView\r\n          style={styles.map}\r\n          region={this.state.region}\r\n          >\r\n          {this.state.polylines.map(polyline => (\r\n              <MapView.Polyline\r\n                    key = {polyline.key}\r\n                    coordinates={polyline.latlngObj}\r\n                    strokeColor={PolylineBlue}\r\n                    strokeWidth={5}\r\n                 />\r\n             )) }\r\n\r\n   </MapView>\r\n```"},"comment":{"url":"https://api.github.com/repos/lelandrichardson/react-native-maps/issues/comments/222728134","html_url":"https://github.com/lelandrichardson/react-native-maps/issues/259#issuecomment-222728134","issue_url":"https://api.github.com/repos/lelandrichardson/react-native-maps/issues/259","id":222728134,"user":{"login":"texas697","id":6617881,"avatar_url":"https://avatars.githubusercontent.com/u/6617881?v=3","gravatar_id":"","url":"https://api.github.com/users/texas697","html_url":"https://github.com/texas697","followers_url":"https://api.github.com/users/texas697/followers","following_url":"https://api.github.com/users/texas697/following{/other_user}","gists_url":"https://api.github.com/users/texas697/gists{/gist_id}","starred_url":"https://api.github.com/users/texas697/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/texas697/subscriptions","organizations_url":"https://api.github.com/users/texas697/orgs","repos_url":"https://api.github.com/users/texas697/repos","events_url":"https://api.github.com/users/texas697/events{/privacy}","received_events_url":"https://api.github.com/users/texas697/received_events","type":"User","site_admin":false},"created_at":"2016-05-31T15:37:56Z","updated_at":"2016-05-31T15:37:56Z","body":"outstanding! really appreciate the help. and thanks again for this map package. "}}
{"actor":{"display_login":"texas697"}}