flutter_map_cache
A slim yet powerful caching plugin for flutter_map tile layers.
2.1.0
22K downloads/mo
#2109 most downloaded on pub.dev
josxha/flutter_map_plugins
What this package is like to depend on
Last release 4 months ago
11 Apr 2026
Release timing varies
gaps range from 1 weeks to 12 months
Nearly every release is documented
notes for 17 of 17 stable releases
Nothing withdrawn
no release was ever pulled
3 years old
17 releases · first in 2023
1 release in the last 12 months
see the full history below
Release timeline
17 releases · Jun 2023 to Apr 2026Releases
latest 17-
2.1.011 Apr 2026Release notes
Open source →- Add
headersparameter toCachedTileProviderto allow adding custom headers to tile requests.
- Add
-
2.0.006 Apr 2025Release notes
Open source →- Use dio_cache_interceptor: ^4.0.0
- Remove deprecated
dioOptionsparameter - Add hitCacheOnNetworkFailure
- Remove
hitCacheOnErrorExceptin favor of the new hitCacheOnErrorCodes
Please update your integration and used store packages according to the Getting Started section. More information can be found in the dio_cache_interceptor changelog.
-
2.0.0+118 Apr 2025 -
1.5.205 Feb 2025 -
1.5.128 May 2024 -
1.5.019 Feb 2024Release notes
Open source →- fix: assertion error when the total amount of bytes is unknown (thanks to @Thelm76).
- add: optional
cachePolicyparameter (thanks to @Thelm76). - Update README
-
1.4.410 Feb 2024 -
1.4.306 Feb 2024Release notes
Open source →- Fix:
CachedTileProvider.diohad itsBaseOptionsoverridden (#12, thanks to @Thelm76) - Add tests
- Fix:
-
1.4.201 Feb 2024Release notes
Open source →- Migrate GitHub repository to a multi-package repo.
- Update README and package links.
-
1.4.124 Jan 2024 -
1.4.024 Jan 2024Release notes
Open source →- Add
dioas a parameter toCachedTileProvider. You're now able to provide and reuse your own Dio instance (thanks to @PatrickWulfe). - Deprecate the
dioOptionsparameter. Prefer creating your own Dio instance and provide it to thedioparameter. - Update the README file (for example add isar to the list of supported storage backends).
- Add
-
1.3.120 Oct 2023Release notes
Open source →- Remove exception from the console when tile requests get cancelled (see https://github.com/josxha/flutter_map_plugins/issues/3).
-
1.3.009 Oct 2023Release notes
Open source →- 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.028 Jun 2023Release notes
Open source →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.
- Add the
-
1.1.122 Jun 2023Release notes
Open source →- Update documentation and example project
- Use the user agent header provided by the
TileLayer
-
1.1.009 Jun 2023Release notes
Open source →- Add
maxStaleandkeyBuilderas optional parameters toCachedTileProvider:
- Add
-
1.0.009 Jun 2023