FMTC Docs
Project Links💝 Support Me
v8
v8
  • flutter_map_tile_caching
  • Is FMTC Right For Me?
  • Get Started
    • Quickstart
    • Installation
    • Additional Setup
    • Example Application
  • Usage
    • Initialisation
    • Using Roots & Stores
      • Management
      • Statistics
      • Metadata
      • Recovery
      • Migrator (v6 -> v7)
    • flutter_map Integration
    • Global Settings
    • Full API Reference
  • Bulk Downloading
    • Introduction
    • 1️⃣Create A Region
    • 2️⃣Prepare For Downloading
    • 3️⃣Start In Foreground
      • Buffering
      • 4️⃣Listen For Progress
    • 3️⃣Start In Background
      • Limitations
    • Cancel Download
  • Import & Export
    • Introduction
    • Importing
    • Exporting
  • Migration
    • v7 -> v8 Migration
    • v6 -> v7 Migration
  • Known Issues
  • Credits
  • flutter_map Docs
Powered by GitBook

© Luka Stillingfleet (JaffaKetchup)

On this page
  • Available Parameters
  • Additional Preparation

Was this helpful?

Export as PDF
  1. Bulk Downloading

Start In Background

fmtc_plus_background_downloading Module

PreviousListen For ProgressNextLimitations

Last updated 2 years ago

Was this helpful?

The module is required to use the background bulk downloading functionality.

Note this functionality is only available on Android.

See the instructions to add this module.

You should read about the before you start using it.

Before using FMTC, ensure you comply with the appropriate rules and ToS set by your tile server. Failure to do so may lead to a permenant ban, or any other punishment.

This library and/or the creator(s) are not responsible for any violations you make using this package.

OpenStreetMap's can be : specifically bulk downloading is discouraged, and forbidden after zoom level 13. Other servers may have different terms.

FMTC.instance('storeName').download.startBackground();

Available Parameters

Additional Preparation

This is designed to stop the app from terminating when it is taken off the widget tree, such as when the user closes the application. It is safe to leave there even when not downloading: it is intelligent enough to only keep the application alive if there is an ongoing background download.

You should also wrap your application's root widget (such as a Scaffold) with the widget.

3️⃣
FMTCBackgroundDownload
fmtc_plus_background_downloading
limitations and tradeoffs of background downloading
found here
fmtc_plus_background_downloading Installation & Setup
startBackground method - FMTCBackgroundDownloadingModule extension - fmtc_plus_background_downloading library - Dart API
Logo