Actually all browsers work like this - they have UI and JS running in the same thread, so you can't do anything while a tile is rendered. I've split the process to 3 chunks (styling, map rendering and text rendering) to make the UI a little more responsive, but generally this can't be addressed well at the moment. I'm hoping that browsers will implement the ability to manipulate Canvas in a Web Worker sometime so rendering is in a separate thread.<br>
<br><div class="gmail_quote">On Tue, Jun 14, 2011 at 7:11 AM, Russ Nelson <span dir="ltr"><<a href="mailto:nelson@crynwr.com">nelson@crynwr.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">And it's gorgeous, just gorgeous. The only thing wrong with it is that</div>
the whole user interface of Firefox is written in JS. So when Kothic<br>
is rendering a complex map, be prepared to wait for your browser to<br>
pay attention to your clicks.<font class="Apple-style-span" color="#888888"><br></font></blockquote><div> </div></div>-- <br>Vladimir Agafonkin<br>Front-End Architect, CloudMade<br>+380 93 745 44 61<br>