Loading Strategy
Last updated
Last updated
© Luka Stillingfleet (JaffaKetchup)
In addtion to the 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.
cacheOnly
Cache
None
cacheFirst
(default)
Cache
Network
onlineFirst
Network
Cache
Standard Tile Provider
Network
None
FMTCTileProvider
must have at least one store specified. Use a standard NetworkTileProvider
if caching is disabled.