simple:

this.verOcultarCapa = 
function(checkbox,layer)
 {
                        if (checkbox.checked)
                        {
                                        layer.setVisibility(true);
                                        layer.redraw(true);
                        }
                        else
                       {
                                        layer.setVisibility(false);
                        };
};

Sin la modificacion no vuelve a dibujar la capa, pero si en chrome o en
firefox 25.

redraw(...) hace un nuevo http request con lo cual genera trafijo, pero no
encontre otra solucion y antes  funcionaba correctamente.

saludos.




--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Openlayers-2-y-Firefox-27-tp5128578p5128820.html
Sent from the OSGeo Spanish Local Chapter mailing list archive at Nabble.com.
_______________________________________________
Spanish mailing list
http://lists.osgeo.org/mailman/listinfo/spanish
http://es.osgeo.org
http://twitter.com/osgeoes

Responder a