getZoomScale method

double getZoomScale(
  1. double toZoom,
  2. double fromZoom
)

Calculates the scale for a zoom from fromZoom to toZoom using this camera\s crs.

Implementation

double getZoomScale(double toZoom, double fromZoom) =>
    crs.scale(toZoom) / crs.scale(fromZoom);