[OpenLayers-Users] How to limit startup prefetching of surrounding tiles?

Espen Isaksen espen.isaksen at gmail.com
Fri Apr 3 09:46:36 EDT 2009


You can set buffer:0 or whatever else you may like.

http://dev.openlayers.org/releases/OpenLayers-2.7/doc/apidocs/files/OpenLayers/Layer/Grid-js.html#OpenLayers.Layer.Grid.buffer

Espen


2009/4/3 moghaddam <zaerymoghaddam at yahoo.com>:
>
> 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
>



More information about the Users mailing list