Skip to content

Example application using the Telecom beta 1 API in Esri's Maps SDK for JavaScript. Requires version 4.33 of the Maps SDK for JavaScript.

Notifications You must be signed in to change notification settings

ben14136/maps-sdk-javascript-telecom-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ArcGIS Maps SDK for JavaScript - Telecom beta 1

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-error or // @ts-ignore comments. For example:
// @ts-expect-error
const circuitManager = await utilityNetwork.getCircuitManager(
  telecomDomainNetwork.domainNetworkName
);

How to use

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:

  1. Clone this repository.
  2. Update utilityNetworkLayerUrl in main.ts to be the URL of a utility network layer.
  3. Update circuitNamesToQuery in main.ts to use the names of circuits in a telecom domain network.
  4. While in this repository, run npm install.
  5. Run npm run dev to start a dev server.
  6. Navigate to the local dev server in a browser, e.g., at http://localhost:5173/.
  7. Inspect the browser console and network traffic to see output.

About

Example application using the Telecom beta 1 API in Esri's Maps SDK for JavaScript. Requires version 4.33 of the Maps SDK for JavaScript.

Topics

Resources

Stars

Watchers

Forks