Skip to content
GuidesToolkitAPI

UtilityNetworkProps

UtilityNetworkProps = object

Defined in: packages/expo-arcgis/src/ExpoArcgis.types.ts:2214

Props for <UtilityNetwork> — a utility network loaded from a feature service, a child of <Map>.

optional onLoad?: (name) => void

Defined in: packages/expo-arcgis/src/ExpoArcgis.types.ts:2218

Called once the network has loaded, with its name.

string

void


optional onLoadError?: (message) => void

Defined in: packages/expo-arcgis/src/ExpoArcgis.types.ts:2220

Called if the network fails to load.

string

void


serviceGeodatabaseUrl: string

Defined in: packages/expo-arcgis/src/ExpoArcgis.types.ts:2216

Feature-service URL of the utility network’s service geodatabase. May require setTokenCredential.