minZoomLevel property

double get minZoomLevel

Minimum zoom level of the map layer.

Defaults to 1.

Implementation

double get minZoomLevel => _minZoomLevel;
set minZoomLevel (double value)

Implementation

set minZoomLevel(double value) {
  assert(value >= kDefaultMinZoomLevel);
  if (_minZoomLevel == value) {
    return;
  }
  _minZoomLevel = value;
  zoomLevel = _zoomLevel.clamp(_minZoomLevel, _maxZoomLevel);
}