Eric,

Eric Lemoine wrote:
>> I personally don't like the idea of auto switching from
>> singleTile:fase to singleTile:true and vice-versa. I'd prefer
>> introducing a useMaxTileSize boolean option to OpenLayers.Layer. When
>> useMaxTileSize is true, and when maxHeight and maxWidth are specified
>> in the layer, the tile size will be set to (maxHeight, maxWidth), no
>> matter the value of tileSize.
>>     
>
> actually: no matter the values of singleTile and tileSize.
>   

Thanks for the reply.

That's the idea I had in mind at first too.  I made some tests againts a 
specific WMS server but both maxWidth and maxHeight values were set to 
4096 so I had a huge tile of 4096x4096 which took a lo~ng time to 
render.  That's where I though : "I only need 'singleTile: true' unless 
the map size goes bigger than 4096x4096, then I would need to switch to 
tiles".

Do you see what I mean ?

Unless I'm mistaken, setting both 'singleTile: true' and 
'useMaxTileSize: true' and set both maxSizes values wouldn't be enough.  
Any idea ?  Am I wrong ?

-- 
Alexandre Dubé
Mapgears
www.mapgears.com

_______________________________________________
Dev mailing list
[email protected]
http://www.geoext.org/cgi-bin/mailman/listinfo/dev

Reply via email to