Search Results for

    Show / Hide Table of Contents

    Class BaseEventArgs

    Inheritance
    object
    EventArgs
    HandledEventArgs
    BaseEventArgs
    MapEventArgs
    MapInfoEventArgs
    WidgetEventArgs
    Inherited Members
    HandledEventArgs.Handled
    EventArgs.Empty
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Mapsui
    Assembly: Mapsui.dll
    Syntax
    public class BaseEventArgs : HandledEventArgs

    Constructors

    | Edit this page View Source

    BaseEventArgs(ScreenPosition, MPoint, GestureType, Map, GetMapInfoDelegate, GetRemoteMapInfoAsyncDelegate)

    Declaration
    public BaseEventArgs(ScreenPosition screenPosition, MPoint worldPosition, GestureType gestureType, Map map, GetMapInfoDelegate getMapInfo, GetRemoteMapInfoAsyncDelegate getRemoteMapInfoAsync)
    Parameters
    Type Name Description
    ScreenPosition screenPosition
    MPoint worldPosition
    GestureType gestureType
    Map map
    GetMapInfoDelegate getMapInfo
    GetRemoteMapInfoAsyncDelegate getRemoteMapInfoAsync

    Properties

    | Edit this page View Source

    GestureType

    Number of clicks on the Widget

    Declaration
    public GestureType GestureType { get; }
    Property Value
    Type Description
    GestureType
    | Edit this page View Source

    GetMapInfo

    Function to get the MapInfo

    Declaration
    public Func<IEnumerable<ILayer>, MapInfo> GetMapInfo { get; }
    Property Value
    Type Description
    Func<IEnumerable<ILayer>, MapInfo>
    | Edit this page View Source

    GetRemoteMapInfoAsync

    Function to get the remote MapInfo

    Declaration
    public Func<IEnumerable<ILayer>, Task<MapInfo>> GetRemoteMapInfoAsync { get; }
    Property Value
    Type Description
    Func<IEnumerable<ILayer>, Task<MapInfo>>
    | Edit this page View Source

    Map

    The map from which the event was triggered.

    Declaration
    public Map Map { get; }
    Property Value
    Type Description
    Map
    | Edit this page View Source

    ScreenPosition

    Screen Position of touch in device independent units (or DIP or DP)

    Declaration
    public ScreenPosition ScreenPosition { get; }
    Property Value
    Type Description
    ScreenPosition
    | Edit this page View Source

    WorldPosition

    World Position of touch in map coordinates

    Declaration
    public MPoint WorldPosition { get; }
    Property Value
    Type Description
    MPoint

    Extension Methods

    DisposableExtension.DisposeIfDisposable(object?)
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX