Ok, I got it working. Reasons were clear, but not documented. <br><br>I had to modify file: tools/kaExplorer/startup.js <br><br>With following two lines (just before drawPage()):<br><br>myXmlOverlay = new kaXmlOverlay( myKaMap, 250 );
<br>myXmlOverlay.loadXml('points.php');<br><br>This brings points from file points.php: <br><br>--CUT--<br><?php<br>header("Content-Type: text/xml");<br>header("Cache-Control: no-store, no-cache, must-revalidate");
<br>echo '<?xml version="1.0" encoding="UTF-8"?>'<br>?><br><br><overlay><br> <point x="26.76" y="61.6" id="P1"><br> <label>Place1</label>
<br> <symbol shape="bullet" size="10" opacity="1" color="#FF0000" /><br> </point><br> <point x="25.047750" y="60.209314" id="P2">
<br> <label>Station31</label><br> <symbol shape="bullet" size="10" opacity="1" color="#FF0000" /><br> </point><br></overlay><br>--CUT--
<br><br>And contents of this points.php was mistyped by me. I highly recommend firebug ajax debugger, it saved my day! <br><br>BUT, there is still one question. How do I make this refreshing work : <br>myInterval = setInterval("
myXmlOverlay.loadXml('xmlget.php')",5000);<br><br>What file would be requested in place of xmlget.php which was in wiki example ?<br><br>Regards,<br><br>Pasi<br>