3️⃣Start In Background

Available on Android only

You should read about the limitations and tradeoffs of background downloading before you start using it.

Before continuing with usage, make ensure you comply with the appropriate rules and terms of service set by your tile server.

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

This library and/or the creator(s) are not responsible for any violations you make using this package. Remember that this library automatically adds a clear 'with flutter_map_tile_caching' to the User-Agent header.

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

Available Parameters

Additional Preparation

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

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.

Last updated

© Luka Stillingfleet (JaffaKetchup)