levelCount property

int levelCount

The number of levels of resolution supported by the grid. The line and label style can be set for each of these resolution levels.

The resolution of the displayed grid may adapt as the scale of the displayed map changes. This method returns the finite number of different resolutions that are available for this grid.

Implementation

int get levelCount {
  return _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_Grid_getLevelCount(
      _handle,
      errorHandler,
    );
  });
}