UtilityNetwork

constructor(uri: String)

Creates an UtilityNetwork using the URI to the feature service.

Since

200.1.0


constructor(uri: String, map: ArcGISMap)

Creates a utility network with the URL to the feature service and a map. Creates a utility network associated with a particular service, using the same ArcGISFeatureTable objects in use by FeatureLayer objects within the map. This lets any UtilityElement or ArcGISFeature objects the UtilityNetwork creates or uses be associated with those existing tables and layers. Usually used when instantiating an UtilityNetwork object from a web map. This UtilityNetwork will be added to ArcGISMap.utilityNetworks.

Since

200.1.0