{"id":692,"date":"2010-08-18T00:23:30","date_gmt":"2010-08-17T23:23:30","guid":{"rendered":"http:\/\/evemaps.dotlan.net\/blog\/?p=692"},"modified":"2010-08-18T00:56:17","modified_gmt":"2010-08-17T23:56:17","slug":"radar-update","status":"publish","type":"post","link":"https:\/\/evemaps.dotlan.net\/blog\/2010\/08\/18\/radar-update\/","title":{"rendered":"Radar update"},"content":{"rendered":"<p>Just a quick update: The <a href=\"\/radar\" target=\"_self\"><strong>Radar page <\/strong><\/a>(only usable in the InGame browser) will now reload if you change your current system. This has been done with a regular ajax call in the background every 20 seconds (interval may change in the future). Maybe I&#8217;ll have an additional idea about the radar page. More to come later.<\/p>\n<p><strong>Suggestion to CCP<\/strong><\/p>\n<p>CCP still hasn&#8217;t delivered a javascript hook where we could register functions that will be executed on a session change. We discussed about this and suggested it in the IGB round table last fanfest. I know that there&#8217;s no feedback system from the EveClient to the browser engine but as you&#8217;re delivering the IGB Headers the Browser should be able to detect a &#8220;sessionchange&#8221; and call previously registered callbacks. If there&#8217;s a chance that one of your developer gets some time this is what I would suggest. I know there&#8217;re a lot of things in the backlog, but I bet this is one of the most features IGB 3rd party developer are asking for.<\/p>\n<blockquote>\n<pre># similar to the javascript event system\r\nCCPEVE.addEvent(event, callback);\r\nCCPEVE.removeEvent(event, callback);<\/pre>\n<\/blockquote>\n<p><strong>Example<\/strong><\/p>\n<blockquote>\n<pre>CCPEVE.addEvent('sessionchange', function() {\r\n    window.location.reload();\r\n});<\/pre>\n<\/blockquote>\n<p>This would be the easiest form of reload event and if you&#8217;ve any future events, it&#8217;s easily extendable.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Just a quick update: The Radar page (only usable in the InGame browser) will now reload if you change your current system. This has been done with a regular ajax call in the background every 20 seconds (interval may change in the future). Maybe I&#8217;ll have an additional idea about the radar page. More to [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/evemaps.dotlan.net\/blog\/wp-json\/wp\/v2\/posts\/692"}],"collection":[{"href":"https:\/\/evemaps.dotlan.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/evemaps.dotlan.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/evemaps.dotlan.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/evemaps.dotlan.net\/blog\/wp-json\/wp\/v2\/comments?post=692"}],"version-history":[{"count":7,"href":"https:\/\/evemaps.dotlan.net\/blog\/wp-json\/wp\/v2\/posts\/692\/revisions"}],"predecessor-version":[{"id":699,"href":"https:\/\/evemaps.dotlan.net\/blog\/wp-json\/wp\/v2\/posts\/692\/revisions\/699"}],"wp:attachment":[{"href":"https:\/\/evemaps.dotlan.net\/blog\/wp-json\/wp\/v2\/media?parent=692"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/evemaps.dotlan.net\/blog\/wp-json\/wp\/v2\/categories?post=692"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/evemaps.dotlan.net\/blog\/wp-json\/wp\/v2\/tags?post=692"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}