Show / Hide Table of Contents

Class LocationDistanceMeasurement

An analysis object that evaluates direct, vertical, and horizontal distances between two points defined by start and end point locations.

Inheritance
Object
Analysis
LocationDistanceMeasurement
Implements
INotifyPropertyChanged
Analysis.IsVisible
Analysis.INotifyPropertyChanged.PropertyChanged
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
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

TargetVersions
.NET Standard 2.0100.3 - 200.0
.NET 6.0100.13 - 200.0
.NET 6.0 Windows100.13 - 200.0
.NET 6.0 Android200
.NET 6.0 iOS200
.NET Framework100.3 - 200.0
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Android100.3 - 100.15
iOS100.3 - 100.15
UWP100.3 - 200.0
In This Article
Back to top Copyright © 2022 Esri.