Skip to content

Commit fa54f20

Browse files
committed
Revert changes in RunValveIsolationTraceView.
1 parent 2031f77 commit fa54f20

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Shared/Samples/Run valve isolation trace/RunValveIsolationTraceView.Model.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ extension RunValveIsolationTraceView {
2424
let map = Map(basemapStyle: .arcGISStreetsNight)
2525

2626
/// The utility network for this sample.
27-
private let utilityNetwork: UtilityNetwork
27+
private let utilityNetwork = UtilityNetwork(url: .featureServiceURL)
2828

2929
/// The service geodatabase used to create the feature layer.
3030
private let serviceGeodatabase = ServiceGeodatabase(url: .featureServiceURL)
@@ -94,7 +94,6 @@ extension RunValveIsolationTraceView {
9494
}()
9595

9696
init() {
97-
utilityNetwork = UtilityNetwork(serviceGeodatabase: serviceGeodatabase)
9897
map.addUtilityNetwork(utilityNetwork)
9998
}
10099

0 commit comments

Comments
 (0)