Search Results for

    Show / Hide Table of Contents

    Class ViewportLimiterKeepWithinExtent

    This Viewport limiter will make sure that only the area within the panBounds will be visible in the viewport. It should not be possible to view anything outside of the panBounds. An exception is rotation.

    Inheritance
    object
    ViewportLimiterKeepWithinExtent
    Implements
    IViewportLimiter
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Mapsui.Limiting
    Assembly: Mapsui.dll
    Syntax
    public class ViewportLimiterKeepWithinExtent : IViewportLimiter

    Methods

    | Edit this page View Source

    Limit(Viewport, MRect?, MMinMax?)

    Declaration
    public Viewport Limit(Viewport viewport, MRect? panBounds, MMinMax? zoomBounds)
    Parameters
    Type Name Description
    Viewport viewport
    MRect panBounds
    MMinMax zoomBounds
    Returns
    Type Description
    Viewport

    Implements

    IViewportLimiter
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX