Packagecom.esri.ags.tasks.supportClasses
Classpublic class ClosestFacilitySolveResult
InheritanceClosestFacilitySolveResult Inheritance flash.events.EventDispatcher

Since : ArcGIS API for Flex 2.0

The result from a ClosestFacilityTask operation.

Note: ClosestFacilitySolveResult, and other closest facility related classes, requires ArcGIS Server 10.0 or above and a "closest facility" layer. A "closest facility" layer is a layer of type "esriNAServerClosestFacilityLayer".

See also

com.esri.ags.tasks.ClosestFacilityTask


Public Properties
 PropertyDefined By
  directions : Array
Array of direction.
ClosestFacilitySolveResult
  facilities : Array
Array of facility.
ClosestFacilitySolveResult
  incidents : Array
Array of incident.
ClosestFacilitySolveResult
  messages : Array
The solution messages (if returned in the server response) are an array of NAMessage instances.
ClosestFacilitySolveResult
  pointBarriers : Array
The point barriers are an array of graphics having point geometry.
ClosestFacilitySolveResult
  polygonBarriers : Array
The polygon barriers are an array of graphics having polygon geometry.
ClosestFacilitySolveResult
  polylineBarriers : Array
The polyline barriers are an array of graphics having polyline geometry.
ClosestFacilitySolveResult
  routes : Array
Array of route.
ClosestFacilitySolveResult
Property Detail
directionsproperty
directions:Array

Array of direction. A direction is an instance of DirectionsFeatureSet. Route directions are returned if returnDirections was set to true (the default is false).

This property can be used as the source for data binding.


Implementation
    public function get directions():Array
    public function set directions(value:Array):void

See also

facilitiesproperty 
facilities:Array

Array of facility. A facility is an instance of Graphic.

This property can be used as the source for data binding.


Implementation
    public function get facilities():Array
    public function set facilities(value:Array):void

See also

incidentsproperty 
incidents:Array

Array of incident. An incident is an instance of Graphic.

This property can be used as the source for data binding.


Implementation
    public function get incidents():Array
    public function set incidents(value:Array):void

See also

messagesproperty 
messages:Array

The solution messages (if returned in the server response) are an array of NAMessage instances.

This property can be used as the source for data binding.


Implementation
    public function get messages():Array
    public function set messages(value:Array):void

See also

pointBarriersproperty 
pointBarriers:Array

The point barriers are an array of graphics having point geometry. They are returned only if ClosestFacilityParameters.returnPointBarriers was set to true (which is not the default). If you send in the point barriers as a featureSet (instead of using DataLayer), you already have the barrers and might not need to request them back from the server.

This property can be used as the source for data binding.


Implementation
    public function get pointBarriers():Array
    public function set pointBarriers(value:Array):void

See also

polygonBarriersproperty 
polygonBarriers:Array

The polygon barriers are an array of graphics having polygon geometry. They are returned only if ClosestFacilityParameters.returnPolygonBarriers was set to true (which is not the default). If you send in the polygon barriers as a featureSet (instead of using DataLayer), you already have the barriers and might not need to request them back from the server.

This property can be used as the source for data binding.


Implementation
    public function get polygonBarriers():Array
    public function set polygonBarriers(value:Array):void

See also

polylineBarriersproperty 
polylineBarriers:Array

The polyline barriers are an array of graphics having polyline geometry. They are returned only if ClosestFacilityParameters.returnPolylineBarriers was set to true (which is not the default). If you send in the polyline barriers as a featureSet (instead of using DataLayer), you already have the barriers and might not need to request them back from the server.

This property can be used as the source for data binding.


Implementation
    public function get polylineBarriers():Array
    public function set polylineBarriers(value:Array):void

See also

routesproperty 
routes:Array

Array of route. A route is an instance of Graphic. Route graphics (polyline) are returned if returnRoutes is true (the default) and outputLines is not "esriNAOutputLineNone" (no line at all).

This property can be used as the source for data binding.


Implementation
    public function get routes():Array
    public function set routes(value:Array):void

See also