Search Results for

    Show / Hide Table of Contents

    Class ZoomHelper

    Inheritance
    object
    ZoomHelper
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Mapsui.Utilities
    Assembly: Mapsui.dll
    Syntax
    public static class ZoomHelper

    Methods

    | Edit this page View Source

    CalculateResolutionForWorldSize(double, double, double, double, MBoxFit)

    Declaration
    public static double CalculateResolutionForWorldSize(double worldWidth, double worldHeight, double screenWidth, double screenHeight, MBoxFit boxFit = MBoxFit.Fit)
    Parameters
    Type Name Description
    double worldWidth
    double worldHeight
    double screenWidth
    double screenHeight
    MBoxFit boxFit
    Returns
    Type Description
    double
    | Edit this page View Source

    GetResolutionToZoomIn(IReadOnlyList<double>?, double)

    Declaration
    public static double GetResolutionToZoomIn(IReadOnlyList<double>? resolutions, double resolution)
    Parameters
    Type Name Description
    IReadOnlyList<double> resolutions
    double resolution
    Returns
    Type Description
    double
    | Edit this page View Source

    GetResolutionToZoomOut(IReadOnlyList<double>?, double)

    Declaration
    public static double GetResolutionToZoomOut(IReadOnlyList<double>? resolutions, double resolution)
    Parameters
    Type Name Description
    IReadOnlyList<double> resolutions
    double resolution
    Returns
    Type Description
    double
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX