FMTC Docs
Project Links💝 Support Me
v9
v9
  • flutter_map_tile_caching
  • ❔Is FMTC Right For Me?
  • 💝Supporters
  • 📃(Proprietary) Licensing
  • 🚀Get Started
    • Quickstart
    • Installation
    • Example Application
    • v8 -> v9 Migration
    • Full API Reference
  • 🌐General
    • Initialisation
    • Backends
    • Error Handling
    • Tips
  • 📂Stores & Roots
    • Introduction
    • Stores
      • Management
      • Statistics
      • Metadata
    • Roots
      • Statistics
      • Recovery
    • flutter_map Integration
  • 📲Bulk Downloading
    • Introduction
    • 1️⃣Create A Region
    • 2️⃣Prepare For Downloading
    • 3️⃣Start Download
    • Control Downloads
    • Testing Tile Server
  • 🗃️External
    • Introduction
    • Exporting
    • Importing
  • flutter_map Docs
Powered by GitBook

© Luka Stillingfleet (JaffaKetchup)

On this page

Was this helpful?

Export as PDF
  1. Stores & Roots

Roots

PreviousMetadataNextStatistics

Last updated 1 year ago

Was this helpful?

Roots contain cached statistics and recovery information.

Because there is only a single root at any time, the root is not named. Instead, it is accessed via FMTCRoot - and all members are static.

// final root = FMTCRoot;
final size = await FMTCRoot.stats.realSize;

After the root reference is constructed, the following actions can be performed with it:

Management of the root is not provided by FMTCRoot. Instead, the backend should implement any necessary methods.

📂

Statistics: stats

Retrieve information about the store and its contents

Recovery: recovery

Recovery from unexpectedly failed bulk downloads

External: external

Export & import store archives