Search Results for

    Show / Hide Table of Contents

    Class GetFeatureInfo

    Inheritance
    object
    GetFeatureInfo
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Mapsui.Providers.Wms
    Assembly: Mapsui.dll
    Syntax
    public class GetFeatureInfo

    Constructors

    | Edit this page View Source

    GetFeatureInfo(Func<string, Task<Stream>>?)

    Declaration
    public GetFeatureInfo(Func<string, Task<Stream>>? getStreamAsync = null)
    Parameters
    Type Name Description
    Func<string, Task<Stream>> getStreamAsync

    Properties

    | Edit this page View Source

    Credentials

    Provides the base authentication interface for retrieving credentials for Web client authentication.

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

    ExtraParams

    Declaration
    public Dictionary<string, string>? ExtraParams { get; set; }
    Property Value
    Type Description
    Dictionary<string, string>
    | Edit this page View Source

    TimeOut

    Timeout of web request in milliseconds. Default is 7 seconds

    Declaration
    public int TimeOut { get; set; }
    Property Value
    Type Description
    int

    Methods

    | Edit this page View Source

    Request(string, string, string, string, string, double, double, double, double, int, int, int, int)

    Request FeatureInfo for a WMS Server

    Declaration
    public void Request(string baseUrl, string wmsVersion, string infoFormat, string srs, string layer, double extendXmin, double extendYmin, double extendXmax, double extendYmax, int x, int y, int mapWidth, int mapHeight)
    Parameters
    Type Name Description
    string baseUrl

    Base URL of the WMS server

    string wmsVersion

    WMS Version

    string infoFormat

    Format of response (text/xml, text/plain, etc)

    string srs

    EPSG Code of the coordinate system

    string layer

    Layer to get FeatureInfo From

    double extendXmin
    double extendYmin
    double extendXmax
    double extendYmax
    int x

    Coordinate in pixels x

    int y

    Coordinate in pixels y

    int mapWidth

    Width of the map

    int mapHeight

    Height of the map

    Events

    | Edit this page View Source

    IdentifyFailed

    Declaration
    public event StatusEventHandler? IdentifyFailed
    Event Type
    Type Description
    StatusEventHandler
    | Edit this page View Source

    IdentifyFinished

    Declaration
    public event StatusEventHandler? IdentifyFinished
    Event Type
    Type Description
    StatusEventHandler
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX