TileKey constructor

TileKey({
  1. required int level,
  2. required int column,
  3. required int row,
})

Create a tile key from the specified level, column and row.

Parameters:

  • level — The level of the tile key.
  • column — The column of the tile key.
  • row — The row of the tile key.

Implementation

factory TileKey({
  required int level,
  required int column,
  required int row,
}) {
  _initializeArcGISEnvironmentIfNeeded();
  final handle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_TileKey_create(
      level,
      column,
      row,
      errorHandler,
    );
  });
  return TileKey._withHandle(handle);
}