패키지, 저장소 및 앱 카테고리 검색

패키지 상세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 개

소스 저장소

이 패키지를 사용하는 프로젝트