[Tilecache] TC called if OL maxextent bigger than a particular layer's ?

Yves Moisan yves.moisan at boreal-is.com
Tue Jun 22 16:19:58 EDT 2010


Le 2010-06-22 15:45, christopher.schmidt at nokia.com a écrit :
> On Jun 22, 2010, at 3:42 PM, ext Marco Nijdam wrote:
>
>    
>> Hi Yves,
>>
>> Not too sure about the OpenLayers implementation, but I would expect
>> that the Layer's maxExtent could be different from the Map's maxExtent.
>> I see the there is even a property in Layer whether to request tiles
>> outside the Layer's maxExtent.
>>
>> So why not set the Map's maxExtent to whatever you need, and keep the
>> Layer.TileCache maxExtent to what you already have?
>>      
> Only works if your layer is not a baselayer; otherwise, you're out of
> luck.
>    

> Some layers also have a tileExtent and layerExtent seperated;
> I don't know which ones off the top fo my head.
>
>    
So bottom line is : mapExtent must equal TC BBOX.

Thanx you both,

Yves



More information about the Tilecache mailing list