[OpenLayers-Users] Prevent openLayers fetching maps until you release mouse

Andreas Hocevar ahocevar at opengeo.org
Tue Aug 3 10:06:09 EDT 2010


Hi,

this is not currently supported for tiled layers, but if the layers in question are WMS, you can set the singleTile option of the WMS layers to true (and ratio to 1). This will result in fetching a map for the visible extent when the mouse is released.

Regards,
Andreas.

On Aug 3, 2010, at 15:46 , Tue Topholm wrote:

> Hi Group
> 
> 
> Is it possible to prevent OL fetching the map until you release your mouse from panning. Because I don't want it to be fetching maps, until the panning is done. Yes I know it seems a bit ackward, but it for a mobile app where the bandwidth is not fast, so therefor I need this.
> 
> Google does something like it on their mobile apps.
> 
> 
> --
> 
> Med venlig hilsen / Kind regards
> 
> Tue Topholm
> Sugee
> Tlf: +45 32 13 32 32
> W: http://www.sugee.dk
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users



-- 
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.




More information about the Users mailing list