[OpenLayers-Users] How to limit startup prefetching of
surrounding tiles?
toni hernández
tonidelacalle at gmail.com
Fri Apr 3 09:57:53 EDT 2009
hi,
When you define your layer you can add something like this.
For WMS layer
var layer = new OpenLayers.Layer.WMS(
"Layer Name", "URL...",{singleTile: true}
or buffer:0
I've done it and it worked.
On Fri, Apr 3, 2009 at 3:42 PM, moghaddam <zaerymoghaddam at yahoo.com> wrote:
>
> Hi
>
> When an OpenLayers map is loading, it tries to prefetch tiles surrounding
> current viewport in order to make panning more smooth. As most of my users
> try to access the map through low speed internet connections, this would
> cause to an increased startup time. Is there any parameter on map
> initialization process specifying how many rows or columns could be
> prefetched on startup?
>
> Thank your.
>
>
> --
> View this message in context:
> http://n2.nabble.com/How-to-limit-startup-prefetching-of-surrounding-tiles--tp2580776p2580776.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20090403/dfc6acec/attachment.html
More information about the Users
mailing list