Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGELOG

## [3.1.1] - 2025/07/09

* Prepare for deprecation

## [3.1.0] - 2025/02/02

* Support flutter_map v8
Expand Down
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# flutter_map_cancellable_tile_provider

### This plugin is deprecated since flutter_map v8.2

This plugin was intended as a stopgap to support aborting in-flight HTTP requests of tiles which were no longer required for display.

Since 'package:http' v1.5.0-beta ([#1773](https://github.com/dart-lang/http/pull/1773)), the 3 core HTTP clients (`IOClient`, `BrowserClient`, and `RetryClient`) support this functionality natively (with other clients soon to follow).

flutter_map v8.2's `NetworkTileProvider` depends on this version of 'pkg:http', and supports aborting requests natively. Therefore, this package
is now redundant.

---

Plugin for [flutter_map](https://github.com/fleaflet/flutter_map) that provides a `TileProvider` that fetches tiles from the network, with the capability to cancel unnecessary HTTP tile requests

Tiles that are removed/pruned before they are fully loaded do not need to complete (down)loading, and therefore do not need to complete the HTTP interaction. Cancelling these unnecessary tile requests early could:
Expand Down
5 changes: 1 addition & 4 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
name: flutter_map_cancellable_tile_provider
description: Plugin for flutter_map that provides a `TileProvider` with the capability to cancel unnecessary HTTP tile requests
version: 3.1.0
version: 3.1.1

homepage: https://github.com/fleaflet/flutter_map
repository: https://github.com/fleaflet/flutter_map_cancellable_tile_provider
issue_tracker: https://github.com/fleaflet/flutter_map/issues
documentation: https://docs.fleaflet.dev

funding:
- https://docs.fleaflet.dev/supporters#support-us

topics:
- flutter-map
- map
Expand Down