搜尋套件、儲存庫與 APP 分類

套件詳情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 項

原始碼儲存庫

使用此套件的專案