UtilityNetworkTraceProps
UtilityNetworkTraceProps =
ViewProps&object
Defined in: packages/expo-arcgis-toolkit/src/UtilityNetworkTrace.tsx:8
Type Declaration
Section titled “Type Declaration”geoView?
Section titled “geoView?”
optionalgeoView?:RefObject<GeoViewHandle|null>
The view the trace is for: a <MapView> ref, whose web map has utility networks and named
trace configurations.
Default
Section titled “Default”the view the trace is placed ingraphicsOverlay
Section titled “graphicsOverlay”graphicsOverlay:
RefObject<GraphicsOverlayRef|null>
The overlay the trace draws its starting points and results into: a <GraphicsOverlay> ref,
declared in the map view. The Toolkit needs one, so without it the trace renders nothing.
mapPoint?
Section titled “mapPoint?”
optionalmapPoint?: {latitude:number;longitude:number; } |null
Where the user tapped the map. While the trace is adding starting points, it adds them there.
Pass the map point from the <MapView>’s onTap, as the Toolkit’s examples wire the map
view’s taps.