Hi, I have a layer ("layer_topo") whose visibility is set to false unless zoom level 15 is reached. This works, but after the layer is loaded, it doesn't zoom out again.
Do I have to do something else to make the layer dynamic? thanks for any help, Rob http://maps.zgb.de/www/eeg/lws.html map.events.on({"zoomend": function (e) { if (this.getZoom() > 14) { layer_Flurbloeke.setVisibility(true); layer_topo.setVisibility(true); } else { layer_Flurbloeke.setVisibility(false); var coords = prncenter(); // alert(test); Ext.getCmp('coords').value=coords; } }//end function (e) }); //end map.events.on
_______________________________________________ Users mailing list Users@geoext.org http://www.geoext.org/cgi-bin/mailman/listinfo/users