Thanks.<br><br>Bye<br><br><div><span class="gmail_quote">2006/11/21, Wei Yang, Ng - Wayne <<a href="mailto:wayne@datalinktech.com.au">wayne@datalinktech.com.au</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Pg,<br> I was wondering if you are aware of icons not getting drawn with<br>kaXmlOverlay. This only happens within Internet Explorer and the problem<br>is intermittent. Sometimes, while trying to draw many icons (20-50 or
<br>even 100), not all of them appeared. Apparently, if we look at the<br>"kaXmlIcon.prototype.draw_canvas" function, there is this line where you<br>specify an "img.onload" event. I did some tests and found that this
<br>event is not always being triggered which is why the "ctx.drawImage"<br>function does not always get called. My website runs over https.<br><br>Changing this:<br>this.img.onload = function() {<br> ctx.drawImage
(timg, dx, dy, tw, th);<br> ctx.restore();<br>}<br>to this:<br> ctx.drawImage(timg, dx, dy, tw, th);<br> ctx.restore();<br><br>seems to make it work fine now.<br><br>Cheers,<br>Wayne<br></blockquote></div>
<br>