FMTC Docs
Project Links💝 Support Me
v10
v10
  • flutter_map_tile_caching
  • ❔Is FMTC Right For Me?
  • 💝Supporters
  • 📃(Proprietary) Licensing
  • Full API Reference
  • 🚀Get Started
    • Quickstart
    • Installation
    • Example Application
    • v9 -> v10 Migration
  • Usage
    • Initialisation
    • Root & Stores
      • Root
      • Stores
    • Integrating With A Map
    • Bulk Downloading
      • Recovery
      • Testing Tile Server
    • Import/Export
      • Exporting
      • Importing
  • flutter_map Docs
Powered by GitBook

© Luka Stillingfleet (JaffaKetchup)

On this page

Was this helpful?

Edit on GitHub
Export as PDF
  1. Usage
  2. Import/Export

Exporting

PreviousImport/ExportNextImporting

Last updated 4 months ago

Was this helpful?

The export() method copies the stores, along with all necessary tiles, to an archive at the specified location (creating it if non-existent, overwriting it otherwise), in the FMTC (.fmtc) format.

The specified stores must contain at least one tile.

Archives are backend specific. They cannot necessarily be imported by a backend different to the one that exported it.

await FMTCRoot.external('~/path/to/file.fmtc').export(['storeName']);
export method - RootExternal class - flutter_map_tile_caching library - Dart API
Logo