Hide Table of Contents
esri
esri/arcgis
esri/dijit
esri/dijit/analysis
esri/dijit/geoenrichment
esri/dijit/geoenrichment/ReportPlayer
esri/geometry
esri/layers
esri/renderers
esri/symbols
esri/tasks
esri/tasks/datareviewer
esri/tasks/geoenrichment
esri/tasks/locationproviders
require(["esri/tasks/NATypes"], function(NATypes) { /* code goes here */ });
require(["esri/tasks/ClosestFacilityParameters", "esri/tasks/NATypes"], function(ClosestFacilityParameters, NATypes){
var closestFacilityParams = new ClosestFacilityParameters();
closestFacilityParams.outputLines = NATypes.OutputLine.STRAIGHT;
});| Name | Description |
|---|---|
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. |