Class LocationDistanceMeasurement
An analysis object that evaluates direct, vertical, and horizontal distances between two points defined by start and end point locations.
Implements
Namespace: Esri.ArcGISRuntime.UI.GeoAnalysis
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class LocationDistanceMeasurement : Analysis, INotifyPropertyChanged
Remarks
LocationDistanceMeasurement measures the distance between a start and an end location (each using MapPoint geometry). Three distance components are calculated:
- Direct distance - the direct distance between the start and end location
- Horizontal distance - the horizontal component of the direct distance
- Vertical distance - the vertical component of the direct distance
Constructors
Name | Description |
---|---|
LocationDistanceMeasurement() | Initializes a new instance of the LocationDistanceMeasurement class that defines a start and an end location using Point objects. |
LocationDistanceMeasurement(MapPoint, MapPoint) | Initializes a new instance of the LocationDistanceMeasurement class that defines a start and an end location using MapPoint coordinates. |
Properties
Name | Description |
---|---|
DirectDistance | Gets the direct distance component of the LocationDistanceMeasurement. |
EndLocation | Gets or sets the end location of the LocationDistanceMeasurement. |
HorizontalDistance | Gets the horizontal distance component of the LocationDistanceMeasurement. |
StartLocation | Gets or sets the start location of the LocationDistanceMeasurement. |
UnitSystem | Gets or sets the start location of the LocationDistanceMeasurement. |
VerticalDistance | Gets the vertical distance component of the LocationDistanceMeasurement. |
Events
Name | Description |
---|---|
MeasurementChanged | Raised when the measurement has changed. |
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.3 - 200.5 |
Xamarin.Android | 100.3 - 100.15 |
Xamarin.iOS | 100.3 - 100.15 |
UWP | 100.3 - 200.5 |