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

Erik Uzureau erik.uzureau at metacarta.com
Tue Apr 24 13:53:04 EDT 2007


Ah!

Good one David. My bad, I was confusing the tiled with untiled :-)
Erik

On 4/24/07, David William Bitner <bitner at gyttja.org> wrote:
>
> 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/b784993f/attachment.html


More information about the Dev mailing list