{"action":"created","issue":{"url":"https://api.github.com/repos/AmericanRedCross/GeoForce/issues/274","labels_url":"https://api.github.com/repos/AmericanRedCross/GeoForce/issues/274/labels{/name}","comments_url":"https://api.github.com/repos/AmericanRedCross/GeoForce/issues/274/comments","events_url":"https://api.github.com/repos/AmericanRedCross/GeoForce/issues/274/events","html_url":"https://github.com/AmericanRedCross/GeoForce/issues/274","id":67187247,"number":274,"title":"Default Zoom,lat,lng layers","user":{"login":"apollolm","id":144543,"avatar_url":"https://avatars.githubusercontent.com/u/144543?v=3","gravatar_id":"","url":"https://api.github.com/users/apollolm","html_url":"https://github.com/apollolm","followers_url":"https://api.github.com/users/apollolm/followers","following_url":"https://api.github.com/users/apollolm/following{/other_user}","gists_url":"https://api.github.com/users/apollolm/gists{/gist_id}","starred_url":"https://api.github.com/users/apollolm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apollolm/subscriptions","organizations_url":"https://api.github.com/users/apollolm/orgs","repos_url":"https://api.github.com/users/apollolm/repos","events_url":"https://api.github.com/users/apollolm/events{/privacy}","received_events_url":"https://api.github.com/users/apollolm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-08T18:14:28Z","updated_at":"2015-04-08T18:31:59Z","closed_at":null,"body":"Sometimes, if local storage is cleared, it's possible to have the app start up with a State of:\r\n\r\nhttp://<whatever>/mapfolio/#/map@,,(),\r\n\r\nshould be: http://<whatever>/mapfolio/#/map@11.178402,-58.798828,3(mozilla,gadm0),project"},"comment":{"url":"https://api.github.com/repos/AmericanRedCross/GeoForce/issues/comments/90997145","html_url":"https://github.com/AmericanRedCross/GeoForce/issues/274#issuecomment-90997145","issue_url":"https://api.github.com/repos/AmericanRedCross/GeoForce/issues/274","id":90997145,"user":{"login":"hallahan","id":556367,"avatar_url":"https://avatars.githubusercontent.com/u/556367?v=3","gravatar_id":"","url":"https://api.github.com/users/hallahan","html_url":"https://github.com/hallahan","followers_url":"https://api.github.com/users/hallahan/followers","following_url":"https://api.github.com/users/hallahan/following{/other_user}","gists_url":"https://api.github.com/users/hallahan/gists{/gist_id}","starred_url":"https://api.github.com/users/hallahan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hallahan/subscriptions","organizations_url":"https://api.github.com/users/hallahan/orgs","repos_url":"https://api.github.com/users/hallahan/repos","events_url":"https://api.github.com/users/hallahan/events{/privacy}","received_events_url":"https://api.github.com/users/hallahan/received_events","type":"User","site_admin":false},"created_at":"2015-04-08T18:31:59Z","updated_at":"2015-04-08T18:31:59Z","body":"Something is not right here:\r\n\r\nhttps://github.com/AmericanRedCross/GeoForce/blob/master/GeoAngular/app/scripts/app.js#L101\r\n\r\nMy guess is that the second statement in the `||` is not being reached. We need to check to see what we have when we call:\r\n\r\n```js\r\nlocalStorage.getItem('defaultRoute')\r\n```\r\n\r\nafter empty local storage. Then, correctly check for that. I'm assuming that it is not null or undefined, thus the problem you are seeing."}}