UtilityNetwork

constructor(uri: String)

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)

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 com.arcgismaps.data.ArcGISFeatureTable objects in use by com.arcgismaps.mapping.layers.FeatureLayer objects within the map. This lets any UtilityElement or com.arcgismaps.data.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 com.arcgismaps.mapping.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.