[Tilecache] extension, metaTile and metaSize

Christopher Schmidt crschmidt at metacarta.com
Sat Mar 15 20:03:22 EDT 2008


On Sat, Mar 15, 2008 at 03:39:56PM -0700, Beau Gunderson wrote:
> I've used this code to set the format based on what the browser supports:
> 
>         formatHack = OpenLayers.Util.alphaHack() ? 'image/gif' :
> 'image/png';

This is automatic in OpenLayers if you don't specify a format... but it
won't affect TileCache at all, since TileCache pays absolutely o
attention to any format information passed in the URL, only using the
information that's set in the cache configuration in the config file... 

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Tilecache mailing list