Alexandre Dube wrote:
> Tim,
> 
> Tim Schaub wrote:
>> I'm pretty sure the maxWidth and maxHeight aren't going to be used in 
>> practice to limit tiles fetched for display in a browser.  My 
>> assumption is that these limits will be used for servers to control 
>> the images sizes that might be requested for a desktop application or 
>> printing.
> I see.  Then, do you have other suggestions for my issue (layers added 
> from the WMSCapabilitiesStore have 256x256 tiles and are slower to 
> render than if they were set to 'singleTile:true') ?
> 

Yeah.  Two options:

     var store = new GeoExt.data.WMSCapabilitiesStore({
         url: "path/to/wmscap.xml", layerOptions: {singleTile: true}
     });

- or -

You should always clone layers from a store before they are added to 
another store.  In this case, if you are adding layers from the 
WMSCapabilitiesStore to a map, you should also clone them.  When you 
clone the layer, you can set any layer properties that are appropriate 
for your application.

Tim

> Thanks,
> 


-- 
Tim Schaub
OpenGeo - http://opengeo.org
Expert service straight from the developers.
_______________________________________________
Dev mailing list
[email protected]
http://www.geoext.org/cgi-bin/mailman/listinfo/dev

Reply via email to