/locate-between-test

A test of the new locateBetweenOperator function of the ArcGIS Maps SDK for JavaScript

Primary LanguageTypeScript

locate-between-test

Given a Route ID, direction, and begin and end SRMP values, calculates the segment of that route between the two mileposts.

How it works

  1. Query the mileposts map service layer to find the point features matching the input. This will give you the corresponding ARM values. The ARM values are the actual measures.
  2. Using the ARM values, query the LRS routes service layer to get the polyline geometry for that entire route.
  3. Use the locateBetweenOperator to find the route segment between the ARM values on the route geometry.