ServiceAreaResult QML Type

  • Esri.ArcGISRuntime
  • ServiceAreaResult
  • A class that describes the service area result. More...

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

    Object

    Properties

    Methods

    Detailed Description

    The result from ServiceAreaTask::solveServiceArea(ServiceAreaParameters) operation. A Service area result object represents the results of the operation.

    It can contains the following (if you enabled returning corresponding property on parameters):

    • A list of polygons and/or lines representing the service areas.
    • A list of graphics representing the facilities used in the analysis.
    • An array of barriers (point, polyline, polygon).

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

    Property Documentation

    [read-only] facilities : list<ServiceAreaFacility>

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


    [read-only] messages : list<string>

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

    Messages received when solve is completed. If a route cannot be solved, the message returned by the server identifies the route that could not be solved.


    [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.

    See also ServiceAreaParameters.


    [read-only] 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.


    [read-only] 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)

    Gets list of the result polygons.

    • facilityIndex - The index of facility.

    Result polygons are only returned if the returnPolygons property of ServiceAreaParameters is true.

    See also PolygonBarrier and ServiceAreaParameters.


    list<ServiceAreaPolyline> resultPolylines(int facilityIndex)

    Gets list of the result polylines.

    • facilityIndex - The index of facility.

    Result polylines are only returned if the returnPolylines property of ServiceAreaParameters is true.

    See also ServiceAreaParameters.


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