Facility class final

A class that represents a facility.

Facilities represent locations that can serve as the starting point or ending point of a closest facility analysis, for example, a fire station or a hospital. The Facility class contains one of location inputs for the ClosestFacilityTask. The ClosestFacilityTask will create a route between facilities and incidents.

Implemented types

Constructors

Facility({required ArcGISPoint point})
Creates a facility instance with point.
factory

Properties

curbApproach CurbApproach
Curb approach.
getter/setter pair
currentBearing double
Current bearing in degrees.
getter/setter pair
currentBearingTolerance double
Current bearing tolerance in degrees. Valid values are 0 to 180 or NaN.
getter/setter pair
distanceToNetworkLocation double
Distance to network location in meters.
no setter
facilityId int
Facility ID.
getter/setter pair
geometry ArcGISPoint?
The geometry of a facility.
no setter
hashCode int
The hash code for this object.
no setterinherited
impedanceCutoff double
Impedance cutoff.
getter/setter pair
locationStatus LocationStatus
Location status.
no setter
name String
Facility's name.
getter/setter pair
Navigation latency in seconds.
getter/setter pair
Navigation speed in meters per second.
getter/setter pair
networkLocation NetworkLocation?
Network location.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

clone() Facility
Clones the Facility.
getAddedCost({required String attributeName}) double
Gets added cost.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setAddedCost({required String attributeName, required double addedCost}) → void
Sets added cost.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited