| Package | com.esri.ags.tasks.supportClasses |
| Class | public class ClosestFacilitySolveResult |
| Inheritance | ClosestFacilitySolveResult flash.events.EventDispatcher |
| Since : | ArcGIS API for Flex 2.0 |
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
| Property | Defined 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 | ||
| directions | property |
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.
public function get directions():Array public function set directions(value:Array):voidSee also
| facilities | property |
facilities:Array
Array of facility. A facility is an instance of Graphic.
This property can be used as the source for data binding.
public function get facilities():Array public function set facilities(value:Array):voidSee also
| incidents | property |
incidents:Array
Array of incident. An incident is an instance of Graphic.
This property can be used as the source for data binding.
public function get incidents():Array public function set incidents(value:Array):voidSee also
| messages | property |
messages:ArrayThe 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.
public function get messages():Array public function set messages(value:Array):voidSee also
| pointBarriers | property |
pointBarriers:ArrayThe 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.
public function get pointBarriers():Array public function set pointBarriers(value:Array):voidSee also
| polygonBarriers | property |
polygonBarriers:ArrayThe 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.
public function get polygonBarriers():Array public function set polygonBarriers(value:Array):voidSee also
| polylineBarriers | property |
polylineBarriers:ArrayThe 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.
public function get polylineBarriers():Array public function set polylineBarriers(value:Array):voidSee also
| routes | property |
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.
public function get routes():Array public function set routes(value:Array):voidSee also