Hide Table of Contents
esri/dijit/util
esri/layer/pixelFilters
esri/process
esri/support
esri/workers
Object: NATravelDirection

require(["esri/tasks/NATypes"], function(NATypes) { /* code goes here */ });

Description

(Added at v2.0)
Constants representing directionality in network analysis. NATravelDirection has no constructor. Should be used in favor of network analysis parameters classes. For example:
require(["esri/tasks/ClosestFacilityParameters", "esri/tasks/NATypes"], function(ClosestFacilityParameters, NATypes){
  var closestFacilityParams = new ClosestFacilityParameters();
  closestFacilityParams.travelDirection = NATypes.TravelDirection.FROM_FACILITY;
});

Samples

Search for samples that use this class.

Constants

NameDescription
FROM_FACILITYTravel direction from the facility
TO_FACILITYTravel direction to the facility
Show Modal