flutter_map_cache 1.2.0
flutter_map_cache: ^1.2.0 copied to clipboard
A slim yet powerful caching plugin for flutter_map tile layers.
1.2.0 - 2023-06-28 #
CachedTileProvider
- Add the
List<Interceptor>? interceptorsas a Parameter and remove theverboseparameter. The interceptors will get applied before the cache interceptor. - The
storeparameter is now required. - Add the option to override the
hitCacheOnErrorExceptparameter. By default, a cached request will not get used if the server returns with status code 401 or 403. - Remove the
dioparameter but set dio as a public field variable so that it can get modified after creation. - Add
BaseOptions? dioOptionsas a parameter.
Fixes
- Use cache when device has no internet connection and a SocketException gets thrown.
1.1.1 - 2023-06-22 #
- Update documentation and example project
- Use the user agent header provided by the
TileLayer
1.1.0 - 2023-06-09 #
- Add
maxStaleandkeyBuilderas optional parameters toCachedTileProvider:
1.0.0 - 2023-06-09 #
- Initial version.