Search Results for

    Show / Hide Table of Contents

    Class MapInfo

    Inheritance
    object
    MapInfo
    Inherited Members
    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 MapInfo

    Constructors

    | Edit this page View Source

    MapInfo(ScreenPosition, MPoint, double, IEnumerable<MapInfoRecord>?)

    Declaration
    public MapInfo(ScreenPosition screenPosition, MPoint worldPosition, double resolution, IEnumerable<MapInfoRecord>? mapInfoRecords = null)
    Parameters
    Type Name Description
    ScreenPosition screenPosition
    MPoint worldPosition
    double resolution
    IEnumerable<MapInfoRecord> mapInfoRecords

    Properties

    | Edit this page View Source

    Feature

    The feature touched by the user

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

    Layer

    The layer to which the touched feature belongs

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

    MapInfoRecord

    Current Map Info Record

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

    MapInfoRecords

    List of MapInfo Records

    Declaration
    public IEnumerable<MapInfoRecord> MapInfoRecords { get; }
    Property Value
    Type Description
    IEnumerable<MapInfoRecord>
    | Edit this page View Source

    Resolution

    The resolution at which the info was retrieved. This can be useful to calculate screen distances, which are needed for editing functionality.

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

    ScreenPosition

    Screen position of the place the user touched

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

    Style

    The style of feature touched by the user

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

    WorldPosition

    World position of the place the user touched

    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