Richard, Just set the layer visability as well:
myLayer.setVisibility(false); Or, cycle through all the layers setting visibility to false for each. Vica versa to turn them on. Regards, Donald -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Richard Jones Sent: 30 July 2012 15:58 To: [email protected] Subject: Re: [OpenLayers-Users] Hiding map temporarily Thanks Donald. I'm away from my development machine for a while so can't check for sure, but won't the overlying vector layers and the controls still be showing on top of the white base layer? I'm trying to hide the whole of the map so that all layers and controls are invisible and the whole browser client area will be all white. Something like Openlayers:Map:Hide() would have been great. _______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users _______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
