You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When downloading complete can we download just failed tiles or we need to download again complete region again. is there any way that we can just download failed tiles?
`downloadRegion(List data) {
log("downloading start");
final Vm controller = Get.put(Vm());
final region = CustomPolygonRegion(data);
final downloadable = region.toDownloadable(
minZoom: 4,
maxZoom: 12,
options: TileLayer(
urlTemplate: mapBoxURl,
userAgentPackageName: 'com.example.app',
),
);
controller.setDownloadProgress(FMTCStore('mapStore')
.download
.startForeground(
region: downloadable,
skipExistingTiles: true,
skipSeaTiles: true,
maxBufferLength: 5000,
instanceId: MapFunctions.generateRandomNumber(0, 10000),
)
.asBroadcastStream());
What do you want implemented?
is there any way that we can just download failed tiles?
`downloadRegion(List data) {
log("downloading start");
final Vm controller = Get.put(Vm());
final region = CustomPolygonRegion(data);
final downloadable = region.toDownloadable(
minZoom: 4,
maxZoom: 12,
options: TileLayer(
urlTemplate: mapBoxURl,
userAgentPackageName: 'com.example.app',
),
);
controller.setDownloadProgress(FMTCStore('mapStore')
.download
.startForeground(
region: downloadable,
skipExistingTiles: true,
skipSeaTiles: true,
maxBufferLength: 5000,
instanceId: MapFunctions.generateRandomNumber(0, 10000),
)
.asBroadcastStream());
controller.downloadProgress?.listen((progress) {
log('Download Progress: ${progress.percentageProgress}/${progress.isComplete} ${progress.remainingTiles} ${progress.successfulTiles} ${progress.cachedTiles} ${progress.estRemainingDuration}');
});
// controller.update();
// FMTCStore('mapStore').download.check(downloadable).then((value) => debugPrint("value length ${value}"));
}
`
What other alternatives are available?
No response
Can you provide any other information?
No response
Severity
Annoying: Currently have to use workarounds
The text was updated successfully, but these errors were encountered: