getScaleZoom method

double getScaleZoom(
  1. double scale,
  2. double? fromZoom
)

Implementation

double getScaleZoom(double scale, double? fromZoom) {
  var crs = options.crs;
  fromZoom = fromZoom ?? _zoom;
  return crs.zoom(scale * crs.scale(fromZoom)) as double;
}