IServiceAreaOptions

Interface

Inheritance: IServiceAreaOptionsIEndpointOptions

Properties

PropertyTypeNotes
barriers
 optional 
IFeatureSet | IPoint | ILocation | [voidvoid][]
endpoint
 optional 
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][]

Specify one or more locations around which service areas are generated.

outputLines
 optional 
boolean
polygonBarriers
 optional 
polylineBarriers
 optional 
preserveObjectID
 optional 
boolean
returnBarriers
 optional 
boolean
returnFacilities
 optional 
boolean
boolean
boolean
travelDirection
 optional 
"incidentsToFacilities" | "facilitiesToIncidents"

Specify if the service should return routes.

barriers optional

barriers: IFeatureSet | IPoint | ILocation | [voidvoid][]

endpoint optional

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 | [voidvoid][]

Specify one or more locations around which service areas are generated.

outputLines optional

outputLines: boolean

polygonBarriers optional

polygonBarriers: IFeatureSet

polylineBarriers optional

polylineBarriers: IFeatureSet

preserveObjectID optional

preserveObjectID: boolean

returnBarriers optional

returnBarriers: boolean

returnFacilities optional

returnFacilities: boolean

returnPolygonBarriers optional

returnPolygonBarriers: boolean

returnPolylineBarriers optional

returnPolylineBarriers: boolean

travelDirection optional

travelDirection: "incidentsToFacilities" | "facilitiesToIncidents"

Specify if the service should return routes.

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