{"id":21707403,"url":"https://github.com/fleaflet/flutter_map_cancellable_tile_provider","last_synced_at":"2025-04-12T16:16:43.246Z","repository":{"id":191176833,"uuid":"684094943","full_name":"fleaflet/flutter_map_cancellable_tile_provider","owner":"fleaflet","description":"Plugin for flutter_map that provides a `TileProvider` with the capability to cancel unnecessary HTTP requests","archived":false,"fork":false,"pushed_at":"2025-02-02T20:36:54.000Z","size":19,"stargazers_count":10,"open_issues_count":0,"forks_count":9,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-04-12T16:16:00.023Z","etag":null,"topics":["flutter","flutter-map","library","maps"],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/flutter_map_cancellable_tile_provider","language":"Dart","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fleaflet.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"custom":"https://docs.fleaflet.dev/supporters#support-us"}},"created_at":"2023-08-28T12:53:16.000Z","updated_at":"2025-02-02T20:36:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"427d7f1d-18e4-49a0-93d9-f5a3374c3b44","html_url":"https://github.com/fleaflet/flutter_map_cancellable_tile_provider","commit_stats":null,"previous_names":["fleaflet/flutter_map_cancellable_tile_provider"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fleaflet%2Fflutter_map_cancellable_tile_provider","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fleaflet%2Fflutter_map_cancellable_tile_provider/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fleaflet%2Fflutter_map_cancellable_tile_provider/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fleaflet%2Fflutter_map_cancellable_tile_provider/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fleaflet","download_url":"https://codeload.github.com/fleaflet/flutter_map_cancellable_tile_provider/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248594190,"owners_count":21130316,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["flutter","flutter-map","library","maps"],"created_at":"2024-11-25T22:17:35.259Z","updated_at":"2025-04-12T16:16:43.210Z","avatar_url":"https://github.com/fleaflet.png","language":"Dart","funding_links":["https://docs.fleaflet.dev/supporters#support-us"],"categories":[],"sub_categories":[],"readme":"# flutter_map_cancellable_tile_provider\n\nPlugin 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\n\nTiles 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:\n\n- Reduce tile loading durations (particularly on the web)\n- Reduce users' (cellular) data and cache space consumption\n- Reduce costly tile requests to tile servers*\n- Improve performance by reducing CPU and IO work\n\nThis provider uses '[dio](https://pub.dev/packages/dio)', which supports aborting unnecessary HTTP requests in-flight, after they have already been sent.\n\nAlthough HTTP request abortion is supported on all platforms, it is especially useful on the web - and therefore recommended for web apps. This is because the web platform has a limited number of simulatous HTTP requests, and so closing the requests allows new requests to be made for new tiles.  \nOn other platforms, the other benefits may still occur, but may not be as visible as on the web.\n\nOnce HTTP request abortion is [added to Dart's 'native' 'http' package (which already has a PR opened)](https://github.com/dart-lang/http/issues/424), `NetworkTileProvider` will be updated to take advantage of it, replacing and deprecating this provider. This tile provider is currently a separate package and not the default due to the reliance on the additional Dio dependency.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffleaflet%2Fflutter_map_cancellable_tile_provider","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffleaflet%2Fflutter_map_cancellable_tile_provider","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffleaflet%2Fflutter_map_cancellable_tile_provider/lists"}