[OpenLayers-Users] Pre-seeding localStorage
Nigel Hanlon
nigel.hanlon at openapp.ie
Wed May 8 07:35:26 PDT 2013
Hi Jurrie,
This should give you a good head start:
http://openlayers.org/dev/examples/offline-storage.html
Regards,
Nigel.
On 08/05/13 14:30, Jurrie Overgoor wrote:
> Hello everyone,
>
> I am making a webapp with OpenLayers and I want to use the
> localStorage for offline situations. I want to give the users the
> ability to preload the tiles in the localStorage. I'm thinking of a
> 'preload' page that displays a progressbar per zoomlevel, and starts
> with zoomlevel X (loads all the tiles for zoomlevel X) and continues
> with zoomlevel X+1. It would stop when all zoomlevels are done, or
> when the localStorage is full. How do I go about this?
>
> My map is displaying a route with a maxExtend bounding box. I know
> this bounding box beforehand. So I need a mechanism to translate a
> Bounds object into tile urls for each zoom level. Maybe someone can
> push me in the right direction, or even has an example that does
> something similar?
>
> I hope I've explained my problem clear enough. Thanks in advance for
> any help!
>
> With kind regards,
>
> Jurrie
>
>
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20130508/0d8f6693/attachment.html>
More information about the Users
mailing list