LocationDistanceMeasurement constructor

LocationDistanceMeasurement({
  1. required ArcGISPoint startLocation,
  2. required ArcGISPoint endLocation,
})

Creates a LocationDistanceMeasurement analysis object that defines a start and an end location using ArcGISPoint objects.

The LocationDistanceMeasurement analysis result is a distance measurement between the start and end locations with direct, horizontal, and vertical components.

Parameters:

  • startLocation — A point that defines the start location of the measurement.
  • endLocation — A point that defines the end location of the measurement.