[Tilecache] getting tilecache 1.4 working...

Christopher Schmidt crschmidt at metacarta.com
Thu Feb 22 09:23:52 EST 2007


On Wed, Feb 21, 2007 at 02:48:34PM -0600, John Cole wrote:
> I'm trying to get tilecache working for the first time and I'm having some
> issues.
> 
> I've got the standalone web server running and
> http://localhost:8080/1.0.0/basic/0/0/0.png returns a tile.  But I can't
> seem to get the URL for openlayers correct.
> 
> I'm trying:
> 
>             layer = new OpenLayers.Layer.WMS( "VMap0", 
>                     "localhost:8080/", {layers: 'basic', format: 'image/png'
> } );

This should be "http://localhost:8080/" -- currently you're requesting a
relative URL to your current location. Including the full URL makes it
absolute.

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Tilecache mailing list