Open Pioneer Trails Packages
    Preparing search index...

    Function getResolutionForScale

    • Computes the view resolution (in projection units per pixel) needed to display the map at the given scale around the given point.

      This is the inverse of getScaleForPointResolution combined with getPointResolution: feeding the result back through those two functions returns scale again.

      Parameters

      • options: { dpi?: number; point: Coordinate; projection: Projection; scale: number }

      Returns number