IOriginDestinationMatrixOptions

Interface

Inheritance: IOriginDestinationMatrixOptionsIEndpointOptions

Properties

PropertyTypeNotes
barriers
 optional 
IFeatureSet | IPoint | ILocation | [voidvoid][]
IFeatureSet | IPoint | ILocation | [voidvoid][]

Specify the ending point locations to travel to from the origins.

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 the starting points from which to travel to the destinations.

outputType
 optional 
"esriNAODOutputSparseMatrix" | "esriNAODOutputStraightLines" | "esriNAODOutputNoLines"

Specify the type of output returned by the service. Defaults to "esriNAODOutputSparseMatrix".

polygonBarriers
 optional 
polylineBarriers
 optional 
returnBarriers
 optional 
boolean
returnDestinations
 optional 
boolean
returnOrigins
 optional 
boolean
boolean
boolean

barriers optional

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

destinations

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

Specify the ending point locations to travel to from the origins.

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.

origins

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

Specify the starting points from which to travel to the destinations.

outputType optional

outputType: "esriNAODOutputSparseMatrix" | "esriNAODOutputStraightLines" | "esriNAODOutputNoLines"

Specify the type of output returned by the service. Defaults to "esriNAODOutputSparseMatrix".

polygonBarriers optional

polygonBarriers: IFeatureSet

polylineBarriers optional

polylineBarriers: IFeatureSet

returnBarriers optional

returnBarriers: boolean

returnDestinations optional

returnDestinations: boolean

returnOrigins optional

returnOrigins: boolean

returnPolygonBarriers optional

returnPolygonBarriers: boolean

returnPolylineBarriers optional

returnPolylineBarriers: boolean

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