Thank you so much!!!!, this is the solution for my problem, I just add the following line as you sujested:<br> map.Z_INDEX_BASE.Popup = 5000;<br><br>And now I have no problems with the popup , now I can close them for wathever layer that I load and even when I have many layers and it does not matter if the layer is the last one or the first one.<br>
<br>So I'm sure this solution as the other ones that many people has mentioned will be very usefull for others.<br><br>best regards and thank you very much!!!<br>saludos y muchas gracias!!!<br><br><div class="gmail_quote">
On Mon, Dec 10, 2012 at 4:32 PM, Matt Priour <span dir="ltr"><<a href="mailto:mpriour@kestrelcomputer.com" target="_blank">mpriour@kestrelcomputer.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF"><div><div class="h5">
<div>On 12/10/2012 3:24 PM, Karina Guardado
wrote:<br>
</div>
<blockquote type="cite">Thank you for the idea, you know the point is that I
need to have diferent queries to visualize just a certain area and
give a different color to the municipalities that belong to that
area so I nee different layers for that but I see that the main
problem is when I have the tree to select the layer if I locate
one layer in the last position I have problems with the popup but
when I locate the same layer in the first positions I have no
problems. <br>
<br>
So I found that the problem is more related with the amount of
layers I'm using even when I use just a few ones in the
WMSGetFeatureInfo to retrieve information. People in other emails
say that is related with the browser limitation and I think that I
should probably use mainly a Post and not a Get metho but have no
idea about how to do that, does it mean no to use
WMSGetFeatureInfo ?<br>
<br>
Thank you for your help.<br>
<br>
best regards<br>
<div class="gmail_quote">On Mon, Dec 10, 2012 at 2:20 PM, Phil
Scadden <span dir="ltr"><<a href="mailto:p.scadden@gns.cri.nz" target="_blank">p.scadden@gns.cri.nz</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I am not familiar with Mapserver at all, however it looks to
me like<br>
each of your layers are in fact queries (EXPRESSION(etc)) on
some deeper<br>
baselayer. ( agisdependencias) Could you serve the baselayer
(but not<br>
display it) and do the WMSGetFeatureInfo just against this
single layer?<br>
<br>
Notice: This email and any attachments are confidential. If
received in error please destroy and immediately notify us. Do
not copy or disclose the contents.<br>
<div>
<div><br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.osgeo.org" target="_blank">Users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a><br>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
M.Sc. Karina Guardado<br>
Celular: (503) 7115 2898<br>
<br>
<br>
<br>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.osgeo.org" target="_blank">Users@lists.osgeo.org</a>
<a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a>
</pre>
</blockquote></div></div>
The popup hiding issue is a z-Index problem. When you get lots of
layers in your map, it is possible that they have a higher z-Index
than the default z-Index value of the popup.<br>
The best way to fix this (besides using less layers) is to do this:<br>
<br>
OpenLayers.Map.Z_INDEX_BASE.Popup = 900;<br>
<br>
somewhere in your application, before any popups are created.<span class="HOEnZb"><font color="#888888"><br>
<br>
Matt Priour<br>
Kestrel Computer Consulting<br>
</font></span></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>M.Sc. Karina Guardado<br>Celular: (503) 7115 2898<br><br><br><br>