Okay, I've started on this and have the OpenLayers.Control.CacheWrite.cache 
part working (tiles are getting cached to the Web SQL DB), but I think I've run 
into a problem with the OpenLayers.Control.CacheRead.fetch method.  I'm not 
quite sure what's happening, but it appears that the fetch method needs to 
complete synchronously for the dataURL it supplies to be used as the image src. 
 Does that sound right?  If so, I think I'm dead in the water.

Andrew

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Vardeman, Andrew 
[CSSM]
Sent: Monday, April 02, 2012 1:44 PM
To: [email protected]
Subject: [OpenLayers-Dev] CacheRead and CacheWrite with Web SQL Storage?

Hi, OpenLayers developers.  This is my first email; I hope I'm posting this to 
the proper list.

I'm interested in the work done here:

https://github.com/openlayers/openlayers/pull/301

The pull request says that "even asynchronous backends could be added."  By any 
chance, is anyone working on Web SQL Storage version or the mentioned pluggable 
version with multiple backends?  I need such a thing for my current project, so 
I'll probably try if no one else is already doing it.  If I get something 
working that's sufficiently generic, I'll submit it as a patch.

Thanks,

Andrew Vardeman

_______________________________________________
Dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-dev
_______________________________________________
Dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-dev

Reply via email to