Hide Table of Contents
esri/dijit/util
esri/layer/pixelFilters
esri/process
esri/workers
Class: NAOutputLine

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

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

NameDescription
NONEDo not return geometries.
STRAIGHTReturn polylines containing striaght lines between input locations.
TRUE_SHAPEReturn polylines based on the underlying street geometries.
TRUE_SHAPE_WITH_MEASUREReturn polylines based on the underlying street geometries with the M values set based on the accumulated impedance at each vertex.