Search packages, repositories and app categories

Package detailsv2.1.2

flutter_map_cache

A slim yet powerful caching plugin for flutter_map tile layers.

AndroidiOSWebmacOSWindowsLinux
30-day downloads
24.2K
Likes
39
Pub points
160

Install package

flutter pub add flutter_map_cache

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

flutter_map_cache is a lightweight and efficient caching plugin designed specifically for tile layers in the flutter_map library. It enhances performance by storing downloaded map tiles locally, reducing redundant network requests and improving load times. The plugin seamlessly integrates with flutter_map, supporting all major platforms including Android, iOS, Web, macOS, Windows, and Linux. With minimal configuration, it provides reliable caching without adding complexity to existing map implementations.

Use cases

  • Caching map tiles to reduce bandwidth usage
  • Improving offline map performance
  • Speeding up repeated map view loads
  • Reducing server load from repeated tile requests
  • Enhancing user experience in low-connectivity areas

Key features

  • Minimal overhead and small footprint
  • Automatic cache management
  • Cross-platform compatibility
  • Seamless integration with flutter_map
  • Supports both memory and disk caching

Suitable for

  • Developers building map-heavy apps
  • Apps requiring offline or low-bandwidth map access
  • Projects aiming to optimize map performance
  • Teams using flutter_map for geospatial data visualization
  • Applications targeting multiple platforms

Considerations

  • Cache size should be monitored to avoid excessive storage use
  • Clearing cache may be needed for updated map data
  • Not suitable for real-time dynamic tile updates
  • Requires proper handling of cache expiration policies
  • May need additional configuration for large-scale deployments

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

Plugins for the flutter_map ecosystem 🗺️

This repository contains multiple flutter packages that extend the functionality of flutter_map.

stars codecov GitHub last commit Issues Open PRs

Packages

flutter_map_cache

Pub Version likes Pub Downloads

A slim yet powerful caching plugin for flutter_map tile layers. Supports any storage backend you would possibly want.

  • This package fills the gap between dio_cache_interceptor and flutter_map.
  • Support for tile cancellation
flutter_map_compass

Pub Version likes Pub Downloads

A compass for flutter_map that indicates the map rotation. It rotates the map back to north on top when clicked.

flutter_map_maplibre

Pub Version likes Pub Downloads

Performant Mapbox Vector Tiles (MVT) support for flutter_map powered by native MapLibre SDKs.

flutter_map_mbtiles

Pub Version likes Pub Downloads

This package provides the MbTilesTileProvider that can be used with flutter_map tile layers.

  • This package uses mbtiles under the hood for the MBTiles support.
  • MBTiles is a file format to store map tiles in a single SQLite database.
flutter_map_pmtiles

Pub Version likes Pub Downloads

This package provides the PmTilesTileProvider that can be used with flutter_map tile layers.

  • This package uses pmtiles under the hood for the PMTiles support.
  • PMTiles is an open archive format for pyramids of tile data, accessible via HTTP Range Requests. Head over to protomaps.com to learn more about PMTiles.
vector_map_tiles_mbtiles

Pub Version likes Pub Downloads

This package provides the MbTilesVectorTileProvider that can be used with the vector_map_tiles which itself adds support for vector tiles to flutter_map.

  • This package uses mbtiles under the hood for the MBTiles support.
  • MBTiles is a file format to store map tiles in a single SQLite database.
vector_map_tiles_pmtiles

Pub Version likes Pub Downloads

This package provides the PmTilesVectorTileProvider that can be used with the vector_map_tiles which itself adds support for vector tiles to flutter_map.

  • This package uses pmtiles under the hood for the PMTiles support.
  • PMTiles is an open archive format for pyramids of tile data, accessible via HTTP Range Requests. Head over to protomaps.com to learn more about PMTiles.

Contributions

A huge thanks to all contributors! 😎

List of contributors

Categories

Dependencies

Dependency list 3 items

Source repository

Projects using this package