@arcgis/map-components 5.0.0-next.160 → 5.0.0-next.162
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.
- package/dist/cdn/{JAGDFQG6.js → 25HB2UBJ.js} +1 -1
- package/dist/cdn/{VFMEHZZD.js → 2AHY7O7C.js} +1 -1
- package/dist/cdn/{IJ55LHCM.js → 2FTXKTA4.js} +1 -1
- package/dist/cdn/{HRF5IALK.js → 3HYCJV4V.js} +1 -1
- package/dist/cdn/{GQVWDA6I.js → 42WUBROP.js} +1 -1
- package/dist/cdn/{SA36LNKO.js → 4WMWNIPN.js} +1 -1
- package/dist/cdn/522HNMQI.js +2 -0
- package/dist/cdn/{5ZA7DJQS.js → 5LG4S2WV.js} +1 -1
- package/dist/cdn/{ZUNZDQUR.js → 6424II7L.js} +1 -1
- package/dist/cdn/{W3OOBNAC.js → 67DKLGTW.js} +1 -1
- package/dist/cdn/{YMUDLENL.js → 6IPVLMFQ.js} +1 -1
- package/dist/cdn/6IUQ5UHX.js +2 -0
- package/dist/cdn/{XC73PUXJ.js → 7AGJFQHK.js} +1 -1
- package/dist/cdn/{YK2QFDB6.js → 7NOD6U2Y.js} +1 -1
- package/dist/cdn/{VZERD7WA.js → 7OOAOM5T.js} +1 -1
- package/dist/cdn/{K2WVDLY4.js → AEMKZZZS.js} +1 -1
- package/dist/cdn/{QZPZSZPM.js → AJ64UYFM.js} +1 -1
- package/dist/cdn/{7SLLFJRR.js → AJIZTCGT.js} +1 -1
- package/dist/cdn/{OOUV2QP3.js → ANP7PYGJ.js} +1 -1
- package/dist/cdn/{LS7DJQ5K.js → AX23Q2XH.js} +1 -1
- package/dist/cdn/{IIMYW42S.js → B7SDETM6.js} +1 -1
- package/dist/cdn/{4JVUUWOR.js → BHPXKX47.js} +1 -1
- package/dist/cdn/{S74R5TS2.js → BKYII5LQ.js} +1 -1
- package/dist/cdn/{227PGZWD.js → CEB3VR24.js} +1 -1
- package/dist/cdn/{UUFU74F2.js → CO7UZYM2.js} +1 -1
- package/dist/cdn/{WR7YFN6J.js → CSU7GLED.js} +1 -1
- package/dist/cdn/{ZM4HRRLA.js → CXHSL2Y4.js} +1 -1
- package/dist/cdn/{PFYBNJ7Q.js → D4PJU376.js} +1 -1
- package/dist/cdn/{DNDFQB6M.js → DB2NOQ3D.js} +1 -1
- package/dist/cdn/{GPRLA5XG.js → E5SXPWDJ.js} +1 -1
- package/dist/cdn/{AELXLN3Z.js → EO66UQLI.js} +1 -1
- package/dist/cdn/{JM5UC74N.js → ESNK6MCY.js} +1 -1
- package/dist/cdn/{KLCFGWID.js → F2HPTFLQ.js} +1 -1
- package/dist/cdn/{APTCZIC5.js → F6QNNUIN.js} +1 -1
- package/dist/cdn/{PZEM6N6R.js → FA3Z6QOE.js} +1 -1
- package/dist/cdn/{USU73B2B.js → FD4A66OJ.js} +1 -1
- package/dist/cdn/{OYYIEGIF.js → FKQSJXNW.js} +1 -1
- package/dist/cdn/{7BVN4DHV.js → FRGWWVJK.js} +1 -1
- package/dist/cdn/{ZFIWGLC3.js → G4FP7GXM.js} +1 -1
- package/dist/cdn/{ND443SHN.js → GAH6OGQE.js} +1 -1
- package/dist/cdn/{YIMKE3ZS.js → GCFNRINR.js} +1 -1
- package/dist/cdn/{TWRNR5SM.js → GMR2QJNU.js} +1 -1
- package/dist/cdn/{VPFMRSZ6.js → H5RGMC7S.js} +1 -1
- package/dist/cdn/{ND6JN4YZ.js → HKVQWRPL.js} +1 -1
- package/dist/cdn/{ZEJQO6MG.js → HYBTGX3N.js} +1 -1
- package/dist/cdn/{CABYEVH5.js → I5M2Z7WS.js} +1 -1
- package/dist/cdn/{XOMA7SZS.js → IKOLSNGV.js} +1 -1
- package/dist/cdn/{WBIRVQFF.js → IL56ZRDO.js} +1 -1
- package/dist/cdn/{JBDUMA6A.js → ILFME5US.js} +1 -1
- package/dist/cdn/{COSJIIOV.js → IQ7EVFBF.js} +1 -1
- package/dist/cdn/{T5J4CTR7.js → IWY2NPAG.js} +1 -1
- package/dist/cdn/{HAGRUIX6.js → J4XU75P7.js} +1 -1
- package/dist/cdn/{XX7YW667.js → JCW65STL.js} +1 -1
- package/dist/cdn/{2VP56JYP.js → JUHCPSPF.js} +1 -1
- package/dist/cdn/{3PBCQSML.js → JZXMWXVD.js} +1 -1
- package/dist/cdn/K4PC3ILQ.js +2 -0
- package/dist/cdn/{ECEHRM4F.js → K6ZTEDKX.js} +1 -1
- package/dist/cdn/{S2OPU6EB.js → KAZBQ6OA.js} +1 -1
- package/dist/cdn/{TEZDBCLU.js → KGJGLAWM.js} +1 -1
- package/dist/cdn/{VXRHLDSF.js → KRVBBG4M.js} +1 -1
- package/dist/cdn/{FZJKT7BV.js → KWIBK4I5.js} +1 -1
- package/dist/cdn/{CNAGRWBY.js → L5JWLRD3.js} +1 -1
- package/dist/cdn/{VWFVE3N5.js → LT5ALQM5.js} +1 -1
- package/dist/cdn/{T6MNZWQJ.js → MAM7YHLA.js} +1 -1
- package/dist/cdn/{S2WF243X.js → MD36SH63.js} +1 -1
- package/dist/cdn/{YGRKF7FM.js → N7QKWBTM.js} +1 -1
- package/dist/cdn/{VU4FTMX6.js → NWXN5M4S.js} +1 -1
- package/dist/cdn/{JWX6Z3ZF.js → O4RXVEMK.js} +1 -1
- package/dist/cdn/{GSULD3SQ.js → ODGGFBDK.js} +1 -1
- package/dist/cdn/{THO22RHZ.js → OFQNQF6N.js} +1 -1
- package/dist/cdn/{NYXESRIT.js → ONPN5M3Z.js} +1 -1
- package/dist/cdn/{N472QGAH.js → ORVYHFUJ.js} +1 -1
- package/dist/cdn/{CGXCY6GA.js → P76K34HQ.js} +1 -1
- package/dist/cdn/{SGG7SP3T.js → P7PWOUNZ.js} +1 -1
- package/dist/cdn/{6TBMOJWN.js → PQ5PGLJM.js} +1 -1
- package/dist/cdn/{RM2HMUW5.js → PYMUS3H4.js} +1 -1
- package/dist/cdn/{BFJ4VLH7.js → PZ2JPHRS.js} +1 -1
- package/dist/cdn/{FHDRIX57.js → Q4B4MXH4.js} +1 -1
- package/dist/cdn/{XLPNOCX2.js → QF7RABZH.js} +1 -1
- package/dist/cdn/{T3ZQTVDW.js → QKSSTPS3.js} +1 -1
- package/dist/cdn/{CFNAG4UQ.js → QUHJMEBB.js} +1 -1
- package/dist/cdn/{QCAKPRXK.js → QZPDQ6B7.js} +1 -1
- package/dist/cdn/{GIIC5RQS.js → R2FIOZIL.js} +1 -1
- package/dist/cdn/{ZA6HMKG3.js → RB7GCEEB.js} +1 -1
- package/dist/cdn/{U7UXBPOB.js → RE2BXNZ3.js} +1 -1
- package/dist/cdn/{OLRMETYO.js → RMFIN5AS.js} +1 -1
- package/dist/cdn/{Z2BF5ON2.js → RN57AN5P.js} +1 -1
- package/dist/cdn/{7DRCEN4I.js → RU5U2DVA.js} +1 -1
- package/dist/cdn/{AR4EHDQE.js → RYKRMJMK.js} +1 -1
- package/dist/cdn/{2WRZHA7I.js → RZ4T32PU.js} +1 -1
- package/dist/cdn/{K5TOSB65.js → SDWQW3ZX.js} +1 -1
- package/dist/cdn/{UBCQ3OXU.js → SK6O74LF.js} +1 -1
- package/dist/cdn/SKIP3GUP.js +2 -0
- package/dist/cdn/{FKFLM37F.js → T3JWZEB6.js} +1 -1
- package/dist/cdn/{WBEN5CWQ.js → TGUIWWDN.js} +1 -1
- package/dist/cdn/TQRR2FH6.js +2 -0
- package/dist/cdn/{W2Z72SWO.js → U3H7EVCU.js} +1 -1
- package/dist/cdn/{Y27IRNJL.js → U4TAMNG3.js} +1 -1
- package/dist/cdn/{OE3W5FEW.js → UBGE4QNR.js} +1 -1
- package/dist/cdn/{RAXYFKPT.js → UELD2T53.js} +1 -1
- package/dist/cdn/{JKBRLNJZ.js → UNLAUFXF.js} +1 -1
- package/dist/cdn/{H6TQCFMC.js → UW3G2BPO.js} +1 -1
- package/dist/cdn/{LEJDJAPO.js → W53OMY3O.js} +1 -1
- package/dist/cdn/{PTIYROPJ.js → WBGZAAEK.js} +1 -1
- package/dist/cdn/{ZX4R6K46.js → WDTFIXMM.js} +1 -1
- package/dist/cdn/{NS2J3AS6.js → WLNRPTCN.js} +1 -1
- package/dist/cdn/{ETJEFAUU.js → WTTBFFC2.js} +1 -1
- package/dist/cdn/{TRID34Q5.js → WV6XSMZW.js} +1 -1
- package/dist/cdn/{KEJZKHZZ.js → XCDPFMHG.js} +1 -1
- package/dist/cdn/{C45HGFAM.js → XIOIZK7A.js} +1 -1
- package/dist/cdn/{A724KY7J.js → Y4RMI55P.js} +1 -1
- package/dist/cdn/YLLIMNEW.js +2 -0
- package/dist/cdn/{DETI55RG.js → YXYCWJFF.js} +1 -1
- package/dist/cdn/{OE46TF5I.js → Z6LXLPK7.js} +1 -1
- package/dist/cdn/{WWASOGVO.js → ZOBY4YF2.js} +1 -1
- package/dist/cdn/{DHY6U2TQ.js → ZVTV4UKT.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/useArcgisViewReadyError.js +7 -7
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +5 -5
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +7 -7
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +1 -1
- package/dist/components/arcgis-bookmarks/customElement.d.ts +1 -1
- package/dist/components/arcgis-building-explorer/customElement.d.ts +4 -4
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +1 -1
- package/dist/components/arcgis-daylight/customElement.d.ts +13 -13
- package/dist/components/arcgis-daylight/customElement.js +2 -1
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +7 -7
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +5 -5
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +8 -8
- package/dist/components/arcgis-feature/customElement.d.ts +7 -7
- package/dist/components/arcgis-feature-fields/customElement.js +7 -7
- package/dist/components/arcgis-feature-form/customElement.d.ts +2 -2
- package/dist/components/arcgis-features/customElement.d.ts +35 -35
- package/dist/components/arcgis-floor-filter/customElement.d.ts +3 -3
- package/dist/components/arcgis-grid-controls/customElement.d.ts +8 -8
- package/dist/components/arcgis-legend/customElement.d.ts +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +5 -5
- package/dist/components/arcgis-link-chart/customElement.d.ts +5 -5
- package/dist/components/arcgis-locate/customElement.d.ts +1 -1
- package/dist/components/arcgis-map/customElement.d.ts +41 -41
- package/dist/components/arcgis-measurement/customElement.d.ts +3 -3
- package/dist/components/arcgis-multi-feature-form/customElement.d.ts +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +1 -1
- package/dist/components/arcgis-popup/customElement.d.ts +42 -42
- package/dist/components/arcgis-print/customElement.d.ts +6 -6
- package/dist/components/arcgis-scene/customElement.d.ts +32 -32
- package/dist/components/arcgis-search/customElement.d.ts +11 -11
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +26 -26
- package/dist/components/arcgis-slice/customElement.d.ts +12 -12
- package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.d.ts +6 -6
- package/dist/components/arcgis-slider-classed-color-legacy/customElement.d.ts +4 -4
- package/dist/components/arcgis-slider-classed-size-legacy/customElement.d.ts +5 -5
- package/dist/components/arcgis-slider-color-legacy/customElement.d.ts +9 -9
- package/dist/components/arcgis-slider-color-size-legacy/customElement.d.ts +16 -16
- package/dist/components/arcgis-slider-heatmap-legacy/customElement.d.ts +1 -1
- package/dist/components/arcgis-slider-opacity-legacy/customElement.d.ts +5 -5
- package/dist/components/arcgis-slider-size-legacy/customElement.d.ts +9 -9
- package/dist/components/arcgis-swipe/customElement.d.ts +5 -5
- package/dist/components/arcgis-time-zone-label/customElement.d.ts +6 -29
- package/dist/components/arcgis-time-zone-label/customElement.js +15 -48
- package/dist/components/arcgis-time-zone-label/index.js +1 -1
- package/dist/components/arcgis-track/customElement.d.ts +1 -1
- package/dist/components/arcgis-value-picker-legacy/customElement.d.ts +15 -15
- package/dist/components/arcgis-video-player/customElement.d.ts +1 -1
- package/dist/components/arcgis-volume-measurement/customElement.d.ts +14 -14
- package/dist/components/arcgis-volume-measurement/customElement.js +1 -1
- package/dist/components/arcgis-weather/customElement.d.ts +5 -5
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/loader.js +1 -1
- package/dist/types/lumina.d.ts +1 -2
- package/dist/types/preact.d.ts +1 -2
- package/dist/types/react.d.ts +1 -2
- package/dist/types/stencil.d.ts +1 -2
- package/package.json +4 -4
- package/dist/cdn/43GVPQTY.js +0 -2
- package/dist/cdn/BVJCLI2O.js +0 -2
- package/dist/cdn/F6ZBZTSB.js +0 -2
- package/dist/cdn/LT6PKSRL.js +0 -2
- package/dist/cdn/MTTO5ISS.js +0 -2
- package/dist/cdn/RHWPLIDI.js +0 -2
|
@@ -40,7 +40,7 @@ import type { ResizeAlign } from "@arcgis/core/views/2d/types.js";
|
|
|
40
40
|
|
|
41
41
|
/**
|
|
42
42
|
* The ArcGIS Map component is used to add 2D maps to web applications. For 3D maps, use the
|
|
43
|
-
* [
|
|
43
|
+
* [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/).
|
|
44
44
|
*
|
|
45
45
|
* #### Initializing the Map component
|
|
46
46
|
* The Map component creates a [MapView](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/)
|
|
@@ -48,14 +48,14 @@ import type { ResizeAlign } from "@arcgis/core/views/2d/types.js";
|
|
|
48
48
|
*
|
|
49
49
|
* ##### 1. Using a WebMap
|
|
50
50
|
* Load a [WebMap](https://developers.arcgis.com/javascript/latest/references/core/WebMap/) from [ArcGIS Online](https://www.arcgis.com/home/index.html)
|
|
51
|
-
* or an [ArcGIS Enterprise portal](https://enterprise.arcgis.com/en/portal/latest/administer/windows/what-is-portal-for-arcgis-.htm) by specifying the [
|
|
51
|
+
* or an [ArcGIS Enterprise portal](https://enterprise.arcgis.com/en/portal/latest/administer/windows/what-is-portal-for-arcgis-.htm) by specifying the [itemId](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#itemId) attribute.
|
|
52
52
|
*
|
|
53
53
|
* ```html
|
|
54
54
|
* <arcgis-map item-id="05e015c5f0314db9a487a9b46cb37eca"></arcgis-map>
|
|
55
55
|
* ```
|
|
56
56
|
*
|
|
57
57
|
* ##### 2. Setting Map component attributes directly
|
|
58
|
-
* Define the Map component using attributes like [basemap](
|
|
58
|
+
* Define the Map component using attributes like [basemap](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#basemap), [center](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#center), and [zoom](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#zoom) directly.
|
|
59
59
|
*
|
|
60
60
|
* ```html
|
|
61
61
|
* <arcgis-map basemap="satellite" center="-154.88, 19.46" zoom="15"></arcgis-map>
|
|
@@ -63,8 +63,8 @@ import type { ResizeAlign } from "@arcgis/core/views/2d/types.js";
|
|
|
63
63
|
*
|
|
64
64
|
* ##### 3. Providing a Map instance
|
|
65
65
|
* Alternatively, you can provide your own [Map](https://developers.arcgis.com/javascript/latest/references/core/Map/) instance to the component.
|
|
66
|
-
* This allows full control over map configuration, including [basemap](
|
|
67
|
-
* and [
|
|
66
|
+
* This allows full control over map configuration, including [basemap](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#basemap), operational [layers](https://developers.arcgis.com/javascript/latest/references/core/Map/#layers)
|
|
67
|
+
* and [spatialReference](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#spatialReference). See the [Select features by rectangle sample](https://developers.arcgis.com/javascript/latest/sample-code/highlight-features-by-geometry/)
|
|
68
68
|
* for an example of this approach in action.
|
|
69
69
|
*
|
|
70
70
|
* ```html
|
|
@@ -123,7 +123,7 @@ import type { ResizeAlign } from "@arcgis/core/views/2d/types.js";
|
|
|
123
123
|
* @slot [top-end] - Slot for components positioned at the top-end (top-right in LTR, top-left in RTL).
|
|
124
124
|
* @slot [bottom-start] - Slot for components positioned at the bottom-start (bottom-left in LTR, bottom-right in RTL).
|
|
125
125
|
* @slot [bottom-end] - Slot for components positioned at the bottom-end (bottom-right in LTR, bottom-left in RTL).
|
|
126
|
-
* @slot [popup] - Slot for the [
|
|
126
|
+
* @slot [popup] - Slot for the [arcgis-popup](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/) component to open automatically on click. Only the Popup component can be placed in this slot.
|
|
127
127
|
* @since 4.28
|
|
128
128
|
*/
|
|
129
129
|
export abstract class ArcgisMap extends LitElement {
|
|
@@ -236,7 +236,7 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
236
236
|
* Represents the view's center point; when setting the center, you may pass a
|
|
237
237
|
* [Point](https://developers.arcgis.com/javascript/latest/references/core/geometry/Point/) instance, numbers representing
|
|
238
238
|
* a longitude/latitude pair (`[-100.4593, 36.9014]`), or a string attribute representing a longitude/latitude pair ("-100.4593, 36.9014").
|
|
239
|
-
* Setting the `center` immediately changes the current view. For animating the view, see this component's [goTo()](
|
|
239
|
+
* Setting the `center` immediately changes the current view. For animating the view, see this component's [goTo()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#goTo) method.
|
|
240
240
|
*
|
|
241
241
|
* The returned [Point](https://developers.arcgis.com/javascript/latest/references/core/geometry/Point/) object is always
|
|
242
242
|
* in the spatial reference of the view and may be modified internally.
|
|
@@ -244,7 +244,7 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
244
244
|
*
|
|
245
245
|
* **Notes**
|
|
246
246
|
*
|
|
247
|
-
* * If the spatial reference of `center` set in the constructor does not match the [spatialReference](
|
|
247
|
+
* * If the spatial reference of `center` set in the constructor does not match the [spatialReference](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#spatialReference) of the view, then the
|
|
248
248
|
* [projectOperator](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/projectOperator/) will be loaded dynamically.
|
|
249
249
|
* * At runtime, the [projectOperator](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/projectOperator/) must be
|
|
250
250
|
* [loaded](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/projectOperator/#load) when
|
|
@@ -356,12 +356,12 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
356
356
|
/**
|
|
357
357
|
* The extent represents the visible portion of a map within the view as an instance of [Extent](https://developers.arcgis.com/javascript/latest/references/core/geometry/Extent/).
|
|
358
358
|
* Setting the extent immediately changes the view without animation. To animate
|
|
359
|
-
* the view, see this component's [goTo()](
|
|
359
|
+
* the view, see this component's [goTo()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#goTo) method.
|
|
360
360
|
* When the view is rotated, the extent does not update to include the newly visible portions of the map.
|
|
361
361
|
*
|
|
362
362
|
* **Notes**
|
|
363
363
|
*
|
|
364
|
-
* * If the spatial reference of `extent` set does not match the [spatialReference](
|
|
364
|
+
* * If the spatial reference of `extent` set does not match the [spatialReference](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#spatialReference) of the view, then the
|
|
365
365
|
* [projectOperator](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/projectOperator/) will be loaded dynamically.
|
|
366
366
|
* * At runtime, the [projectOperator](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/projectOperator/)
|
|
367
367
|
* must be [loaded](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/projectOperator/#load) when
|
|
@@ -619,7 +619,7 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
619
619
|
*/
|
|
620
620
|
accessor popup: Popup | null | undefined;
|
|
621
621
|
/**
|
|
622
|
-
* Indicates whether the [popup component](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#popupElement) (beta) is enabled as the default popup. When set to `true`, the [popupElement](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#popupElement) property (representing the component) will be used for popups instead of the [popup](
|
|
622
|
+
* Indicates whether the [popup component](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#popupElement) (beta) is enabled as the default popup. When set to `true`, the [popupElement](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#popupElement) property (representing the component) will be used for popups instead of the [popup](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#popup) property (representing the widget).
|
|
623
623
|
*
|
|
624
624
|
* **Note:** This is a beta feature and may change in future releases. At version 6.0, the Popup component will be used by default instead of the Popup widget and the `popup-component-enabled` attribute will no longer be necessary.
|
|
625
625
|
*
|
|
@@ -634,14 +634,14 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
634
634
|
*/
|
|
635
635
|
accessor popupComponentEnabled: boolean;
|
|
636
636
|
/**
|
|
637
|
-
* Controls whether the default popup opens automatically when users click on the view. This controls both the [
|
|
637
|
+
* Controls whether the default popup opens automatically when users click on the view. This controls both the [popupElement](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#popupElement) and [popup](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#popup) properties. When set to `true`, the popup will not open on click or when triggered programmatically.
|
|
638
638
|
*
|
|
639
639
|
* @default false
|
|
640
640
|
* @see [openPopup()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#openPopup)
|
|
641
641
|
*/
|
|
642
642
|
accessor popupDisabled: boolean;
|
|
643
643
|
/**
|
|
644
|
-
* A reference to the current [arcgis-popup](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/) (beta). The [popupComponentEnabled](
|
|
644
|
+
* A reference to the current [arcgis-popup](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/) (beta). The [popupComponentEnabled](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#popupComponentEnabled) property must be set to `true` to use this property.
|
|
645
645
|
*
|
|
646
646
|
* **Note:** This is a beta feature and may change in future releases.
|
|
647
647
|
*
|
|
@@ -665,16 +665,16 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
665
665
|
*/
|
|
666
666
|
get popupElement(): ArcgisPopup | null;
|
|
667
667
|
/**
|
|
668
|
-
* When `true`, this property indicates whether the [view](
|
|
668
|
+
* When `true`, this property indicates whether the [view](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#view) has successfully satisfied all dependencies, signaling that the following conditions are met:
|
|
669
669
|
*
|
|
670
|
-
* * The view has a [map](
|
|
670
|
+
* * The view has a [map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#map). If [map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#map)
|
|
671
671
|
* is a [WebMap](https://developers.arcgis.com/javascript/latest/references/core/WebMap/), then the map
|
|
672
672
|
* must be [loaded](https://developers.arcgis.com/javascript/latest/references/core/WebMap/#loaded).
|
|
673
|
-
* * The view has a [spatialReference](
|
|
674
|
-
* These also can be inferred by setting an [extent](
|
|
673
|
+
* * The view has a [spatialReference](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#spatialReference), a [center](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#center), and a [scale](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#scale).
|
|
674
|
+
* These also can be inferred by setting an [extent](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#extent).
|
|
675
675
|
*
|
|
676
676
|
* When a view becomes ready it will resolve itself and invoke
|
|
677
|
-
* the callback defined in [viewOnReady()](
|
|
677
|
+
* the callback defined in [viewOnReady()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#viewOnReady) where code can execute on a working view.
|
|
678
678
|
*
|
|
679
679
|
* @default false
|
|
680
680
|
* @see [when()](https://developers.arcgis.com/javascript/latest/references/core/views/View/#when)
|
|
@@ -701,7 +701,7 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
701
701
|
* The view may be rotated by directly setting
|
|
702
702
|
* the rotation or by using the following mouse event: `Right-click + Drag`.
|
|
703
703
|
* Map rotation may be disabled by setting the `rotationEnabled` property
|
|
704
|
-
* in [constraints](
|
|
704
|
+
* in [constraints](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#constraints) to `false`. See the code snippet below for
|
|
705
705
|
* an example of this.
|
|
706
706
|
*
|
|
707
707
|
* @default 0
|
|
@@ -726,20 +726,20 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
726
726
|
accessor rotation: number;
|
|
727
727
|
/**
|
|
728
728
|
* Represents the map scale at the center of the view. Setting the scale immediately changes the view. For animating
|
|
729
|
-
* the view, see this component's [goTo()](
|
|
729
|
+
* the view, see this component's [goTo()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#goTo) method.
|
|
730
730
|
*/
|
|
731
731
|
accessor scale: number;
|
|
732
732
|
/**
|
|
733
733
|
* The spatial reference of the view. This indicates the projected or geographic coordinate system used to locate geographic features in the map.
|
|
734
734
|
* You can change the spatialReference of the view after it is initialized by either directly changing
|
|
735
|
-
* this property, or by changing the basemap from the [
|
|
736
|
-
* and [
|
|
737
|
-
* Set [spatialReferenceLocked](
|
|
735
|
+
* this property, or by changing the basemap from the [arcgis-basemap-gallery](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-basemap-gallery/)
|
|
736
|
+
* and [arcgis-basemap-toggle](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-basemap-toggle/) components.
|
|
737
|
+
* Set [spatialReferenceLocked](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#spatialReferenceLocked) property to `true` to prevent users from changing the view's spatial reference at runtime.
|
|
738
738
|
*
|
|
739
739
|
* Prior to changing the spatial reference, check if the [projectOperator](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/projectOperator/)
|
|
740
740
|
* is loaded by calling [projectOperator.isLoaded()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/projectOperator/#isLoaded) method.
|
|
741
741
|
* If it is not yet loaded, call [projectOperator.load()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/projectOperator/#load) method.
|
|
742
|
-
* If the `projectOperator` is not loaded, the view's [center](
|
|
742
|
+
* If the `projectOperator` is not loaded, the view's [center](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#center) will default to `[0, 0]` in the new spatial reference of the view and a console error will be thrown.
|
|
743
743
|
*
|
|
744
744
|
* **Notes**
|
|
745
745
|
*
|
|
@@ -747,16 +747,16 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
747
747
|
* are not displayed. In such case, the layer view's [suspended](https://developers.arcgis.com/javascript/latest/references/core/views/layers/LayerView/#suspended)
|
|
748
748
|
* property is `true` and [spatialReferenceSupported](https://developers.arcgis.com/javascript/latest/references/core/views/layers/LayerView/#spatialReferenceSupported)
|
|
749
749
|
* property is `false`.
|
|
750
|
-
* * When setting view's spatial reference, the [center](
|
|
751
|
-
* reference. The [scale](
|
|
750
|
+
* * When setting view's spatial reference, the [center](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#center), [extent](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#extent) or [viewpoint](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#viewpoint) properties are projected to the new spatial
|
|
751
|
+
* reference. The [scale](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#scale) and [rotation](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#rotation) properties are adjusted to keep the content of the map at the same size and orientation on screen.
|
|
752
752
|
* * To ensure [TileLayers](https://developers.arcgis.com/javascript/latest/references/core/layers/TileLayer/) and
|
|
753
753
|
* [VectorTileLayers](https://developers.arcgis.com/javascript/latest/references/core/layers/VectorTileLayer/)
|
|
754
|
-
* are displayed in a [basemap](
|
|
754
|
+
* are displayed in a [basemap](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#basemap) correctly, the spatialReference of the view must be set match their
|
|
755
755
|
* [tileInfo's](https://developers.arcgis.com/javascript/latest/references/core/layers/support/TileInfo/) spatial reference.
|
|
756
756
|
* * Switching spatial reference with an [imageCoordinateSystem](https://developers.arcgis.com/javascript/latest/references/core/geometry/SpatialReference/#imageCoordinateSystem)
|
|
757
757
|
* is not supported.
|
|
758
758
|
*
|
|
759
|
-
* @see [spatialReferenceLocked](
|
|
759
|
+
* @see [spatialReferenceLocked](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#spatialReferenceLocked)
|
|
760
760
|
* @example
|
|
761
761
|
* ```js
|
|
762
762
|
* const viewElement = document.querySelector("arcgis-map");
|
|
@@ -780,7 +780,7 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
780
780
|
*/
|
|
781
781
|
accessor spatialReference: SpatialReference;
|
|
782
782
|
/**
|
|
783
|
-
* Indicates if the map's [spatialReference](
|
|
783
|
+
* Indicates if the map's [spatialReference](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#spatialReference) can be changed after it is ready.
|
|
784
784
|
* The default is `false`, indicating the map's spatialReference can be changed at runtime.
|
|
785
785
|
* When true, basemaps with spatial references that do not match the map's spatial reference
|
|
786
786
|
* will be disabled in [arcgis-basemap-gallery](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-basemap-gallery/) and [arcgis-basemap-toggle](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-basemap-toggle/) components and the map's spatialReference cannot be changed at runtime.
|
|
@@ -871,7 +871,7 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
871
871
|
/**
|
|
872
872
|
* Represents the current view as a Viewpoint or point of observation on the view.
|
|
873
873
|
* Setting the viewpoint immediately changes the current view. For animating
|
|
874
|
-
* the view, see this component's [goTo()](
|
|
874
|
+
* the view, see this component's [goTo()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#goTo) method.
|
|
875
875
|
*/
|
|
876
876
|
accessor viewpoint: Viewpoint;
|
|
877
877
|
/**
|
|
@@ -892,7 +892,7 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
892
892
|
* A value of -1 means the map has no LODs.
|
|
893
893
|
* When setting the zoom value, the component converts it to the corresponding scale, or interpolates it if the zoom is a fractional number.
|
|
894
894
|
*
|
|
895
|
-
* Setting the zoom immediately changes the current view. For animating the view, see this component's [goTo()](
|
|
895
|
+
* Setting the zoom immediately changes the current view. For animating the view, see this component's [goTo()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#goTo) method.
|
|
896
896
|
* Setting this property in conjunction with `center` is a convenient way to set the initial extent of the view.
|
|
897
897
|
*/
|
|
898
898
|
accessor zoom: number;
|
|
@@ -1088,8 +1088,8 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
1088
1088
|
*/
|
|
1089
1089
|
readonly arcgisViewAnalysisViewDestroy: import("@arcgis/lumina").TargetedEvent<this, AnalysisViewDestroyEvent>;
|
|
1090
1090
|
/**
|
|
1091
|
-
* This event is triggered when view-related properties change, such as [zoom](
|
|
1092
|
-
* [viewpoint](
|
|
1091
|
+
* This event is triggered when view-related properties change, such as [zoom](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#zoom), [scale](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#scale), [center](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#center), [rotation](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#rotation), [extent](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#extent),
|
|
1092
|
+
* [viewpoint](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#viewpoint), or [stationary](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#stationary).
|
|
1093
1093
|
* It reflects user interactions (e.g. panning or zooming) or programmatic updates to the view.
|
|
1094
1094
|
*
|
|
1095
1095
|
* @example
|
|
@@ -1108,8 +1108,8 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
1108
1108
|
*/
|
|
1109
1109
|
readonly arcgisViewChange: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
1110
1110
|
/**
|
|
1111
|
-
* Fires after a user clicks on the view. This event emits slightly slower than an [arcgisViewImmediateClick](
|
|
1112
|
-
* event to make sure that an [arcgisViewDoubleClick](
|
|
1111
|
+
* Fires after a user clicks on the view. This event emits slightly slower than an [@arcgisViewImmediateClick](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#event-arcgisViewImmediateClick)
|
|
1112
|
+
* event to make sure that an [@arcgisViewDoubleClick](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#event-arcgisViewDoubleClick) event isn't triggered instead. The `arcgisViewImmediateClick`
|
|
1113
1113
|
* event can be used for responding to an `arcgisViewClick` event without delay.
|
|
1114
1114
|
*
|
|
1115
1115
|
* @example
|
|
@@ -1164,8 +1164,8 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
1164
1164
|
/** Fires after holding either a mouse button or a single finger on the view for a short amount of time. */
|
|
1165
1165
|
readonly arcgisViewHold: import("@arcgis/lumina").TargetedEvent<this, HoldEvent>;
|
|
1166
1166
|
/**
|
|
1167
|
-
* Fires right after a user clicks on the view. In contrast to the [arcgisViewClick](
|
|
1168
|
-
* is emitted as soon as the user clicks on the view, and is not inhibited by a [arcgisViewDoubleClick](
|
|
1167
|
+
* Fires right after a user clicks on the view. In contrast to the [@arcgisViewClick](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#event-arcgisViewClick) event, the `arcgisViewImmediateClick`
|
|
1168
|
+
* is emitted as soon as the user clicks on the view, and is not inhibited by a [@arcgisViewDoubleClick](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#event-arcgisViewDoubleClick) event.
|
|
1169
1169
|
* This event is useful for interactive experiences that require feedback without delay.
|
|
1170
1170
|
*
|
|
1171
1171
|
* @example
|
|
@@ -1178,9 +1178,9 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
1178
1178
|
*/
|
|
1179
1179
|
readonly arcgisViewImmediateClick: import("@arcgis/lumina").TargetedEvent<this, ImmediateClickEvent>;
|
|
1180
1180
|
/**
|
|
1181
|
-
* Fires after two consecutive [arcgisViewImmediateClick](
|
|
1182
|
-
* an `arcgisViewImmediateDoubleClick` cannot be prevented by use of `stopPropagation()` on the [arcgisViewImmediateClick](
|
|
1183
|
-
* event and can therefore be used to react to double-clicking independently of usage of the [arcgisViewImmediateClick](
|
|
1181
|
+
* Fires after two consecutive [@arcgisViewImmediateClick](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#event-arcgisViewImmediateClick) events. In contrast to [@arcgisViewDoubleClick](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#event-arcgisViewDoubleClick),
|
|
1182
|
+
* an `arcgisViewImmediateDoubleClick` cannot be prevented by use of `stopPropagation()` on the [@arcgisViewImmediateClick](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#event-arcgisViewImmediateClick)
|
|
1183
|
+
* event and can therefore be used to react to double-clicking independently of usage of the [@arcgisViewImmediateClick](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#event-arcgisViewImmediateClick) event.
|
|
1184
1184
|
*/
|
|
1185
1185
|
readonly arcgisViewImmediateDoubleClick: import("@arcgis/lumina").TargetedEvent<this, ImmediateDoubleClickEvent>;
|
|
1186
1186
|
/**
|
|
@@ -1252,7 +1252,7 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
1252
1252
|
readonly arcgisViewPointerUp: import("@arcgis/lumina").TargetedEvent<this, PointerUpEvent>;
|
|
1253
1253
|
/**
|
|
1254
1254
|
* This event is for the `ready` property and is emitted when the view is ready.
|
|
1255
|
-
* Fires also when the [map](
|
|
1255
|
+
* Fires also when the [map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#map) is updated.
|
|
1256
1256
|
*/
|
|
1257
1257
|
readonly arcgisViewReadyChange: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
1258
1258
|
/**
|
|
@@ -10,7 +10,7 @@ import type { MeasurementState } from "@arcgis/core/widgets/types.js";
|
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* The Measurement component groups and manages multiple measurement tools and allows you to easily switch between them using
|
|
13
|
-
* the [activeTool](
|
|
13
|
+
* the [activeTool](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-measurement/#activeTool) property. The tools correspond to the measurement components for area and distance in 2D
|
|
14
14
|
* [arcgis-area-measurement-2d](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-area-measurement-2d/), [arcgis-distance-measurement-2d](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-distance-measurement-2d/) and in 3D
|
|
15
15
|
* [arcgis-area-measurement-3d](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-area-measurement-3d/), [arcgis-direct-line-measurement-3d](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-direct-line-measurement-3d/).
|
|
16
16
|
*
|
|
@@ -60,8 +60,8 @@ import type { MeasurementState } from "@arcgis/core/widgets/types.js";
|
|
|
60
60
|
export abstract class ArcgisMeasurement extends LitElement {
|
|
61
61
|
/**
|
|
62
62
|
* Specifies the current measurement tool to display. Setting its value to `area` activates
|
|
63
|
-
* the area measurement tool and it works in both [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/) and [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/). To measure distance in
|
|
64
|
-
* set the property to `distance` and in
|
|
63
|
+
* the area measurement tool and it works in both [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/) and [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/). To measure distance in an [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/),
|
|
64
|
+
* set the property to `distance` and in an [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/) set it to `direct-line`.
|
|
65
65
|
* If this property is not set, the component will not be displayed.
|
|
66
66
|
*
|
|
67
67
|
* @example
|
|
@@ -94,7 +94,7 @@ export abstract class ArcgisMultiFeatureForm extends LitElement {
|
|
|
94
94
|
readonly arcgisPropertyChange: import("@arcgis/lumina").TargetedEvent<this, { name: "status" | "valid" | "updating" | "submitHasBeenAttempted" | "activeFeatureIndex"; }>;
|
|
95
95
|
/** Emitted when the component associated with a map or scene view is ready to be interacted with. */
|
|
96
96
|
readonly arcgisReady: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
97
|
-
/** Fires when the [submit()](
|
|
97
|
+
/** Fires when the [submit()](https://developers.arcgis.com/javascript/latest/references/core/widgets/BatchAttributeForm/#submit) method is called. */
|
|
98
98
|
readonly arcgisSubmit: import("@arcgis/lumina").TargetedEvent<this, SubmitEvent>;
|
|
99
99
|
/** Fires when a field value is updated. */
|
|
100
100
|
readonly arcgisValueChange: import("@arcgis/lumina").TargetedEvent<this, ValueChangeEvent>;
|
|
@@ -16,7 +16,7 @@ import type { Button as Button } from "@esri/calcite-components/components/calci
|
|
|
16
16
|
*
|
|
17
17
|
* **Known limitations**
|
|
18
18
|
*
|
|
19
|
-
* Navigation Toggle is only supported in a 3D [
|
|
19
|
+
* Navigation Toggle is only supported in a 3D [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/) component.
|
|
20
20
|
*
|
|
21
21
|
* \@since 4.28
|
|
22
22
|
*/
|