Open Pioneer Trails Packages
    Preparing search index...

    Function getPointResolution

    • Returns the point resolution in meters per pixel at the given point.

      The resolution must be given as a view resolution, i.e. in projection units per pixel (as returned by OpenLayers' View.getResolution() or MapModel.resolution).

      The result generally differs from the given resolution, for two reasons:

      • the projection's unit may not be the meter (e.g. EPSG:4326 uses degrees);
      • the projection's local scale factor varies depending on the specific coordinate

      Parameters

      • options: { point: Coordinate; projection: Projection; resolution: number }

      Returns number