Show / Hide Table of Contents

    Class ZoomLevelExtensions

    Inheritance
    System.Object
    ZoomLevelExtensions
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Mapsui.UI.Forms.Extensions
    Assembly: Mapsui.UI.Forms.dll
    Syntax
    public static class ZoomLevelExtensions

    Methods

    | Improve this Doc View Source

    ToMapsuiResolution(Double)

    Convert zoom level (as discribed at https://wiki.openstreetmap.org/wiki/Zoom_levels) into a Mapsui resolution

    Declaration
    public static double ToMapsuiResolution(this double zoomLevel)
    Parameters
    Type Name Description
    System.Double zoomLevel

    Zoom level

    Returns
    Type Description
    System.Double

    Resolution in Mapsui format

    | Improve this Doc View Source

    ToMapsuiResolution(Int32)

    Convert zoom level (as discribed at https://wiki.openstreetmap.org/wiki/Zoom_levels) into a Mapsui resolution

    Declaration
    public static double ToMapsuiResolution(this int zoomLevel)
    Parameters
    Type Name Description
    System.Int32 zoomLevel

    Zoom level

    Returns
    Type Description
    System.Double

    Resolution in Mapsui format

    | Improve this Doc View Source

    ToMapsuiResolution(Single)

    Convert zoom level (as discribed at https://wiki.openstreetmap.org/wiki/Zoom_levels) into a Mapsui resolution

    Declaration
    public static double ToMapsuiResolution(this float zoomLevel)
    Parameters
    Type Name Description
    System.Single zoomLevel

    Zoom level

    Returns
    Type Description
    System.Double

    Resolution in Mapsui format

    | Improve this Doc View Source

    ToZoomLevel(Double)

    Convert Mapsui resolution to zoom level (as discribed at https://wiki.openstreetmap.org/wiki/Zoom_levels)

    Declaration
    public static double ToZoomLevel(this double resolution)
    Parameters
    Type Name Description
    System.Double resolution

    Resolution in Mpsui format

    Returns
    Type Description
    System.Double

    Zoom level

    • Improve this Doc
    • View Source
    Back to top Generated by DocFX