minZoomLevel property Null safety

double minZoomLevel

Minimum zoom level of the map layer.

Defaults to 1.

Implementation

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

Implementation

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