flutter_map_cache 1.4.1
flutter_map_cache: ^1.4.1 copied to clipboard
A slim yet powerful caching plugin for flutter_map tile layers.
[1.4.1] 2024-01-24 #
Fix description of Isar in the README file.
[1.4.0] 2024-01-24 #
- Add
dio
as a parameter toCachedTileProvider
. You're now able to provide and reuse your own Dio instance (Thanks to @PatrickWulfe). - Deprecate the
dioOptions
parameter. Prefer creating your own Dio instance and provide it to thedio
parameter. - Update the README file (for example add isar to the list of supported storage backends).
[1.3.1] 2023-10-20 #
Remove exception from the console when tile requests get cancelled (see https://github.com/josxha/flutter_map_cache/issues/3).
[1.3.0] 2023-10-09 #
- Support for flutter_map version ^6.0.0
- Support to cancel map tiles if tiles are still loading but no longer needed ( like flutter_map_cancellable_tile_provider)
- Update documentation
[1.2.0] 2023-06-28 #
CachedTileProvider
- Add the
List<Interceptor>? interceptors
as a Parameter and remove theverbose
parameter. The interceptors will get applied before the cache interceptor. - The
store
parameter is now required. - Add the option to override the
hitCacheOnErrorExcept
parameter. By default, a cached request will not get used if the server returns with status code 401 or 403. - Remove the
dio
parameter but set dio as a public field variable so that it can get modified after creation. - Add
BaseOptions? dioOptions
as 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
maxStale
andkeyBuilder
as optional parameters toCachedTileProvider
:
[1.0.0] 2023-06-09 #
- Initial version.