import { synthesizeAssociationGeometries } from "@arcgis/core/rest/networks/synthesizeAssociationGeometries.js";
Since
ArcGIS Maps SDK for JavaScript 4.20

The utility network associations model connectivity, containment, and structure relations between assets. Associations do not have a spatial presence, so this function synthesizes the associations by providing an extent, and returning all associations within the extent.

See also

Functions

synthesizeAssociationGeometries

Function

Given an extent, returns all associations within this extent and their synthesized geometries.

Signature
synthesizeAssociationGeometries (url: string, params: SynthesizeAssociationGeometriesParameters, requestOptions?: RequestOptions): Promise<AssociationGeometriesResult>

Parameters

ParameterTypeDescriptionRequired
url

URL to the ArcGIS Server REST resource that represents a utility network.

params

The parameters required by this function include the extent, the types of associations to return, the spatial reference, and more.

requestOptions

Additional options to be used for the data request.

Returns
Promise<AssociationGeometriesResult>

When resolved, returns the association geometries result.