{"action":"created","issue":{"url":"https://api.github.com/repos/koalazak/rest980/issues/2","repository_url":"https://api.github.com/repos/koalazak/rest980","labels_url":"https://api.github.com/repos/koalazak/rest980/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/koalazak/rest980/issues/2/comments","events_url":"https://api.github.com/repos/koalazak/rest980/issues/2/events","html_url":"https://github.com/koalazak/rest980/issues/2","id":189267323,"number":2,"title":"Map Feature in REST980","user":{"login":"roelbroersma","id":7059138,"avatar_url":"https://avatars.githubusercontent.com/u/7059138?v=3","gravatar_id":"","url":"https://api.github.com/users/roelbroersma","html_url":"https://github.com/roelbroersma","followers_url":"https://api.github.com/users/roelbroersma/followers","following_url":"https://api.github.com/users/roelbroersma/following{/other_user}","gists_url":"https://api.github.com/users/roelbroersma/gists{/gist_id}","starred_url":"https://api.github.com/users/roelbroersma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roelbroersma/subscriptions","organizations_url":"https://api.github.com/users/roelbroersma/orgs","repos_url":"https://api.github.com/users/roelbroersma/repos","events_url":"https://api.github.com/users/roelbroersma/events{/privacy}","received_events_url":"https://api.github.com/users/roelbroersma/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-11-15T00:37:47Z","updated_at":"2016-11-16T12:27:30Z","closed_at":null,"body":"To quote you Koalazak: \r\n\r\n> my plan is add a path in rest980 where you will see the map and some controls via web in your browser. While the api is in /api/loca/... this new page will be in /map in rest980 server.\r\n> \r\n> When you visit /map the server side start to make getMission calls to get the x,y position every 800ms, sending this data to the browser via websockets. Then in client side, the browser draws each point received in the map (html canvas). No image, just a html canvas.\r\n\r\nI think that is way to complex... Of course it's technically very nice but what about\r\n- Different browsers,.. even looking on your iPhone/iPad (safari) or including it in an iFrame\r\n- You need to have a connection open all the time..?  What if you just want to see (at the end of the day when you come back home) the map that was made when your Roomba cleaned during the day.\r\n\r\nI think including a basic image library and have a Node 'service' running which puts the coordinates (as dots or lines) into the image is more convenient.  You can even ask the map like   /map?res=640x490  or /map?res=1024x768   and even something like   /map?res=1024x768background=myfloorplan.gif\r\n\r\nThe use cases of just a static image are endless.\r\nAnd even better: Since REST980 is a REST interface. You can even connect it to IFTTT and (at the end of the cleaning) let the Roomba (via IFTTT or directly) e-mail you a \"I cleaned your house!\" email with the map as an attachment.\r\n(PS.  Since we don't want to pay 10.000$ to IFTTT to include a REST980 channel. You can just use the 'MAKER' channel, I have used that for other things also)\r\n\r\nWhat do you think?\r\n\r\n(PS. Tomorrow I will post some screenshots.. tutorial..etc..)\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/koalazak/rest980/issues/comments/260934330","html_url":"https://github.com/koalazak/rest980/issues/2#issuecomment-260934330","issue_url":"https://api.github.com/repos/koalazak/rest980/issues/2","id":260934330,"user":{"login":"koalazak","id":8185092,"avatar_url":"https://avatars.githubusercontent.com/u/8185092?v=3","gravatar_id":"","url":"https://api.github.com/users/koalazak","html_url":"https://github.com/koalazak","followers_url":"https://api.github.com/users/koalazak/followers","following_url":"https://api.github.com/users/koalazak/following{/other_user}","gists_url":"https://api.github.com/users/koalazak/gists{/gist_id}","starred_url":"https://api.github.com/users/koalazak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koalazak/subscriptions","organizations_url":"https://api.github.com/users/koalazak/orgs","repos_url":"https://api.github.com/users/koalazak/repos","events_url":"https://api.github.com/users/koalazak/events{/privacy}","received_events_url":"https://api.github.com/users/koalazak/received_events","type":"User","site_admin":false},"created_at":"2016-11-16T12:27:30Z","updated_at":"2016-11-16T12:27:30Z","body":"i think i forgot run npm install.\r\nI push an updated version. try now. \r\n"}}
{"actor":{"display_login":"koalazak"}}