Search Results for

    Show / Hide Table of Contents

    Class MapInfoWidget

    Inheritance
    object
    BaseWidget
    BoxWidget
    TextBoxWidget
    MapInfoWidget
    Implements
    IWidget
    Inherited Members
    TextBoxWidget.Padding
    TextBoxWidget.Text
    TextBoxWidget.TextSize
    TextBoxWidget.TextColor
    BoxWidget.CornerRadius
    BoxWidget.BackColor
    BoxWidget.Opacity
    BaseWidget.InputAreaType
    BaseWidget.HorizontalAlignment
    BaseWidget.VerticalAlignment
    BaseWidget.Margin
    BaseWidget.Position
    BaseWidget.Width
    BaseWidget.Height
    BaseWidget.Envelope
    BaseWidget.Enabled
    BaseWidget.InputTransparent
    BaseWidget.WithTappedEvent
    BaseWidget.WithPointerPressedEvent
    BaseWidget.WithPointerMovedEvent
    BaseWidget.WithPointerReleased
    BaseWidget.Tapped
    BaseWidget.PointerPressed
    BaseWidget.PointerMoved
    BaseWidget.PointerReleased
    BaseWidget.UpdateEnvelope(double, double, double, double)
    BaseWidget.OnTapped(WidgetEventArgs)
    BaseWidget.OnPointerPressed(WidgetEventArgs)
    BaseWidget.OnPointerMoved(WidgetEventArgs)
    BaseWidget.OnPointerReleased(WidgetEventArgs)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Mapsui.Widgets.InfoWidgets
    Assembly: Mapsui.dll
    Syntax
    public class MapInfoWidget : TextBoxWidget, IWidget

    Constructors

    | Edit this page View Source

    MapInfoWidget(Map, IEnumerable<ILayer>)

    Widget displaying information about the feature at the current mouse position

    Declaration
    public MapInfoWidget(Map map, IEnumerable<ILayer> layers)
    Parameters
    Type Name Description
    Map map

    The map that is queried.

    IEnumerable<ILayer> layers

    The list of layers to filter.

    | Edit this page View Source

    MapInfoWidget(Map, Func<ILayer, bool>)

    Widget displaying information about the feature at the current mouse position

    Declaration
    public MapInfoWidget(Map map, Func<ILayer, bool> layersFilter)
    Parameters
    Type Name Description
    Map map

    The map that is queried.

    Func<ILayer, bool> layersFilter

    The filter to select the layers to query. The advantage of a filter is that it can handle changes to the layer list later on.

    | Edit this page View Source

    MapInfoWidget(Map, Func<IEnumerable<ILayer>>)

    Widget displaying information about the feature at the current mouse position

    Declaration
    public MapInfoWidget(Map map, Func<IEnumerable<ILayer>> getMapInfoLayers)
    Parameters
    Type Name Description
    Map map

    The map that is queried.

    Func<IEnumerable<ILayer>> getMapInfoLayers

    The method to retrieve the layers to query.

    Properties

    | Edit this page View Source

    FeatureToText

    Declaration
    public Func<IFeature?, string> FeatureToText { get; set; }
    Property Value
    Type Description
    Func<IFeature, string>

    Implements

    IWidget

    Extension Methods

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