Thanks for all the suggestions. I tried messing around with tilesize and
ratio/buffer options but it is still going fairly slow I think this is
because some of my layers have much data to display after zooming into a
certain level. I changed all my code around just to test out what happens
when I put everything on a single WMS layer and this seems to make it fast,
I guess I will have to go with this option. Now yes my problem is the
layerswitcher however I am using a GeoExt layertree/layerlist controls to
display my legend. The problem is I am matching legend entries for this
based on the layer name, of course this is not going to work anymore since
all layers are all together into just one WMS layer. I guess I will try to
modify the following code or the GeoExt control to show individual layers
inside of my single WMS layer if this is even possible, will post back if I
make any progress thanks for the assistance.

My existing layerlist code I must change - 

//Legal Fabric LayerList
        var layerlist_LegalFabric = new GeoExt.tree.LayerContainer({
        text: 'Legal Fabric',
        layerStore: mapPanel.layers,
        leaf: false,
        enableDD: true,
        cls: 'rootnode',
        expanded: false,
        loader: 
        {
            filter: function(record) 
            {
                var myarr = new Array();
                myarr[0] = record.get("layer").name.indexOf("Street
Outline");
                myarr[1] = record.get("layer").name.indexOf("Block Line");
                myarr[2] = record.get("layer").name.indexOf("Block Label");     
                myarr[3] = record.get("layer").name.indexOf("Lot Line");
                myarr[4] = record.get("layer").name.indexOf("Lot Label");
                myarr[5] = record.get("layer").name.indexOf("Registered
Plan");
                myarr[6] = record.get("layer").name.indexOf("Registered Plan
Label");
                myarr[7] = record.get("layer").name.indexOf("Right of Way
Line");
                myarr[8] = record.get("layer").name.indexOf("Right of Way
Label");
               
                
                if(myarr[0]==-1 && myarr[1]==-1 && myarr[2]==-1 &&
myarr[3]==-1 && myarr[4]==-1 && myarr[5]==-1 && myarr[6]==-1 && myarr[7]==-1
&& myarr[8]==-1)
                {
                return false;
                }
                else
                {
                return true;
                }
 
            }
            }
        });
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Can-I-speed-up-OpenLayers-WMS-without-using-Tilecache-tp5527315p5527630.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to