RequestBase
Base class for all requests.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.RadMap.dll
Syntax:
[Obsolete("This class relies on the Bing Maps Telerik provider. Microsoft is retiring Bing Maps, and support for this provider is being discontinued. Please migrate to AzureMapProvider. This class is scheduled for removal in 2028 Q3.")]
public abstract class RequestBase
Inheritance: objectRequestBase
Constructors
Initializes a new instance of the BaseRequest class.
protected RequestBase()
Properties
The culture in which to return results.
public CultureInfo Culture { get; set; }
The culture.
Gets or sets the current ip of the user. Optional. IPv4 format. Set this property before making a service request.
public string CurrentIP { get; set; }
The current ip.
Gets or sets the current location of the user. Optional. Set this property before making a service request.
public PointG CurrentLocation { get; set; }
The current location.
Gets or sets distance unit.
public DistanceUnit DistanceUnit { get; set; }
The distance unit.
Gets or sets user data. This data will be passed to the response which corresponds to this request. It can be used to identify request-response pair, for example. User data can be obtain from the response through the RequestUserData property.
public object UserData { get; set; }
The user data.