Skip to main content

MapImageDataProviderBase.WebRequest Event

Occurs when a Map control sends a request to an external web service.

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v24.2.dll

Declaration

public event MapWebRequestEventHandler WebRequest

Event Data

The WebRequest event's data class is MapWebRequestEventArgs. The following properties provide information specific to this event:

Property Description
Accept Gets or sets the web request’s Accept header.
Credentials Gets or sets authentication information for the map web request.
Encoding Specifies the character encoding of the map web request.
Headers Gets or sets a collection of web headers associated with a request or response.
Proxy Gets or sets proxy information for the request.
Referer Gets or sets the Referer field of the HTTP header.
Uri Get the URI of the Internet resource associated with the map web request.
UseDefaultCredentials Gets or sets a value that indicates whether to use the default authentication information for the map web request.
UserAgent Gets or sets the value of the user-agent HTTP header.

The following code snippets (auto-collected from DevExpress Examples) contain references to the WebRequest event.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also