Show / Hide Table of Contents

    Class ViewportLimiterWithoutLimits

    Inheritance
    System.Object
    ViewportLimiterWithoutLimits
    Implements
    IViewportLimiter
    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
    Assembly: Mapsui.dll
    Syntax
    public class ViewportLimiterWithoutLimits : IViewportLimiter

    Properties

    | Improve this Doc View Source

    PanLimits

    Declaration
    public BoundingBox PanLimits { get; set; }
    Property Value
    Type Description
    BoundingBox
    | Improve this Doc View Source

    ZoomLimits

    Declaration
    public MinMax ZoomLimits { get; set; }
    Property Value
    Type Description
    MinMax

    Methods

    | Improve this Doc View Source

    Limit(IViewport, IReadOnlyList<Double>, BoundingBox)

    Declaration
    public void Limit(IViewport viewport, IReadOnlyList<double> mapResolutions, BoundingBox mapEnvelope)
    Parameters
    Type Name Description
    IViewport viewport
    System.Collections.Generic.IReadOnlyList<System.Double> mapResolutions
    BoundingBox mapEnvelope
    | Improve this Doc View Source

    LimitExtent(IViewport, BoundingBox)

    Declaration
    public void LimitExtent(IViewport viewport, BoundingBox mapEnvelope)
    Parameters
    Type Name Description
    IViewport viewport
    BoundingBox mapEnvelope
    | Improve this Doc View Source

    LimitResolution(Double, Double, Double, IReadOnlyList<Double>, BoundingBox)

    Declaration
    public double LimitResolution(double resolution, double screenWidth, double screenHeight, IReadOnlyList<double> mapResolutions, BoundingBox mapEnvelope)
    Parameters
    Type Name Description
    System.Double resolution
    System.Double screenWidth
    System.Double screenHeight
    System.Collections.Generic.IReadOnlyList<System.Double> mapResolutions
    BoundingBox mapEnvelope
    Returns
    Type Description
    System.Double

    Implements

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