ServiceAreaResult QML Type

A class that contains the output results generated by a ServiceAreaTask after solving. More...

Import Statement: import Esri.ArcGISRuntime 100.15
Since: Esri.ArcGISRuntime 100.1
Inherits:

Object

Properties

Methods

Detailed Description

Note: You cannot declare or create a component of this type in QML code.

A ServiceAreaResult object represents the results of the operation. The results contain the polygons or polylines representing the service areas. Also included are lists of facilities and barriers used while solving.

Property Documentation

facilities : list<ServiceAreaFacility>

Returns the list of the facilities used in the ServiceAreaTask (read-only).


messages : list<string>

Returns the list of messages about the ServiceAreaResult (read-only).


pointBarriers : list<PointBarrier>

Returns the list of the point barriers used in the ServiceAreaTask (read-only).

Barriers are only returned if ServiceAreaParameters.returnPointBarriers used in the ServiceAreaTask is true.


polygonBarriers : list<PolygonBarrier>

Returns the list of the polygon barriers used in the ServiceAreaTask (read-only).

Barriers are only returned if ServiceAreaParameters.returnPolygonBarriers used in the ServiceAreaTask is true.

See also PolygonBarrier and ServiceAreaParameters::returnPolygonBarriers.


polylineBarriers : list<PolylineBarrier>

Returns the list of the polyline barriers used in the ServiceAreaTask (read-only).

Barriers are only returned if ServiceAreaParameters.returnPolylineBarriers used in the ServiceAreaTask is true.

See also PolygonBarrier and ServiceAreaParameters::returnPolylineBarriers.


Method Documentation

list<ServiceAreaPolygon> resultPolygons(int facilityIndex)

Returns the list of polygons for specified facilityIndex (read-only).


list<ServiceAreaPolyline> resultPolylines(int facilityIndex)

Returns the list of polylines for specified facilityIndex (read-only).


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

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close