Version 8.23.0

@esri/hub-annotations

Module to interact with ArcGIS Hub Annotations in Node.js and modern browsers.

npm install:

npm install @esri/hub-annotations @esri/arcgis-rest-auth@^2.13.0 || 3  @esri/arcgis-rest-feature-layer@^2.13.0 || 3  @esri/arcgis-rest-portal@^2.13.0 || 3  @esri/arcgis-rest-request@^2.13.0 || 3  @esri/arcgis-rest-service-admin@^2.13.0 || 3  @esri/arcgis-rest-types@^2.13.0 || 3 

Module Import:

import {
  addAnnotations,
  checkResults,
  createAnnotationService,
  deleteAnnotations,
  getAnnotationServiceUrl,
  searchAllAnnotationVotes,
  searchAnnotations,
  searchSingleAnnotationVotes,
  updateAnnotations,
  voteOnAnnotation,
  AllResultsError,
} from "@esri/hub-annotations";

CDN:

<script src="https://unpkg.com/@esri/hub-annotations@8.23.0/dist/umd/annotations.umd.min.js"></script>

CDN with SRI: