Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Commit fa905e8

Browse files
authored
Prepare for deprecation (#16)
1 parent 1d78550 commit fa905e8

File tree

3 files changed

+16
-4
lines changed

3 files changed

+16
-4
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# CHANGELOG
22

3+
## [3.1.1] - 2025/07/09
4+
5+
* Prepare for deprecation
6+
37
## [3.1.0] - 2025/02/02
48

59
* Support flutter_map v8

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# flutter_map_cancellable_tile_provider
22

3+
### This plugin is deprecated since flutter_map v8.2
4+
5+
This plugin was intended as a stopgap to support aborting in-flight HTTP requests of tiles which were no longer required for display.
6+
7+
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).
8+
9+
flutter_map v8.2's `NetworkTileProvider` depends on this version of 'pkg:http', and supports aborting requests natively. Therefore, this package
10+
is now redundant.
11+
12+
---
13+
314
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
415

516
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:

pubspec.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,12 @@
11
name: flutter_map_cancellable_tile_provider
22
description: Plugin for flutter_map that provides a `TileProvider` with the capability to cancel unnecessary HTTP tile requests
3-
version: 3.1.0
3+
version: 3.1.1
44

55
homepage: https://github.com/fleaflet/flutter_map
66
repository: https://github.com/fleaflet/flutter_map_cancellable_tile_provider
77
issue_tracker: https://github.com/fleaflet/flutter_map/issues
88
documentation: https://docs.fleaflet.dev
99

10-
funding:
11-
- https://docs.fleaflet.dev/supporters#support-us
12-
1310
topics:
1411
- flutter-map
1512
- map

0 commit comments

Comments
 (0)