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

Tue Topholm tt at sugee.dk
Tue Aug 3 10:17:30 EDT 2010


Andreas, that was the one, thx.....

--

Med venlig hilsen / Kind regards

Tue Topholm
Sugee
Tlf: +45 32 13 32 32
W: http://www.sugee.dk


2010/8/3 Andreas Hocevar <ahocevar at opengeo.org>

> 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.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20100803/19d9beae/attachment.html


More information about the Users mailing list