Giter Site home page Giter Site logo

Problem with region download about mapcache HOT 5 OPEN

merlos avatar merlos commented on August 23, 2024
Problem with region download

from mapcache.

Comments (5)

merlos avatar merlos commented on August 23, 2024

Thanks @spyrosskordos. Can you elaborate on that?

from mapcache.

spyrosskordos avatar spyrosskordos commented on August 23, 2024

I download the tiles successfully but when I kill the app the tiles are removed and the app storage is back to default

from mapcache.

spyrosskordos avatar spyrosskordos commented on August 23, 2024

Do you have any suggestion ? I downloaded and the example and still the same happens

from mapcache.

merlos avatar merlos commented on August 23, 2024

Simulator or device?

I just opened the instance of the example I used some days ago in my phone in Air Plane mode and it loaded the tiles.

Note that MapCache files are stored a type of folder that is intended for temporary files, files that can be wiped out by the OS if it considers necessary, one option is to modify that folder to a regular folder. (https://github.com/merlos/MapCache/blob/master/MapCache/Classes/DiskCache/DiskCache.swift)

Also you can inspect the folder where the cache is in the simulator to check if the files are still there.

Run this command in Xcode debugger console:

po NSHomeDirectory()

Inside that folder you have the Library/Cache subfolder.

I hope this helps.

from mapcache.

spyrosskordos avatar spyrosskordos commented on August 23, 2024

device...so I can replace disk cache for example with realm to be more persist ...or cache disk reliable?

from mapcache.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.