I load my layers when they required by the user. I first check to see if the layer is already loaded and if not I load it but if its already been loaded I just manage its visibility. That way you never have to load all the layers up front. Just a thought.
Brad... -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of sunny74 Sent: Wednesday, September 09, 2009 7:15 PM To: [email protected] Subject: [OpenLayers-Users] Layer visibility problem Dear Friends, I am now loading the layers in groups instead of individually. First I am loading the base layer followed by 4 groups of layers, first group contains 2 while others contain 3 each. But the problem now is that at PageLoad for the first time the layers of group1 are not visible because it is getting overlapped by the other layers. The other layers are also not visible bec' they are mandated to be visible at higher zoomin levels because of max/min scaledom. Now if I load the group1 layers last then not only is it visible at initial zoom level but also at higher zoom levels bec' in that case it is overlapping the other layers mandated to be visible at that level. So how to tackle the problem. Can it be solved by changing the z-index of the first group at initial PageLoad. Pls provide some solution to this problem. Thanks & Regards. -- View this message in context: http://n2.nabble.com/Layer-visibility-problem-tp3609424p3609424.html Sent from the OpenLayers Users mailing list archive at Nabble.com. _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
