<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Ivan,<br>
the OpenLayers wiki (<a
href="http://trac.openlayers.org/wiki/FrequentlyAskedQuestions">http://trac.openlayers.org/wiki/FrequentlyAskedQuestions</a>)
has an FAQ on this, it says:<br>
<br>
<br>
What is the maximum amount of layers I can have in my OpenLayers Map?<br>
<br>
The limit is about 75. After that, layers can appear above popups. This
has to do with the z-index in CSS (determines what is 'above' what).
Layers (overlay) start at a z-index of 325. Popups start at 750.
Controls start at 1000.<br>
Every layer 'takes up' about 5 indexes, so it will reach it's limit at
around 75 layers. You cannot have more than 250 popups for the same
reason.<br>
If you need more than 75 layers, consider destroying the ones you don't
show instead of hiding them and recreate them when needed.<br>
<br>
I haven't encountered this myself yet though, so I don't have any
details on how to do the destroying. <br>
Ryan<br>
<br>
On 4/7/2010 10:18 AM, ivan marchesini wrote:
<blockquote cite="mid:1270653536.2797.400.camel@beedo" type="cite">
<pre wrap="">I can't solve a strange problem..
If you have sometime to spend go here:
<a class="moz-txt-link-freetext" href="http://alderaan.irpi.cnr.it/test_geoext_06/webgis4.html">http://alderaan.irpi.cnr.it/test_geoext_06/webgis4.html</a>
1- please click on a the map and you will get the popup... OK this is
correct
2 - now move on the panel "Limiti Amministrativi" (on the right... ) and
choose the Tab "Mappe" switching on the layer "Limiti Amm. - Comuni"
3 - please click on a the map and you will get the popup.. but under the
layer!!!!!!!!!!!!
I can't understand!!!!
this web application contains around 100 layers..
I add these layer to the map in groups:
map.addLayers([layer1,layer2,layer3])
map.addLayers([layer4, layer5, ...])
.....
map.addLayers(LimitiAmmComuni)
I have noted that the problem of the "burried popup" arises only with
the last 14 added layers .. (in fact "Limiti Amm. - Comuni" is the
last one)
any suggestions?? help??
many many thanks...
Ivan
</pre>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@geoext.org">Users@geoext.org</a>
<a class="moz-txt-link-freetext" href="http://www.geoext.org/cgi-bin/mailman/listinfo/users">http://www.geoext.org/cgi-bin/mailman/listinfo/users</a>
</pre>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
No virus found in this incoming message.
Checked by AVG - <a class="moz-txt-link-abbreviated" href="http://www.avg.com">www.avg.com</a>
Version: 8.5.437 / Virus Database: 271.1.1/2796 - Release Date: 04/07/10 06:32:00
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Ryan Williams, GISP
GIS Analyst / Programmer
PAQ Interactive Inc.
107 S State St., Suite 300
Monticello, IL 61856-1968
Office: (217) 762-7955
Mobile: (217) 722-2794
<a class="moz-txt-link-abbreviated" href="mailto:rwilliams@paqinteractive.com">rwilliams@paqinteractive.com</a></pre>
</body>
</html>