@arcgis/map-components 5.2.0-next.167 → 5.2.0-next.169

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (112) hide show
  1. package/dist/cdn/263OOI6Z.js +2 -0
  2. package/dist/cdn/{OP3MZHXU.js → 3YACO47M.js} +1 -1
  3. package/dist/cdn/42V6ISWG.js +2 -0
  4. package/dist/cdn/5VOAPFZ5.js +2 -0
  5. package/dist/cdn/6S5TVS52.js +2 -0
  6. package/dist/cdn/6ZMVEWJQ.js +2 -0
  7. package/dist/cdn/{OQPX2UPC.js → AFY6JQ77.js} +1 -1
  8. package/dist/cdn/{VHM26W3Y.js → AW5FFER6.js} +1 -1
  9. package/dist/cdn/{OEL57WQN.js → CGKFSTIT.js} +1 -1
  10. package/dist/cdn/GBTMUEG6.js +2 -0
  11. package/dist/cdn/K3SCI35Q.js +2 -0
  12. package/dist/cdn/{NY6QZ4MA.js → ODY56P7R.js} +1 -1
  13. package/dist/cdn/OIKOOFSR.js +2 -0
  14. package/dist/cdn/OOCIGOT6.js +2 -0
  15. package/dist/cdn/PJ2XGEYO.js +2 -0
  16. package/dist/cdn/{MZ47CPKO.js → RDBCKSUZ.js} +1 -1
  17. package/dist/cdn/{7XO4NAD5.js → WC5ZQ5SQ.js} +1 -1
  18. package/dist/cdn/index.js +1 -1
  19. package/dist/chunks/screenLocation.js +10 -10
  20. package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +2 -1
  21. package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +7 -7
  22. package/dist/components/arcgis-basemap-layer-list-next/customElement.d.ts +4 -4
  23. package/dist/components/arcgis-bookmarks/customElement.d.ts +1 -0
  24. package/dist/components/arcgis-bookmarks/types.d.ts +2 -2
  25. package/dist/components/arcgis-building-explorer/customElement.d.ts +5 -5
  26. package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +4 -4
  27. package/dist/components/arcgis-catalog-layer-list-next/customElement.d.ts +2 -2
  28. package/dist/components/arcgis-daylight/customElement.d.ts +4 -4
  29. package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +4 -4
  30. package/dist/components/arcgis-directional-pad/customElement.js +53 -58
  31. package/dist/components/arcgis-directions/customElement.d.ts +4 -4
  32. package/dist/components/arcgis-editor/customElement.d.ts +19 -2
  33. package/dist/components/arcgis-expand/customElement.d.ts +2 -1
  34. package/dist/components/arcgis-feature-form/customElement.d.ts +7 -7
  35. package/dist/components/arcgis-feature-table/customElement.d.ts +25 -25
  36. package/dist/components/arcgis-features/customElement.d.ts +5 -5
  37. package/dist/components/arcgis-features-next/customElement.d.ts +4 -4
  38. package/dist/components/arcgis-features-next/customElement.js +27 -26
  39. package/dist/components/arcgis-grid-controls/customElement.d.ts +1 -1
  40. package/dist/components/arcgis-layer-list/customElement.d.ts +2 -2
  41. package/dist/components/arcgis-layer-list-next/customElement.d.ts +6 -6
  42. package/dist/components/arcgis-legend/customElement.d.ts +1 -1
  43. package/dist/components/arcgis-line-of-sight/customElement.d.ts +2 -2
  44. package/dist/components/arcgis-link-chart/customElement.d.ts +6 -6
  45. package/dist/components/arcgis-map/customElement.d.ts +13 -17
  46. package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +0 -1
  47. package/dist/components/arcgis-oriented-imagery-viewer-non-panoramic-viewer/customElement.js +6 -5
  48. package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer/customElement.js +19 -18
  49. package/dist/components/arcgis-popup/customElement.d.ts +8 -7
  50. package/dist/components/arcgis-presentation/customElement.d.ts +5 -5
  51. package/dist/components/arcgis-presentation/customElement.js +74 -75
  52. package/dist/components/arcgis-presentation-captions/customElement.js +1 -1
  53. package/dist/components/arcgis-print/customElement.d.ts +1 -1
  54. package/dist/components/arcgis-scale-range-slider/customElement.d.ts +4 -4
  55. package/dist/components/arcgis-scene/customElement.d.ts +34 -13
  56. package/dist/components/arcgis-search/customElement.d.ts +4 -4
  57. package/dist/components/arcgis-selection-list/customElement.d.ts +2 -2
  58. package/dist/components/arcgis-selection-toolbar/customElement.d.ts +6 -6
  59. package/dist/components/arcgis-sketch/SketchComponentViewModel.d.ts +1 -1
  60. package/dist/components/arcgis-sketch/customElement.d.ts +20 -2
  61. package/dist/components/arcgis-sketch/customElement.js +18 -11
  62. package/dist/components/arcgis-slice/customElement.d.ts +2 -2
  63. package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.d.ts +4 -3
  64. package/dist/components/arcgis-slider-classed-color-legacy/customElement.d.ts +2 -2
  65. package/dist/components/arcgis-slider-classed-size-legacy/customElement.d.ts +3 -3
  66. package/dist/components/arcgis-slider-color-legacy/customElement.d.ts +3 -3
  67. package/dist/components/arcgis-slider-color-size-legacy/customElement.d.ts +5 -4
  68. package/dist/components/arcgis-slider-heatmap-legacy/customElement.d.ts +2 -2
  69. package/dist/components/arcgis-slider-opacity-legacy/customElement.d.ts +2 -2
  70. package/dist/components/arcgis-slider-scale-range/customElement.d.ts +4 -4
  71. package/dist/components/arcgis-slider-size-legacy/customElement.d.ts +3 -3
  72. package/dist/components/arcgis-table-list-next/customElement.js +5 -5
  73. package/dist/components/arcgis-time-bar-slider/customElement.d.ts +11 -14
  74. package/dist/components/arcgis-time-slider/customElement.d.ts +6 -5
  75. package/dist/components/arcgis-track/customElement.d.ts +4 -4
  76. package/dist/components/arcgis-utility-network-associations/customElement.d.ts +1 -1
  77. package/dist/components/arcgis-utility-network-picker/customElement.d.ts +170 -6
  78. package/dist/components/arcgis-utility-network-picker/customElement.js +1 -1
  79. package/dist/components/arcgis-utility-network-trace-aggregated-geometry-result-item/customElement.d.ts +5 -4
  80. package/dist/components/arcgis-utility-network-trace-aggregated-geometry-result-item/customElement.js +19 -15
  81. package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +1 -7
  82. package/dist/components/arcgis-utility-network-trace-analysis/types.d.ts +272 -9
  83. package/dist/components/arcgis-utility-network-trace-configuration-picker/customElement.d.ts +1 -1
  84. package/dist/components/arcgis-utility-network-trace-configuration-picker/customElement.js +25 -33
  85. package/dist/components/arcgis-utility-network-trace-elements-result-item/customElement.d.ts +5 -4
  86. package/dist/components/arcgis-utility-network-trace-elements-result-item/customElement.js +50 -46
  87. package/dist/components/arcgis-utility-network-trace-functions-result-item/customElement.d.ts +1 -1
  88. package/dist/components/arcgis-utility-network-trace-functions-result-item/customElement.js +9 -8
  89. package/dist/components/arcgis-utility-network-trace-locations/customElement.d.ts +1 -1
  90. package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +2 -4
  91. package/dist/components/arcgis-utility-network-trace-results/customElement.js +12 -12
  92. package/dist/components/arcgis-utility-network-trace-results-pane/customElement.d.ts +0 -2
  93. package/dist/components/arcgis-value-picker-legacy/customElement.d.ts +14 -16
  94. package/dist/components/arcgis-video/customElement.d.ts +1 -1
  95. package/dist/components/arcgis-volume-measurement/customElement.d.ts +2 -2
  96. package/dist/components/arcgis-weather/customElement.d.ts +1 -1
  97. package/dist/components/slider-legacy/types.d.ts +2 -3
  98. package/dist/docs/api.json +1 -1
  99. package/dist/docs/docs.json +1 -1
  100. package/dist/docs/vscode.html-custom-data.json +1 -1
  101. package/dist/docs/web-types.json +1 -1
  102. package/package.json +6 -6
  103. package/dist/cdn/2IAD3DI5.js +0 -2
  104. package/dist/cdn/67UW6MJM.js +0 -2
  105. package/dist/cdn/73NABILZ.js +0 -2
  106. package/dist/cdn/BJ55UYFS.js +0 -2
  107. package/dist/cdn/BPTZ6LBO.js +0 -2
  108. package/dist/cdn/C6T7AQOJ.js +0 -2
  109. package/dist/cdn/CL5JQN4B.js +0 -2
  110. package/dist/cdn/F3JX74XA.js +0 -2
  111. package/dist/cdn/FGQJD346.js +0 -2
  112. package/dist/cdn/OBFJ4JUW.js +0 -2
@@ -324,14 +324,12 @@ export abstract class ArcgisMap extends LitElement {
324
324
  * @example
325
325
  * ```js
326
326
  * // Updates the view's center point to a pre-determined Point object
327
+ * const viewElement = document.querySelector("arcgis-map");
327
328
  * let centerPoint = new Point({
328
329
  * x: 12804.24,
329
330
  * y: -1894032.09,
330
- * spatialReference: {
331
- * wkid: viewElement.spatialReference // wkid 2027
332
- * }
331
+ * spatialReference: viewElement.spatialReference
333
332
  * });
334
- * const viewElement = document.querySelector("arcgis-map");
335
333
  * viewElement.center = centerPoint;
336
334
  * ```
337
335
  * @example
@@ -637,7 +635,7 @@ export abstract class ArcgisMap extends LitElement {
637
635
  * };
638
636
  *
639
637
  * // Add the options to the highlights collection at the first position
640
- * viewElement.highlights.add(selectionGroup, 0);
638
+ * viewElement.highlights.add(selectionHighlightOptions, 0);
641
639
  * ```
642
640
  */
643
641
  accessor highlights: Collection<HighlightOptions>;
@@ -977,8 +975,8 @@ export abstract class ArcgisMap extends LitElement {
977
975
  * viewElement.map.add(csvLayer);
978
976
  *
979
977
  * viewElement.timeExtent = {
980
- * start: new Date("2019, 2, 24"),
981
- * end: new Date("2019, 2, 31")
978
+ * start: new Date(2019, 2, 24),
979
+ * end: new Date(2019, 2, 31)
982
980
  * };
983
981
  * ```
984
982
  */
@@ -1301,19 +1299,17 @@ export abstract class ArcgisMap extends LitElement {
1301
1299
  * @example
1302
1300
  * ```js
1303
1301
  * // Listen for clicks on the view and perform a hit test on a feature layer
1304
- * viewElement.addEventListener("arcgisViewClick", (event) => {
1302
+ * viewElement.addEventListener("arcgisViewClick", async (event) => {
1305
1303
  * // Return hit test results from the feature layer
1306
1304
  * // where it intersects the screen coordinates from the click event.
1307
1305
  * // The result is a polygon representing the state that was clicked.
1308
- * viewElement.hitTest(event.detail).then((response) => {
1309
- * if (response.results.length) {
1310
- * const stateBoundaryPolygon = response.results.find((result) => {
1311
- * return result.graphic.layer === stateBoundaryFeatureLayer;
1312
- * }).graphic.geometry;
1313
- *
1314
- * getPolygonCentroid(stateBoundaryPolygon);
1315
- * }
1316
- * });
1306
+ * const response = await viewElement.hitTest(event.detail);
1307
+ * const result = response.results.find((result) => {
1308
+ * return result.type === "graphic" && result.graphic.layer === stateBoundaryFeatureLayer;
1309
+ * });
1310
+ * if (result) {
1311
+ * getPolygonCentroid(result.graphic.geometry);
1312
+ * }
1317
1313
  * });
1318
1314
  * ```
1319
1315
  */
@@ -405,7 +405,6 @@ export abstract class ArcgisOrientedImageryViewer extends LitElement {
405
405
  */
406
406
  loadBestImage(mapPoint: Point, options?: AbortOptions): Promise<void>;
407
407
  /**
408
- * /**
409
408
  * Resets the viewer to its initial state.
410
409
  * This method clears the currently displayed image or video from the viewer and removes all associated graphics from the map.
411
410
  *
@@ -14,7 +14,7 @@ import H from "@arcgis/core/layers/support/TileInfo.js";
14
14
  import { u as L } from "../../chunks/useT9n.js";
15
15
  import { G as z } from "../../chunks/graphicsLayerController.js";
16
16
  import { createRef as I, ref as T } from "lit/directives/ref.js";
17
- const O = x`:host{height:100%;--arcgis-view-color-focus: none}`, R = {
17
+ const G = x`:host{height:100%;--arcgis-view-color-focus: none}`, R = {
18
18
  xmin: -150,
19
19
  ymin: 1,
20
20
  xmax: 20,
@@ -23,7 +23,7 @@ const O = x`:host{height:100%;--arcgis-view-color-focus: none}`, R = {
23
23
  wkid: 4326
24
24
  }
25
25
  }, g = 1e-6;
26
- function G(i, e) {
26
+ function O(i, e) {
27
27
  if (!e)
28
28
  return null;
29
29
  const t = i.width / 2, a = i.height / 2, r = e.xmin + t, s = e.xmax - t, o = e.ymin + a, c = e.ymax - a;
@@ -142,7 +142,8 @@ let n = class extends V {
142
142
  ioConfig: {
143
143
  skipExtensions: ["aux.xml", "jgw"],
144
144
  skipMapInfo: !0,
145
- datasetFormat: a
145
+ datasetFormat: a,
146
+ tileGeneration: "immediate"
146
147
  },
147
148
  customParameters: t ?? void 0
148
149
  });
@@ -218,7 +219,7 @@ class j extends P {
218
219
  this.properties = { _imageChanged: 16, _internalMap: 16, _layer: 16, _videoTargetExtent: 16, _videoRef: 16, _loading: 16, _media: 16, hideHeader: 5, hideLoader: 5, hideZoomControls: 5, hideVideoControls: 5, messageOverrides: 0, media: 0, rotation: 9 };
219
220
  }
220
221
  static {
221
- this.styles = [O];
222
+ this.styles = [G];
222
223
  }
223
224
  #t;
224
225
  #i;
@@ -380,7 +381,7 @@ class j extends P {
380
381
  const { minScale: a } = e.constraints;
381
382
  if (!a)
382
383
  return;
383
- const r = e.scale < a - g, s = G(t, this._videoTargetExtent);
384
+ const r = e.scale < a - g, s = O(t, this._videoTargetExtent);
384
385
  if (r && !!s) {
385
386
  this._enablePan(), e.constraints.geometry = s;
386
387
  return;
@@ -60,8 +60,8 @@ function Ve(r) {
60
60
  }
61
61
  function O({
62
62
  data: r,
63
- center: e = Ee(),
64
- size: t = Ge,
63
+ center: e = Ge(),
64
+ size: t = Ee,
65
65
  horizonPitch: o = 0,
66
66
  horizonYaw: i = 0,
67
67
  horizonRoll: a = 0
@@ -90,12 +90,12 @@ function O({
90
90
  origin: n.extent.center
91
91
  }), n.centerAt(s), n;
92
92
  }
93
- const Ee = () => new W({
93
+ const Ge = () => new W({
94
94
  x: 0,
95
95
  y: 0,
96
96
  z: 0,
97
97
  spatialReference: H.WebMercator
98
- }), Ge = 1e3, ke = 114;
98
+ }), Ee = 1e3, ke = 114;
99
99
  function De(r, e, t) {
100
100
  const o = /* @__PURE__ */ new Map(), i = Array.from(r.keys()).sort((h, p) => h - p)[0], {
101
101
  maxCol: a,
@@ -224,9 +224,9 @@ class Ze {
224
224
  throw new Error(`No block boundaries found for mesh resolution level ${this._meshResolutionLevel}`);
225
225
  const { maxCol: o, minCol: i, maxRow: a, minRow: s } = this._blockBoundaryMap.get(this._meshResolutionLevel), n = a - s + 1, l = o - i + 1, d = We(n, l, t), m = new Float64Array(d * 3), c = new Float32Array(d * 3), h = new Float32Array(d * 2), p = l * (t - 1) + 1, u = l * (t - 1);
226
226
  for (let f = 0; f < d; f += 1) {
227
- const T = Math.floor(f / p), F = f % p, I = 1 - F / (l * (t - 1)), S = T / (n * (t - 1)), N = 180 * (1 - S), E = 360 * (I - 0.5), P = [
228
- Math.sin(N * Math.PI / 180) * Math.sin(E * Math.PI / 180),
229
- Math.cos(E * Math.PI / 180) * Math.sin(N * Math.PI / 180),
227
+ const T = Math.floor(f / p), F = f % p, I = 1 - F / (l * (t - 1)), S = T / (n * (t - 1)), N = 180 * (1 - S), G = 360 * (I - 0.5), P = [
228
+ Math.sin(N * Math.PI / 180) * Math.sin(G * Math.PI / 180),
229
+ Math.cos(G * Math.PI / 180) * Math.sin(N * Math.PI / 180),
230
230
  -Math.cos(N * Math.PI / 180)
231
231
  ];
232
232
  m[f * 3] = e * P[0], m[f * 3 + 1] = e * P[1], m[f * 3 + 2] = e * P[2], c[f * 3] = -P[0], c[f * 3 + 1] = -P[1], c[f * 3 + 2] = -P[2];
@@ -273,7 +273,7 @@ class Ze {
273
273
  const V = $ * 3;
274
274
  u += e[V], _ += e[V + 1], g += e[V + 2], p.set($, m), m += 1;
275
275
  }
276
- const T = v - w, F = f - y, I = Math.hypot(u, _, g), S = this.radius * 1.01, [N, E] = this.layer.tileInfo?.size ?? [256, 256], P = 0.5 / N, L = 0.5 / E;
276
+ const T = v - w, F = f - y, I = Math.hypot(u, _, g), S = this.radius * 1.01, [N, G] = this.layer.tileInfo?.size ?? [256, 256], P = 0.5 / N, L = 0.5 / G;
277
277
  this._tileAnchorMap.set(
278
278
  c,
279
279
  I > 0 ? [
@@ -285,7 +285,7 @@ class Ze {
285
285
  for (const [R, $] of p) {
286
286
  const B = R * 3, M = $ * 3;
287
287
  a[M] = e[B], a[M + 1] = e[B + 1], a[M + 2] = e[B + 2], s[M] = t[B], s[M + 1] = t[B + 1], s[M + 2] = t[B + 2];
288
- const A = R * 2, V = $ * 2, G = o[A], te = o[A + 1], ie = T < d ? 0.5 : (G - w) / T, oe = F < d ? 0.5 : (te - y) / F;
288
+ const A = R * 2, V = $ * 2, E = o[A], te = o[A + 1], ie = T < d ? 0.5 : (E - w) / T, oe = F < d ? 0.5 : (te - y) / F;
289
289
  n[V] = P + ie * (1 - 2 * P), n[V + 1] = L + oe * (1 - 2 * L);
290
290
  }
291
291
  const D = new Uint32Array(h.length);
@@ -395,17 +395,17 @@ class je {
395
395
  const { minRow: n, maxRow: l, minCol: d, maxCol: m } = s, c = l - n + 1, h = m - d + 1, u = Math.max(0.1, Math.min(179.9, o)) - 90, _ = Math.max(0.01, Math.min(360, i)), g = Math.max(0.01, Math.min(180, a)), w = 360 / h, v = 180 / c, y = Math.min(12, w * 0.35), f = Math.min(8, v * 0.35), T = Math.min(360, _ + y * 2), F = Math.min(180, g + f * 2), I = Math.max(-89.9, Math.min(89.9, u - F / 2)), S = Math.max(-89.9, Math.min(89.9, u + F / 2)), N = (M) => {
396
396
  const A = (90 - M) / 180, V = Math.floor(A * c);
397
397
  return n + Math.max(0, Math.min(c - 1, V));
398
- }, E = (M) => {
399
- const A = this._normalizeHeading(M) / 360, G = (Math.floor(A * h) % h + h) % h;
400
- return d + G;
401
- }, P = this._normalizeHeading(t - T / 2), L = this._normalizeHeading(t + T / 2), D = Math.min(N(S), N(I)), R = Math.max(N(S), N(I)), $ = T >= 360 ? [[d, m]] : P <= L ? [[E(P), E(L)]] : [
402
- [d, E(L)],
403
- [E(P), m]
398
+ }, G = (M) => {
399
+ const A = this._normalizeHeading(M) / 360, E = (Math.floor(A * h) % h + h) % h;
400
+ return d + E;
401
+ }, P = this._normalizeHeading(t - T / 2), L = this._normalizeHeading(t + T / 2), D = Math.min(N(S), N(I)), R = Math.max(N(S), N(I)), $ = T >= 360 ? [[d, m]] : P <= L ? [[G(P), G(L)]] : [
402
+ [d, G(L)],
403
+ [G(P), m]
404
404
  ], B = /* @__PURE__ */ new Set();
405
405
  for (let M = D; M <= R; M += 1)
406
406
  for (const [A, V] of $)
407
- for (let G = A; G <= V; G += 1)
408
- B.add(`${e}/${M}/${G}`);
407
+ for (let E = A; E <= V; E += 1)
408
+ B.add(`${e}/${M}/${E}`);
409
409
  return [...B];
410
410
  }
411
411
  _normalizeHeading(e) {
@@ -629,7 +629,8 @@ let b = class extends fe {
629
629
  // @ts-ignore - datasetFormat is not part of the official ImageryTileLayer properties, but is used in the custom ioConfig for loading the image and is necessary to pass along the format information.
630
630
  datasetFormat: this.extension,
631
631
  skipMapInfo: !0,
632
- skipExtensions: ["aux.xml", "jgw"]
632
+ skipExtensions: ["aux.xml", "jgw"],
633
+ tileGeneration: "immediate"
633
634
  });
634
635
  this._panoramicTileSource = new qe(e);
635
636
  const { imageSize: t, baseMesh: o } = await this._panoramicTileSource.load();
@@ -25,7 +25,7 @@ import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.j
25
25
  * The content of the popup is determined based on the [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) assigned to the selected feature.
26
26
  *
27
27
  * ```html
28
- * <arcgis-map id="06ca49d0ddb447e7817cfc343ca30df9">
28
+ * <arcgis-map item-id="06ca49d0ddb447e7817cfc343ca30df9">
29
29
  * <arcgis-popup slot="popup"></arcgis-popup>
30
30
  * </arcgis-map>
31
31
  * ```
@@ -37,8 +37,8 @@ import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.j
37
37
  * Example of opening the popup at a clicked location with custom content:
38
38
  *
39
39
  * ```html
40
- * <!-- Set popup-disabled and popup-component-enabled attributes -->
41
- * <arcgis-map id="06ca49d0ddb447e7817cfc343ca30df9" popup-disabled>
40
+ * <!-- Set the popup-disabled attribute -->
41
+ * <arcgis-map item-id="06ca49d0ddb447e7817cfc343ca30df9" popup-disabled>
42
42
  * <!-- Add the popup component to the popup slot. -->
43
43
  * <arcgis-popup slot="popup"></arcgis-popup>
44
44
  * </arcgis-map>
@@ -58,8 +58,8 @@ import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.j
58
58
  *
59
59
  * Alternatively, you can call the [arcgis-map.fetchPopupFeatures()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#fetchPopupFeatures) method within the view element's click event listener to open the popup with features at the clicked location.
60
60
  * ```html
61
- * <!-- Set popup-disabled and popup-component-enabled attributes -->
62
- * <arcgis-map id="06ca49d0ddb447e7817cfc343ca30df9" popup-disabled>
61
+ * <!-- Set the popup-disabled attribute -->
62
+ * <arcgis-map item-id="06ca49d0ddb447e7817cfc343ca30df9" popup-disabled>
63
63
  * <!-- Add the popup component to the popup slot. -->
64
64
  * <arcgis-popup slot="popup"></arcgis-popup>
65
65
  * </arcgis-map>
@@ -73,6 +73,7 @@ import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.j
73
73
  * });
74
74
  *
75
75
  * const features = await Array.fromAsync(generator);
76
+ * popupComponent.location = event.detail.mapPoint;
76
77
  * popupComponent.features = features;
77
78
  * });
78
79
  * // Open the popup when the features property changes.
@@ -87,7 +88,7 @@ import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.j
87
88
  * The popup component can be used with the view components by default. Set the `popup-component-enabled` attribute to `true` using [arcgis-map.popupComponentEnabled](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#popupComponentEnabled), [arcgis-scene.popupComponentEnabled](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#popupComponentEnabled), or [arcgis-link-chart.popupComponentEnabled](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-link-chart/#popupComponentEnabled) to open the popup component automatically when clicking on features.
88
89
  *
89
90
  * ```html
90
- * <arcgis-map id="06ca49d0ddb447e7817cfc343ca30df9" popup-component-enabled></arcgis-map>
91
+ * <arcgis-map item-id="06ca49d0ddb447e7817cfc343ca30df9" popup-component-enabled></arcgis-map>
91
92
  * ```
92
93
  * > At version 6.0, the Popup component will be used by default and setting the `popup-component-enabled` attribute will no longer be necessary.
93
94
  *
@@ -480,7 +481,7 @@ export abstract class ArcgisPopup extends LitElement {
480
481
  * Point used to position the popup. This is automatically set when viewing the
481
482
  * popup by selecting a feature. If using the Popup to display content not related
482
483
  * to features in the map, such as the results from a task, then you must set this
483
- * property before [open](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#open) the popup.
484
+ * property before opening the popup with [open](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#open).
484
485
  *
485
486
  * @example
486
487
  * ```js
@@ -7,7 +7,7 @@ import type { PublicLitElement as LitElement } from "@arcgis/lumina";
7
7
  import type { T9nMeta } from "@arcgis/lumina/controllers";
8
8
 
9
9
  /**
10
- * The Presentation component allows to present slides of a web scene in a presentation mode
10
+ * The Presentation component allows presenting slides of a web scene in a presentation mode
11
11
  * and supports navigating between the slides of a web scene.
12
12
  *
13
13
  * @since 5.0
@@ -152,17 +152,17 @@ export abstract class ArcgisPresentation extends LitElement {
152
152
  readonly arcgisReady: import("@arcgis/lumina").TargetedEvent<this, void>;
153
153
  /**
154
154
  * Fires after applying a slide to the Scene View has been canceled.
155
- * It only fires if the slide cancelled is in the list of slides of the webscene presentation.
155
+ * It only fires if the slide is in the list of slides of the webscene presentation.
156
156
  */
157
157
  readonly arcgisSlideApplyCancel: import("@arcgis/lumina").TargetedEvent<this, { slide: Slide; }>;
158
158
  /**
159
159
  * Fires after applying a slide to the Scene View has been completed.
160
- * It only fires if the slide canceled is in the list of slides of the webscene presentation.
160
+ * It only fires if the slide is in the list of slides of the webscene presentation.
161
161
  */
162
162
  readonly arcgisSlideApplyComplete: import("@arcgis/lumina").TargetedEvent<this, { slide: Slide; }>;
163
163
  /**
164
- * Fires after a slide has been applied to the Scene View.
165
- * It only fires if the slide applied is in the list of slides of the webscene presentation.
164
+ * Fires after applying a slide to the Scene View has started.
165
+ * It only fires if the slide is in the list of slides of the webscene presentation.
166
166
  */
167
167
  readonly arcgisSlideApplyStart: import("@arcgis/lumina").TargetedEvent<this, { slide: Slide; }>;
168
168
  readonly "@eventTypes": {