[OpenLayers-Users] Problem with WMS.Untiled?

Schuyler Erle sderle at metacarta.com
Fri Mar 2 11:24:34 EST 2007


* On  2-Mar-2007 at 10:32AM EST, Jon Blower said:
> Dear all,
> 
> I've just upgraded to OpenLayers 2.3 (from 2.1) and I've noticed that
> I can't seem to get a WMS.Untiled layer to display - it just comes up
> blank (or perhaps the URL is constructed wrongly).  In OL2.1 there was
> a problem with click events on the Untiled layer, but now I can't see
> any Untiled layers.
> 
> e.g.:
> 
> var human_wms = new OpenLayers.Layer.WMS.Untiled( "Human Footprint",
>         "http://labs.metacarta.com/wms-c/Basic.py?", {layers: 'hfoot' } );
> 
> This works fine as a straight OpenLayers.Layer.WMS.

You're using our TileCache service as an untiled WMS, which definitely
isn't going to work. The regular WMS layer is design to tile in a
fashion that works with TC. If you want to use the human footprint
layer untiled, I recommend using the URL for the original service.

SDE



More information about the Users mailing list