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