Delete unused code

This commit is contained in:
Garth Vander Houwen 2023-05-14 09:40:36 -07:00
parent 26b6ee3735
commit d27123a49a

View file

@ -63,15 +63,6 @@ class OfflineTileManager: ObservableObject {
}
return Double(accumulatedSize)
// let paths = self.computeTileOverlayPaths(boundingBox: boundingBox)
//
// for path in paths {
// let file = "tiles/\(UserDefaults.mapTileServer.id)-z\(path.z)x\(path.x)y\(path.y).png"
// let url = documentsDirectory.appendingPathComponent(file)
// accumulatedSize += (try? url.regularFileAllocatedSize()) ?? 0
// }
// return Double(accumulatedSize)
}
func getDownloadedSize(for boundingBox: MKMapRect) -> Double {