[OpenLayers-Dev] Exact bounding box of WMS untiled request

David William Bitner bitner at gyttja.org
Tue Apr 24 13:44:18 EDT 2007


If you want to have a WMS untiled layer only be the extent of what is
displayed, you need to set the ratio to 1 for the layer.
ie
layer=new OpenLayers.Layer.WMS.Untiled(.....);
layer.ratio=1;
map.addLayer(layer);

On 4/24/07, Erik Uzureau <erik.uzureau at metacarta.com> wrote:
>
> Hi Ed,
> There is a parameter to the wms untiled layer called "buffer"
> If you set that to 0 it should be what you want (I think)
> Erik
>
> On 4/24/07, Ed Fialkowski <edfialk at gmail.com> wrote:
>
> > Hi, I am currently more of a user of OpenLayers, but I have come across
> > something that is crucial to my application.
> > I was wondering if there is a way to set the exact bounding box for an
> > untiled WMS image request.
> >
> > MaxExtent has been suggested to me, but there is still a buffer area
> > that is being sent.
> > Beyond the documentation, I have not gone in detail into the open layers
> > source, but I imagine this area is computed from something.
> > Even if I could find out what that function is, I would be willing to
> > accommodate.
> >
> > If this is not currently possible, does anyone have any suggestions for
> > what would be involved for me to accomplish this?
> >
> > Any help would be greatly appreciated.
> > -Ed
> >
> > _______________________________________________
> > Dev mailing list
> > Dev at openlayers.org
> > http://openlayers.org/mailman/listinfo/dev
> >
> >
>
> _______________________________________________
> Dev mailing list
> Dev at openlayers.org
> http://openlayers.org/mailman/listinfo/dev
>
>


-- 
************************************
David William Bitner
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20070424/b472eed3/attachment.html


More information about the Dev mailing list