IClosestFacilityOptions

Interface

Inheritance: IClosestFacilityOptionsIEndpointOptions

Properties

Hide inherited properties
PropertyTypeNotes
IFeatureSet | IPoint | ILocation | [voidvoid][]
"esriNAUCentimeters" | "esriNAUDecimalDegrees" | "esriNAUDecimeters" | "esriNAUFeet" | "esriNAUInches" | "esriNAUKilometers" | "esriNAUMeters" | "esriNAUMiles" | "esriNAUMillimeters" | "esriNAUNauticalMiles" | "esriNAUPoints" | "esriNAUYards"
"esriDOTComplete" | "esriDOTCompleteNoEvents" | "esriDOTInstructionsOnly" | "esriDOTStandard" | "esriDOTSummaryOnly" | "esriDOTFeatureSets"
endpoint
 inherited 
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 | [voidvoid][] | { url: string }

Specify one or more locations that are searched for when finding the closest location.

IFeatureSet | IPoint | ILocation | [voidvoid][] | { 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"

barriers

optional
Interface Property
barriers: IFeatureSet | IPoint | ILocation | [voidvoid][]

directionsLengthUnits

optional
Interface Property
directionsLengthUnits: "esriNAUCentimeters" | "esriNAUDecimalDegrees" | "esriNAUDecimeters" | "esriNAUFeet" | "esriNAUInches" | "esriNAUKilometers" | "esriNAUMeters" | "esriNAUMiles" | "esriNAUMillimeters" | "esriNAUNauticalMiles" | "esriNAUPoints" | "esriNAUYards"

directionsOutputType

optional
Interface Property
directionsOutputType: "esriDOTComplete" | "esriDOTCompleteNoEvents" | "esriDOTInstructionsOnly" | "esriDOTStandard" | "esriDOTSummaryOnly" | "esriDOTFeatureSets"

endpoint

optionalinherited
Interface Property
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

Interface Property
facilities: IFeatureSet | IPoint | ILocation | [voidvoid][] | { url: string }

Specify one or more locations that are searched for when finding the closest location.

incidents

Interface Property
incidents: IFeatureSet | IPoint | ILocation | [voidvoid][] | { url: string }

Specify one or more locations from which the service searches for the nearby locations. These locations are referred to as incidents.

outputLines

optional
Interface Property
outputLines: boolean

polygonBarriers

optional
Interface Property
polygonBarriers: IFeatureSet

polylineBarriers

optional
Interface Property
polylineBarriers: IFeatureSet

preserveObjectID

optional
Interface Property
preserveObjectID: boolean

returnBarriers

optional
Interface Property
returnBarriers: boolean

returnCFRoutes

Interface Property
returnCFRoutes: boolean

Specify if the service should return routes.

returnDirections

optional
Interface Property
returnDirections: boolean

returnFacilities

optional
Interface Property
returnFacilities: boolean

returnIncidents

optional
Interface Property
returnIncidents: boolean

returnPolygonBarriers

optional
Interface Property
returnPolygonBarriers: boolean

returnPolylineBarriers

optional
Interface Property
returnPolylineBarriers: boolean

travelDirection

optional
Interface Property
travelDirection: "incidentsToFacilities" | "facilitiesToIncidents"

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.