This is a simple application that demonstrates how to use the telecom beta 1 API in the ArcGIS Maps SDK for JavaScript.
Using the telecom beta 1 API requires:
- Version 4.33 of the Maps SDK for JavaScript.
- Version 11.5 of ArcGIS Enterprise with Utility Network Version 8 through the Early Adopter Community.
- The utility network must include a telecom domain network.
Public typings and documentation were not published with the telecom beta 1 API. This means:
- Documentation for classes, methods, etc. for the telecom beta API are available on the Esri Early Adopter Community user forums under the "Telecom Domain Network" community.
- In a TypeScript project, IDEs like Visual Studio Code will give errors when using classes and methods from the telecom beta API, as typings don't yet exist for them. This is expected- the errors can be ignored with
// @ts-expect-erroror// @ts-ignorecomments. For example:
// @ts-expect-error
const circuitManager = await utilityNetwork.getCircuitManager(
telecomDomainNetwork.domainNetworkName
);This application uses the UtilityNetwork class to query a circuit in a telecom domain network and alter the circuit's name.
To run this sample application:
- Clone this repository.
- Update
utilityNetworkLayerUrlinmain.tsto be the URL of a utility network layer. - Update
circuitNamesToQueryinmain.tsto use the names of circuits in a telecom domain network. - While in this repository, run
npm install. - Run
npm run devto start a dev server. - Navigate to the local dev server in a browser, e.g., at
http://localhost:5173/. - Inspect the browser console and network traffic to see output.