AMD:
require(["esri/geometry/operators/locateBetweenOperator"], (locateBetweenOperator) => { /* code goes here */ });
ESM:
import * as locateBetweenOperator from "@arcgis/core/geometry/operators/locateBetweenOperator.js";
Object:
esri/geometry/operators/locateBetweenOperator
Since: ArcGIS Maps SDK for JavaScript 4.31
beta
Performs an OGC locate between operation on M values for the given 2D geometries. Calculates the geometry between given M values. This can also be used for locate along operations, which is a variation of locate between when the start and end M values are equal. This is a linear referencing operation. Polygons and extents are not supported.
Method Overview
Name | Return Type | Summary | Object |
---|---|---|---|
Performs the locate between or locate along operation on the geometry. | locateBetweenOperator |
Method Details
-
Performs the locate between or locate along operation on the geometry. For locate along, the start and end M values are equal.
ParametersReturnsExample// Perform the locate between operation const geometries = locateBetweenOperator.executeMany([polyline1, polyline2], 100, 200);