C# Class Mapsui.Providers.Wms.GetFeatureInfo

Exibir arquivo Open project: pauldendulk/Mapsui

Public Methods

Method Description
GetFeatureInfo ( Func getStreamAsync = null ) : System
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 ) : void

Request FeatureInfo for a WMS Server

Private Methods

Method Description
CreateRequestUrl ( string baseUrl, string wmsVersion, string infoFormat, string srs, string layer, double extendXmin, double extendYmin, double extendXmax, double extendYmax, double x, double y, double mapWidth, double mapHeight ) : string
GetParserFromFormat ( string format ) : IGetFeatureInfoParser

Get a parser that is able to parse the output returned from the service

GetStreamAsync ( string url ) : Task
OnIdentifyFailed ( ) : void
OnIdentifyFinished ( FeatureInfo featureInfo ) : void

Method Details

GetFeatureInfo() public method

public GetFeatureInfo ( Func getStreamAsync = null ) : System
getStreamAsync Func
return System

Request() public method

Request FeatureInfo for a WMS Server
public 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 ) : void
baseUrl string Base URL of the WMS server
wmsVersion string WMS Version
infoFormat string Format of response (text/xml, text/plain, etc)
srs string EPSG Code of the coordinate system
layer string Layer to get FeatureInfo From
extendXmin double
extendYmin double
extendXmax double
extendYmax double
x int Coordinate in pixels x
y int Coordinate in pixels y
mapWidth int Width of the map
mapHeight int Height of the map
return void