[OpenLayers-Users] Openlayers - tilecache and overlay problem
Tim Schaub
noreply at geocartic.com
Wed Dec 6 13:31:48 EST 2006
> > But when I do the same with WMSC from tilecache, and check the
> > corresponding layer in openlayer's overlay list, I only have broken
> > images. Same result if I create the WMS layer without transparency,
> > and try this just after creation :
> > wmsc_layer.setIsBaseLayer(false);
>
> I think Tim Schaub spent some time looking at it, and has
> given us a few patches for it -- Tim, can you comment on if
> these patches had actually fixed the issue for you? or were
> you just using reproject=false?
I think there are a few issues collaborating here. In the simple case where
you have an odd sized viewport, the patch I posted for ticket #429 seems to
take care of it (http://trac.openlayers.org/ticket/429).
However, the problem still shows up with map resizing.
I haven't taken more time to look into it. Until it has been solved, I'm
constructing all WMS layers that don't need to be reprojected with
reproject: false
var options = {isBaseLayer: false, reproject: false};
var overlay = new OpenLayers.Layer.WMS(title, url, params, options);
Tim
More information about the Users
mailing list