Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello,

We have a need to use IndexedDb for Offline usage of our applications. Our applications are related with map solutions. Maps are created by using OpenLayer. We need to store not only a map itself but also geodata. Maps are vector based and can be as big size as 100-300 Mb. Is that a major problem? Can anyone figure out any other restrictions in our solution?

Thanks!

Petri
Posted

1 solution

Different browsers have different restrictions on indexedDB...

Firefox - has no actual description, but storing larger than 50MB will cause the browser to ask the end user to agreement...
IE - it has some restrictions even in the API (not all supported), and also data can be up to 250 MB for each application...
Chrome - it is a dynamic calculation - basicly it is up to 20% of the 1/3rd of the available disk space...However it is a shared space, so it can be less

You may demand a specific browser to use with your application (not too nice, but bearable), also have to see how many such maps should be stored while offline...
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900