Class GetFeatureInfo
Inherited Members
Namespace: Mapsui.Providers.Wms
Assembly: Mapsui.dll
Syntax
public class GetFeatureInfo
Constructors
| Edit this page View SourceGetFeatureInfo(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 SourceCredentials
Provides the base authentication interface for retrieving credentials for Web client authentication.
Declaration
public ICredentials? Credentials { get; set; }
Property Value
Type | Description |
---|---|
ICredentials |
ExtraParams
Declaration
public Dictionary<string, string>? ExtraParams { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, string> |
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 SourceRequest(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 SourceIdentifyFailed
Declaration
public event StatusEventHandler? IdentifyFailed
Event Type
Type | Description |
---|---|
StatusEventHandler |
IdentifyFinished
Declaration
public event StatusEventHandler? IdentifyFinished
Event Type
Type | Description |
---|---|
StatusEventHandler |