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

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

Description

(Added at v2.0)
Constants representing how the geometry is returned. NAOutputPolygon has no constructor. Should be used in favor of network analysis parameters classes. For example:
require(["esri/tasks/ServiceAreaParameters", "esri/tasks/NATypes"], function(ServiceAreaParameters, NATypes){
  var serviceAreaParams = new ServiceAreaParameters();
  serviceAreaParams.outputPolygons = NATypes.OutputPolygon.DETAILED;
});

Samples

Search for samples that use this class.

Constants

NameDescription
DETAILEDDetailed output polygons
NONENo output polygons
SIMPLIFIEDSimplified output polygons.