IClosestFacilityOptions
Interface
Properties
Property | Type | Notes |
---|---|---|
IFeatureSet | IPoint | ILocation | [void, void][] | ||
"esriNAUCentimeters" | "esriNAUDecimalDegrees" | "esriNAUDecimeters" | "esriNAUFeet" | "esriNAUInches" | "esriNAUKilometers" | "esriNAUMeters" | "esriNAUMiles" | "esriNAUMillimeters" | "esriNAUNauticalMiles" | "esriNAUPoints" | "esriNAUYards" | ||
"esriDOTComplete" | "esriDOTCompleteNoEvents" | "esriDOTInstructionsOnly" | "esriDOTStandard" | "esriDOTSummaryOnly" | "esriDOTFeatureSets" | ||
string | Any ArcGIS Routing service (example: https://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Network/USA/NAServer/Route/ ) to use for the routing service request. | |
IFeatureSet | IPoint | ILocation | [void, void][] | { url: string } | Specify one or more locations that are searched for when finding the closest location. | |
IFeatureSet | IPoint | ILocation | [void, void][] | { url: string } | Specify one or more locations from which the service searches for the nearby locations. These locations are referred to as incidents. | |
boolean | ||
boolean | ||
boolean | ||
boolean | Specify if the service should return routes. | |
boolean | ||
boolean | ||
boolean | ||
boolean | ||
boolean | ||
"incidentsToFacilities" | "facilitiesToIncidents" |
directionsLengthUnits
directionsLengthUnits: "esriNAUCentimeters" | "esriNAUDecimalDegrees" | "esriNAUDecimeters" | "esriNAUFeet" | "esriNAUInches" | "esriNAUKilometers" | "esriNAUMeters" | "esriNAUMiles" | "esriNAUMillimeters" | "esriNAUNauticalMiles" | "esriNAUPoints" | "esriNAUYards"
directionsOutputType
directionsOutputType: "esriDOTComplete" | "esriDOTCompleteNoEvents" | "esriDOTInstructionsOnly" | "esriDOTStandard" | "esriDOTSummaryOnly" | "esriDOTFeatureSets"
endpoint
endpoint: string
Any ArcGIS Routing service (example: https://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Network/USA/NAServer/Route/ ) to use for the routing service request.
facilities
facilities: IFeatureSet | IPoint | ILocation | [void, void][] | { url: string }
Specify one or more locations that are searched for when finding the closest location.
incidents
incidents: IFeatureSet | IPoint | ILocation | [void, void][] | { url: string }
Specify one or more locations from which the service searches for the nearby locations. These locations are referred to as incidents.
polygonBarriers
polygonBarriers: IFeatureSet
polylineBarriers
polylineBarriers: IFeatureSet
barriers: IFeatureSet | IPoint | ILocation | [void, void][]