{"action":"created","issue":{"url":"https://api.github.com/repos/open-austin/austingreenmap/issues/3","labels_url":"https://api.github.com/repos/open-austin/austingreenmap/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/open-austin/austingreenmap/issues/3/comments","events_url":"https://api.github.com/repos/open-austin/austingreenmap/issues/3/events","html_url":"https://github.com/open-austin/austingreenmap/pull/3","id":86039842,"number":3,"title":"Update map badly when clicking park names","user":{"login":"johntyree","id":108972,"avatar_url":"https://avatars.githubusercontent.com/u/108972?v=3","gravatar_id":"","url":"https://api.github.com/users/johntyree","html_url":"https://github.com/johntyree","followers_url":"https://api.github.com/users/johntyree/followers","following_url":"https://api.github.com/users/johntyree/following{/other_user}","gists_url":"https://api.github.com/users/johntyree/gists{/gist_id}","starred_url":"https://api.github.com/users/johntyree/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johntyree/subscriptions","organizations_url":"https://api.github.com/users/johntyree/orgs","repos_url":"https://api.github.com/users/johntyree/repos","events_url":"https://api.github.com/users/johntyree/events{/privacy}","received_events_url":"https://api.github.com/users/johntyree/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-08T05:53:31Z","updated_at":"2015-06-08T13:07:57Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/open-austin/austingreenmap/pulls/3","html_url":"https://github.com/open-austin/austingreenmap/pull/3","diff_url":"https://github.com/open-austin/austingreenmap/pull/3.diff","patch_url":"https://github.com/open-austin/austingreenmap/pull/3.patch"},"body":"Not every park has every kind of data apparently.\r\n\r\nAlso, there's still no CSS so everything is a mess.\r\n\r\nALSO, I can't tell if it's because of 404's or just because it's badly written, but it seems like it only updates the markers once. After that it will hide them, but not render new ones. I could be wrong here, though, it's late."},"comment":{"url":"https://api.github.com/repos/open-austin/austingreenmap/issues/comments/109987131","html_url":"https://github.com/open-austin/austingreenmap/pull/3#issuecomment-109987131","issue_url":"https://api.github.com/repos/open-austin/austingreenmap/issues/3","id":109987131,"user":{"login":"luqmaan","id":1275831,"avatar_url":"https://avatars.githubusercontent.com/u/1275831?v=3","gravatar_id":"","url":"https://api.github.com/users/luqmaan","html_url":"https://github.com/luqmaan","followers_url":"https://api.github.com/users/luqmaan/followers","following_url":"https://api.github.com/users/luqmaan/following{/other_user}","gists_url":"https://api.github.com/users/luqmaan/gists{/gist_id}","starred_url":"https://api.github.com/users/luqmaan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luqmaan/subscriptions","organizations_url":"https://api.github.com/users/luqmaan/orgs","repos_url":"https://api.github.com/users/luqmaan/repos","events_url":"https://api.github.com/users/luqmaan/events{/privacy}","received_events_url":"https://api.github.com/users/luqmaan/received_events","type":"User","site_admin":false},"created_at":"2015-06-08T13:07:57Z","updated_at":"2015-06-08T13:07:57Z","body":"```\r\ndiff --git a/client/js/components/App.react.jsx b/client/js/components/App.react.jsx\r\nindex 6393b6d..bbe5245 100644\r\n--- a/client/js/components/App.react.jsx\r\n+++ b/client/js/components/App.react.jsx\r\n@@ -51,15 +51,24 @@ export default class App extends React.Component {\r\n     }\r\n \r\n     render() {\r\n-        var s = this.state;\r\n-        //FIXME: Ain't got no CSS\r\n+        var content;\r\n+        if (!!this.state.park) {\r\n+            content = (\r\n+                <ParkMap parkID={this.state.parkID} park={this.state.park}\r\n+                    facility={this.state.facility} amenity={this.state.amenity}\r\n+                    trail={this.state.trail} center={this.state.center} />\r\n+            );\r\n+        }\r\n+        else {\r\n+            content = (\r\n+                <ParkList parks={this.state.parkList}\r\n+                    onSelectPark={this.selectPark.bind(this)} />\r\n+            );\r\n+        }\r\n+\r\n         return (\r\n             <div>\r\n-            <ParkMap parkID={s.parkID} park={s.park}\r\n-                     facility={s.facility} amenity={s.amenity}\r\n-                     trail={s.trail} center={s.center} />;\r\n-                <ParkList parks={s.parkList}\r\n-                          onSelectPark={this.selectPark.bind(this)} />\r\n+                {content}\r\n             </div>\r\n         )\r\n     }\r\n```"}}