Show / Hide Table of Contents

    Class GetFeatureInfo

    Inheritance
    System.Object
    GetFeatureInfo
    Namespace: Mapsui.Desktop.Wms
    Assembly: Mapsui.Desktop.dll
    Syntax
    public class GetFeatureInfo : object

    Constructors

    | Improve this Doc View Source

    GetFeatureInfo(Func<String, Task<Stream>>)

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

    Properties

    | Improve this Doc 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
    | Improve this Doc View Source

    ExtraParams

    Declaration
    public Dictionary<string, string> ExtraParams { get; set; }
    Property Value
    Type Description
    Dictionary<System.String, System.String>
    | Improve this Doc View Source

    TimeOut

    Timeout of webrequest in milliseconds. Default is 7 seconds

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

    Methods

    | Improve this Doc View Source

    Request(String, String, String, String, String, Double, Double, Double, Double, Int32, Int32, Int32, Int32)

    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
    System.String baseUrl

    Base URL of the WMS server

    System.String wmsVersion

    WMS Version

    System.String infoFormat

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

    System.String srs

    EPSG Code of the coordinate system

    System.String layer

    Layer to get FeatureInfo From

    System.Double extendXmin
    System.Double extendYmin
    System.Double extendXmax
    System.Double extendYmax
    System.Int32 x

    Coordinate in pixels x

    System.Int32 y

    Coordinate in pixels y

    System.Int32 mapWidth

    Width of the map

    System.Int32 mapHeight

    Height of the map

    Events

    | Improve this Doc View Source

    IdentifyFailed

    Declaration
    public event StatusEventHandler IdentifyFailed
    Event Type
    Type Description
    StatusEventHandler
    | Improve this Doc View Source

    IdentifyFinished

    Declaration
    public event StatusEventHandler IdentifyFinished
    Event Type
    Type Description
    StatusEventHandler
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX