UtilityNetwork

constructor(serviceGeodatabase: ServiceGeodatabase)

Creates a utility network from the specified service geodatabase that contains it. The ServiceGeodatabase provides the ability to switch to a branch version, manage edits, or query related records of tables participating in this UtilityNetwork.

Since

200.8.0

Parameters

serviceGeodatabase

constructor(uri: String)

Deprecated

since 200.8.0.

Replace with

UtilityNetwork(ServiceGeodatabase)

Creates an UtilityNetwork using the URI to the feature service.

Since

200.1.0

Parameters

uri

The URI to the feature service.


constructor(uri: String, map: ArcGISMap)

Deprecated

since 200.8.0.

Replace with

UtilityNetwork(ServiceGeodatabase)

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

Parameters

uri

The URI to the Feature Service.

map

A Map that provides FeatureTables to be reused by the utility network.