getTilesLength method

Future<int> getTilesLength(
  1. bool debugFile
)

Calculates the total length of all tile data in this sub-file.

Implementation

Future<int> getTilesLength(bool debugFile) async {
int result = 0;
_processSync("getting tiles length", (tile) {
  result += tileBuffer.getLength(tile);
});
return result;
  }