In addtion to the BrowseStoreStrategy
(#browsestorestrategy), FMTCTileProvider
s also take a BrowseLoadingStrategy
in the FMTCTileProvider.loadingStrategy
argument, which determines whether the network or cache is preferred during browse caching, and how to fallback if the primary method doesn't work.
FMTCTileProvider
must have at least one store specified. Use a standard NetworkTileProvider
if caching is disabled.
Strategy | Preferred Method | Fallback Method |
---|---|---|
cacheOnly
Cache
None
cacheFirst
(default)
Cache
Network
onlineFirst
Network
Cache
Standard Tile Provider
Network
None