Show / Hide Table of Contents

    Interface INavigator

    Namespace: Mapsui
    Assembly: Mapsui.dll
    Syntax
    public interface INavigator

    Properties

    | Improve this Doc View Source

    Navigated

    Called each time one of the navigation methods is called

    Declaration
    EventHandler Navigated { get; set; }
    Property Value
    Type Description
    System.EventHandler

    Methods

    | Improve this Doc View Source

    CenterOn(Point)

    Change center of viewport

    Declaration
    void CenterOn(Point center)
    Parameters
    Type Name Description
    Point center

    New center point of viewport

    | Improve this Doc View Source

    CenterOn(Double, Double)

    Change center of viewport to X/Y coordinates

    Declaration
    void CenterOn(double x, double y)
    Parameters
    Type Name Description
    System.Double x

    X value of the new center

    System.Double y

    Y value of the new center

    | Improve this Doc View Source

    NavigateTo(BoundingBox, ScaleMethod)

    Navigate center of viewport to center of extent and change resolution

    Declaration
    void NavigateTo(BoundingBox extent, ScaleMethod scaleMethod = ScaleMethod.Fit)
    Parameters
    Type Name Description
    BoundingBox extent

    New extent for viewport to show

    ScaleMethod scaleMethod

    Scale method to use to determin resolution

    | Improve this Doc View Source

    NavigateTo(Point, Double)

    Change both center and resolution of the viewport

    Declaration
    void NavigateTo(Point center, double resolution)
    Parameters
    Type Name Description
    Point center

    The new center

    System.Double resolution

    The new resolution

    | Improve this Doc View Source

    NavigateToFullEnvelope(ScaleMethod)

    Declaration
    void NavigateToFullEnvelope(ScaleMethod scaleMethod = ScaleMethod.Fill)
    Parameters
    Type Name Description
    ScaleMethod scaleMethod
    | Improve this Doc View Source

    RotateTo(Double)

    Change rotation of viewport

    Declaration
    void RotateTo(double rotation)
    Parameters
    Type Name Description
    System.Double rotation

    New rotation in degrees of viewport>

    | Improve this Doc View Source

    ZoomIn()

    Declaration
    void ZoomIn()
    | Improve this Doc View Source

    ZoomIn(Point)

    Declaration
    void ZoomIn(Point centerOfZoom)
    Parameters
    Type Name Description
    Point centerOfZoom
    | Improve this Doc View Source

    ZoomOut()

    Declaration
    void ZoomOut()
    | Improve this Doc View Source

    ZoomOut(Point)

    Declaration
    void ZoomOut(Point centerOfZoom)
    Parameters
    Type Name Description
    Point centerOfZoom
    | Improve this Doc View Source

    ZoomTo(Double)

    Change resolution of viewport

    Declaration
    void ZoomTo(double resolution)
    Parameters
    Type Name Description
    System.Double resolution

    New resolution to use

    | Improve this Doc View Source

    ZoomTo(Double, Point)

    Declaration
    void ZoomTo(double resolution, Point centerOfZoom)
    Parameters
    Type Name Description
    System.Double resolution
    Point centerOfZoom
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX