Class LocationDegrees
Represents geographical location given in degree metric.
Inheritance
Namespace: Telerik.Windows.Controls.Map
Assembly: Telerik.Windows.Controls.DataVisualization.dll
Syntax
public sealed class LocationDegrees : ValueType
Constructors
LocationDegrees(Location)
Initializes a new instance of the LocationDegrees structure.
Declaration
public LocationDegrees(Location location)
Parameters
Location
location
Location (latitude-longitude) given in doubles. |
Properties
Latitude
Get or sets latitude.
Declaration
public DegreeMetric Latitude { get; set; }
Property Value
Longitude
Get or sets longitude.
Declaration
public DegreeMetric Longitude { get; set; }
Property Value
Methods
Equals(Object)
Compares two Location
Declaration
public override bool Equals(object obj)
Parameters
System. The instance of Location |
Returns
System. true if instances are equal; otherwise, false. |
Equals(LocationDegrees, LocationDegrees)
Compares two Location
Declaration
public static bool Equals(LocationDegrees metric1, LocationDegrees metric2)
Parameters
Location The instance of Location |
Location The instance of Location |
Returns
System. true if instances are equal; otherwise, false. |
GetHashCode()
Gets a hash code for this Location
Declaration
public override int GetHashCode()
Returns
System. A hash code for this Location |
ToString()
Creates a String representation of this LocationDegrees object.
Declaration
public override string ToString()
Returns
System. A String containing the Degrees-Minutes-Seconds values of this LocationDegrees object. |
ToString(IFormatProvider)
Creates a String representation of this LocationDegrees object.
Declaration
public string ToString(IFormatProvider provider)
Parameters
System. The culture-specific formatting information. |
Returns
System. A String containing the Degrees-Minutes-Seconds values of this LocationDegrees object. |
Operators
Equality(LocationDegrees, LocationDegrees)
Compares two Location
Declaration
public static bool operator ==(LocationDegrees metric1, LocationDegrees metric2)
Parameters
Location The instance of Location |
Location The instance of Location |
Returns
System. true if instances are equal; otherwise, false. |
Inequality(LocationDegrees, LocationDegrees)
Compares two Location
Declaration
public static bool operator !=(LocationDegrees metric1, LocationDegrees metric2)
Parameters
Location The instance of Location |
Location The instance of Location |
Returns
System. true if instances are equal; otherwise, false. |