import { synthesizeAssociationGeometries } from "@arcgis/core/rest/networks/synthesizeAssociationGeometries.js";const { synthesizeAssociationGeometries } = await $arcgis.import("@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
| Name | Return Type | Object |
|---|---|---|
| |
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
| Parameter | Type | Description | Required |
|---|---|---|---|
| url | URL to the ArcGIS Server REST resource that represents a UttilityNetwork. | | |
| params | The parameters required by this functions include extent, what types of associations to return, spatial reference and more | | |
| requestOptions | Additional options to be used for the data request. | |
- Returns
- Promise<AssociationGeometriesResult>
When resolved, the association geomtries result.