dojo.require("esri.tasks.NAOutputLine")
Description
(Added at v1.4)
Constants representing how the geometry is returned. 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.outputLines = NATypes.OutputLine.STRAIGHT;
});
Samples
Search for
samples that use this class.
Constants
NONE | Do not return geometries. |
STRAIGHT | Return polylines containing striaght lines between input locations. |
TRUE_SHAPE | Return polylines based on the underlying street geometries. |
TRUE_SHAPE_WITH_MEASURE | Return polylines based on the underlying street geometries with the M values set based on the accumulated impedance at each vertex. |