Stores
Last updated
Last updated
© Luka Stillingfleet (JaffaKetchup)
Stores contain any metadata associated with them, cached statistics, and maintain a reference to all the tiles that belong to it.
They are referenced by name, the single argument of FMTCStore
.
Ensure names of stores are consistent across every access. "Typed"/code-generated stores are not provided, to maintain flexibility.
Construction of an FMTCStore
object does not imply/infer that the underlying store has been created and is ready for use. Therefore, a store will require creation via its StoreManagement
object (accessed via FMTCStore.manage
) before it can be used.
After a store reference is constructed, the following actions can be performed with it:
Management: manage
Control the store: create it, delete it, rename it, etc.
Statistics: stats
Retrieve information about the store and its contents
Metadata: metadata
Access simple persistent storage, with no direct influence on FMTC's functioning
Bulk Download: download
Prepare/plan, start, and manage bulk downloads
Integrate With TileLayer
Generate a specialised TileProvider
that allows flutter_map to access cached tiles