パッケージ、リポジトリ、アプリカテゴリを検索

パッケージ詳細v2.1.2

flutter_map_cache

flutter_map のタイルレイヤー用の軽量かつ強力なキャッシュプラグインです。

AndroidiOSWebmacOSWindowsLinux
30日間ダウンロード
2.4万
いいね数
39
Pub ポイント
160

パッケージをインストール

flutter pub add flutter_map_cache

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

flutter_map_cache は、flutter_map ライブラリのタイルレイヤー専用に設計された軽量かつ効率的なキャッシュプラグインです。ダウンロードしたマップタイルをローカルに保存することでパフォーマンスを向上させ、重複するネットワーク要求を減らし、読み込み時間を改善します。このプラグインは flutter_map とシームレスに統合され、Android、iOS、Web、macOS、Windows、Linux などの主要プラットフォームをすべてサポートしています。最小限の構成で、既存のマップ実装に複雑さを加えることなく信頼性の高いキャッシュを提供します。

用途

  • 帯域幅の使用量を減らすために地図タイルをキャッシュする
  • オフラインマップのパフォーマンス向上
  • 繰り返しマップビューの読み込みを高速化する
  • 繰り返しのタイル要求によるサーバー負荷の軽減
  • 低接続エリアにおけるユーザー体験の向上

主な機能

  • 最小限のオーバーヘッドと小さなフットプリント
  • 自動キャッシュ管理
  • クロスプラットフォーム互換性
  • flutter_map とのシームレスな統合
  • メモリおよびディスクキャッシュの両方をサポートしています

適している対象

  • マップを多く使うアプリを開発する開発者
  • オフラインまたは低帯域幅の地図アクセスを必要とするアプリ
  • マップのパフォーマンスを最適化することを目指すプロジェクト
  • 地空間データ可視化に flutter_map を使用するチーム
  • 複数のプラットフォームをターゲットにするアプリケーション

注意事項

  • 過度なストレージ使用を避けるために、キャッシュサイズをモニタリングする必要があります
  • 更新された地図データのためには、キャッシュをクリアする必要がある場合があります
  • リアルタイムの動的タイル更新には適していません
  • キャッシュ有効期限ポリシーの適切な処理が必要です
  • 大規模な展開には追加の構成が必要になる場合があります

元の README

関連するソースリポジトリの README 原文のスナップショットです。最新の内容はリポジトリをご覧ください。

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

カテゴリー

依存関係

依存関係一覧 3 件

ソースリポジトリ

このパッケージを使用しているプロジェクト