dojo.require("esri.tasks.NATravelDirection")
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
FROM_FACILITY | Travel direction from the facility |
TO_FACILITY | Travel direction to the facility |