Hi Adrian<br><br>it seems there is a memory leak, each time the rotate button is pressed, the memory use is increasing.<br>I also suspect the &quot;geometry&quot; objects (in other words, &quot;divs&quot;, are also not unsetted) and after a few thousands rendered divs, the browser crap out.<br>
now as to why this screw up the browser totally, I have no idea.<br><br>maybe by unsetting the &quot;geometry&quot; of  the pdf caneva before drawing it again may solve the problem.<br>thats done in dhtmlPdf.js, but I fear I dont have the time to look into this in details.<br>
<br>regards<br>Oliver<br><br><div class="gmail_quote">2010/1/13 Dahinden Adrian <span dir="ltr">&lt;<a href="mailto:a.dahinden@geo-thun.ch">a.dahinden@geo-thun.ch</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">











<div link="blue" vlink="navy" lang="DE-CH">

<div>

<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Hi CW list</span></font></p>

<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>

<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-GB">Does anyone know, if the following problem is known
and how to fix it?</span></font></p>

<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-GB"> </span></font></p>

<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-GB">Go to <a href="http://www.cartoweb.org/demos/demoCW3.php?reset_session" target="_blank">http://www.cartoweb.org/demos/demoCW3.php?reset_session</a>
and set the scale of the printing area to the maximum. Then rotate the printing
area by clicking several times (10-20 times) on the -5° or the +5° buttons and
see what happen. Somehow the browser couldn’t handle this.</span></font></p>

<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-GB"> </span></font></p>

<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-GB">Note: this problem I noticed only on IE 7 and 8. On IE
6 and FF 3.5 it seems to be ok.</span></font></p>

<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-GB"> </span></font></p>

<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Regards</span></font></p>

<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>

<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Adrian Dahinden</span></font></p>

<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>

<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">********************************************</span></font></p>

<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Dütschler &amp; Naegeli</span></font></p>

<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Vermessung + Geoinformation
AG</span></font></p>

<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Fliederweg 11, Postfach</span></font></p>

<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">3601 Thun</span></font></p>

<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>

<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Telefon 033 / 225 40 50</span></font></p>

<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Fax     033 / 225 40 60</span></font></p>

<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>

<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"><a href="mailto:a.dahinden@geo-thun.ch" target="_blank">mailto:a.dahinden@geo-thun.ch</a></span></font><font face="Times New Roman" size="3"><span style="font-size: 12pt; font-family: &quot;Times New Roman&quot;;"></span></font></p>


<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"><a href="http://www.geo-thun.ch" target="_blank">http://www.geo-thun.ch</a></span></font></p>

<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">********************************************</span></font><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"></span></font></p>


<p class="MsoNormal"><font face="Frutiger" size="2"><span style="font-size: 11pt;"> </span></font></p>

</div>

</div>


<br>_______________________________________________<br>
Cartoweb-users mailing list<br>
<a href="mailto:Cartoweb-users@lists.maptools.org">Cartoweb-users@lists.maptools.org</a><br>
<a href="http://lists.maptools.org/mailman/listinfo/cartoweb-users" target="_blank">http://lists.maptools.org/mailman/listinfo/cartoweb-users</a><br>
<br></blockquote></div><br>