[OpenLayers-Users] wms untiled 'busy loading' message or image

Erik Uzureau erik.uzureau at metacarta.com
Tue Jul 10 17:32:14 EDT 2007


Good answer Tim.

Does that make sense, Trond?


If you set the buffer to 0, then OL wont pre-load any tiles that are
outside the bounds of the viewport of the map.... therefore, if you
set a tile size that is bigger than the viewport, you will always only
be loading one tile... and since you're still in normal gridded mode,
you will be snapping to grid and benefit from cacheing.



On 7/10/07, Tim Schaub <noreply at geocartic.com> wrote:
> Trond Michelsen wrote:
> > On Tue, Jul 10, 2007 at 11:23:29AM -0500, Erik Uzureau wrote:
> >> :-) So the good news is that the essential part of the patch that I'm
> >> working on is to bring the Gridded and Untiled layers back together.
> >>
> >> Instead of declaring your layer as OpenLayers.WMS.Untiled, you will
> >> simply declare it OpenLayers.WMS and pass it an option { singleTile:
> >> true }
> >
> > Great news.
> >
> > One thing, though :)
> >
> > Would it be possible to make the singletile-version have a "snap to
> > grid"-functionality, so that even the singletiles can be cached?
> >
>
> Try a layer with a very big tile size and zero buffer if you want to
> cache big tiles.
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>



More information about the Users mailing list