Git Product home page Git Product logo

Comments (2)

greensopinion avatar greensopinion commented on June 17, 2024

Hey @FaFre thanks for the idea. So far I haven't found the filesystem to be a bottleneck, but maybe that's not the case for everyone.

At the moment there is no way to remove the filesystem-based cache, however there is an experiment showing how it can be done on #77. In #77 the filesystem cache is not used on the web platform. It should be relatively easy to disable it on all platforms so that you can try out something different.

VectorTileProvider is one place that you can plug in your own code without having to modify the library. For example, you're free to provide your own VectorTileProvider that provides caching. MemoryCacheVectorTileProvider provides a good example that separates tile retrieval from caching: https://github.com/greensopinion/flutter-vector-map-tiles/blob/main/lib/src/vector_tile_provider.dart#L79

from flutter-vector-map-tiles.

FaFre avatar FaFre commented on June 17, 2024

Thanks for your feedback! Alright, I haven't looked into the source too much yet, but it seems to be possible then, to outsource the caching into another plugin. I will try some things when the time has come and return with news. Closing this for now.

from flutter-vector-map-tiles.

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.