@arcgis/map-components 5.0.0-next.6 → 5.0.0-next.60
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/22SN73CX.js +4 -0
- package/dist/cdn/23XXW3XX.js +4 -0
- package/dist/cdn/{LB5CIPFL.js → 2LCZJ7LM.js} +2 -2
- package/dist/cdn/2RZYFL5R.js +4 -0
- package/dist/cdn/2YZ6QJUD.js +4 -0
- package/dist/cdn/{UAIGXACR.js → 34PPGHFO.js} +2 -2
- package/dist/cdn/{GLODJKMZ.js → 36KYB2VL.js} +2 -2
- package/dist/cdn/3DE7CUJQ.js +4 -0
- package/dist/cdn/3GG7QSTZ.js +4 -0
- package/dist/cdn/{KOTDYNET.js → 3P7BK3SI.js} +2 -2
- package/dist/cdn/{6XWHYYCL.js → 3U5KO5V7.js} +2 -2
- package/dist/cdn/{QMJS7YYV.js → 3XCSQXUA.js} +2 -2
- package/dist/cdn/446JT3P3.js +4 -0
- package/dist/cdn/4F2D2S6T.js +4 -0
- package/dist/cdn/4H2UGOUX.js +4 -0
- package/dist/cdn/{YNUARQV3.js → 4H4N5ESW.js} +2 -2
- package/dist/cdn/4IOQ6ZXK.js +5 -0
- package/dist/cdn/4KNXSISO.js +4 -0
- package/dist/cdn/4R6AY5OZ.js +4 -0
- package/dist/cdn/4RR25Q2F.js +4 -0
- package/dist/cdn/4SI4KP5X.js +4 -0
- package/dist/cdn/4TIY7Z2U.js +4 -0
- package/dist/cdn/{ISU7UB5C.js → 4UN4QCTK.js} +2 -2
- package/dist/cdn/54BPT4FR.js +4 -0
- package/dist/cdn/5OI7JCR6.js +4 -0
- package/dist/cdn/5PBEHLYG.js +4 -0
- package/dist/cdn/5WOQUXW2.js +4 -0
- package/dist/cdn/5XQKT76I.js +4 -0
- package/dist/cdn/{MJ4YBES2.js → 65J5WO42.js} +2 -2
- package/dist/cdn/67FGHI5N.js +4 -0
- package/dist/cdn/6CFEML75.js +4 -0
- package/dist/cdn/6GXTSJZI.js +4 -0
- package/dist/cdn/{BZSTQJWD.js → 6XFOUMMD.js} +2 -2
- package/dist/cdn/6YB6XZCA.js +4 -0
- package/dist/cdn/{GTFTLDMW.js → 6ZXQ5RFE.js} +2 -2
- package/dist/cdn/753444OO.js +4 -0
- package/dist/cdn/7B5YPXQ3.js +4 -0
- package/dist/cdn/{OODU2NAN.js → 7BAAZ3KL.js} +2 -2
- package/dist/cdn/{3MHCWB64.js → 7CUAIADO.js} +2 -2
- package/dist/cdn/7FJK2DG7.js +4 -0
- package/dist/cdn/7JMTQAYT.js +4 -0
- package/dist/cdn/{5S42PJTM.js → 7O5Q2ZMM.js} +2 -2
- package/dist/cdn/7PWX7VTX.js +4 -0
- package/dist/cdn/{B2W4EWK6.js → 7XUMQ3UG.js} +2 -2
- package/dist/cdn/7YSAA3YB.js +4 -0
- package/dist/cdn/{EMMLC2ML.js → 7ZBFKZ2U.js} +2 -2
- package/dist/cdn/A3KFIAIH.js +4 -0
- package/dist/cdn/ATKFU76Z.js +4 -0
- package/dist/cdn/{6AJF75LJ.js → AUF7MVWC.js} +2 -2
- package/dist/cdn/AX5FS5UN.js +4 -0
- package/dist/cdn/{7333ELLT.js → AXKVT7YY.js} +2 -2
- package/dist/cdn/AXSZPPRK.js +4 -0
- package/dist/cdn/BMMMUTRA.js +4 -0
- package/dist/cdn/{XHJW7EJB.js → BV5DN5CR.js} +2 -2
- package/dist/cdn/{PKTRQSJ3.js → BXBF2FTT.js} +2 -2
- package/dist/cdn/{OAVOMLYV.js → BYQ3F7EH.js} +2 -2
- package/dist/cdn/BZR3WPNP.js +4 -0
- package/dist/cdn/CON2DKKW.js +4 -0
- package/dist/cdn/CY6JWEGQ.js +4 -0
- package/dist/cdn/D33GTAOP.js +4 -0
- package/dist/cdn/DAAY2X6G.js +4 -0
- package/dist/cdn/{G6YBBKHU.js → DC7PUH4R.js} +2 -2
- package/dist/cdn/{ZON57F3Z.js → DHAIKYXI.js} +2 -2
- package/dist/cdn/DOPVWON5.js +4 -0
- package/dist/cdn/DWJUCAFA.js +4 -0
- package/dist/cdn/DXLV6TA6.js +4 -0
- package/dist/cdn/{F2RWK5EM.js → E2JQFBJ5.js} +2 -2
- package/dist/cdn/EBHBX3FJ.js +4 -0
- package/dist/cdn/{6L4TZHKU.js → EBRUCS2H.js} +2 -2
- package/dist/cdn/{5ROISKK5.js → EDYFEOMK.js} +2 -2
- package/dist/cdn/EE4URIVE.js +4 -0
- package/dist/cdn/EF76ARPO.js +4 -0
- package/dist/cdn/{SN7O2A3T.js → EFGY3PUV.js} +2 -2
- package/dist/cdn/{IRJJTNFE.js → EMM2YXBZ.js} +2 -2
- package/dist/cdn/ETCPTUTC.js +4 -0
- package/dist/cdn/EUWLQ72X.js +4 -0
- package/dist/cdn/{2ZOE2EB7.js → FDZBJHOZ.js} +2 -2
- package/dist/cdn/{6H5AZ4GE.js → FF6MMPO5.js} +1 -1
- package/dist/cdn/{2QEVKF3M.js → FHX33I6H.js} +2 -2
- package/dist/cdn/FM2M5AD3.js +4 -0
- package/dist/cdn/FPLUROKR.js +4 -0
- package/dist/cdn/{CJGNIR2H.js → G6NT2BMO.js} +2 -2
- package/dist/cdn/G7F24YMX.js +4 -0
- package/dist/cdn/G7ZDX2ND.js +4 -0
- package/dist/cdn/GALIZUYK.js +4 -0
- package/dist/cdn/GFC73ZF7.js +4 -0
- package/dist/cdn/GGVLA2KE.js +4 -0
- package/dist/cdn/GJXJJCQW.js +4 -0
- package/dist/cdn/{MKR5A67F.js → GJZJ5LAZ.js} +2 -2
- package/dist/cdn/GLIG7D5P.js +4 -0
- package/dist/cdn/GMWZTZZP.js +4 -0
- package/dist/cdn/{UK5FKXNT.js → GPODR4DE.js} +2 -2
- package/dist/cdn/GRB6NIG4.js +4 -0
- package/dist/cdn/{C7O5KTPB.js → GT2CQ3HH.js} +2 -2
- package/dist/cdn/{ZNGXUT36.js → GUVB6M62.js} +1 -1
- package/dist/cdn/GYQVWLR6.js +4 -0
- package/dist/cdn/H3XX3LXB.js +4 -0
- package/dist/cdn/H3ZJXIOZ.js +4 -0
- package/dist/cdn/{NNNE2APH.js → H7D6W54Y.js} +2 -2
- package/dist/cdn/{ZXP6O3VA.js → HF3K3BG2.js} +2 -2
- package/dist/cdn/HTVFBEGF.js +4 -0
- package/dist/cdn/{KY4EUKNJ.js → HW7IQPIC.js} +2 -2
- package/dist/cdn/I45RBRX7.js +4 -0
- package/dist/cdn/I54UP3KH.js +4 -0
- package/dist/cdn/I5VUPFSB.js +4 -0
- package/dist/cdn/{ABX2KJWQ.js → I6ZS7ZLU.js} +2 -2
- package/dist/cdn/IBGKR27B.js +4 -0
- package/dist/cdn/{3KXHDPQI.js → IGHJSVOQ.js} +1 -1
- package/dist/cdn/{YLUUTWQL.js → ILCGUE25.js} +1 -1
- package/dist/cdn/ILQSC557.js +4 -0
- package/dist/cdn/{YXLQEOV6.js → IOUWIYUD.js} +2 -2
- package/dist/cdn/{5KTQXHUJ.js → IQ3EZESF.js} +2 -2
- package/dist/cdn/{XE4A4ZAW.js → IRY2CYGW.js} +2 -2
- package/dist/cdn/ITDAKK2T.js +4 -0
- package/dist/cdn/J5LCDVYE.js +4 -0
- package/dist/cdn/{4MWLYDY5.js → J7PVIFUK.js} +2 -2
- package/dist/cdn/JA2ZNYCQ.js +4 -0
- package/dist/cdn/{3UTRV5F5.js → JJRLF2KL.js} +2 -2
- package/dist/cdn/{ISGJWGMP.js → JKSULCOM.js} +2 -2
- package/dist/cdn/JLIIDJLK.js +4 -0
- package/dist/cdn/JMY2LNPO.js +4 -0
- package/dist/cdn/JWMVHAAK.js +4 -0
- package/dist/cdn/JYN3VTF4.js +4 -0
- package/dist/cdn/JZXPF7FZ.js +4 -0
- package/dist/cdn/K6MLJLZ2.js +4 -0
- package/dist/cdn/KBFUDIEE.js +4 -0
- package/dist/cdn/KIJ6BCCW.js +4 -0
- package/dist/cdn/{KK2JJGUK.js → KJUJ7YOG.js} +2 -2
- package/dist/cdn/{QZVSJ65F.js → KKL3WWJ5.js} +2 -2
- package/dist/cdn/KMCYG6KR.js +4 -0
- package/dist/cdn/KPR7IN5X.js +4 -0
- package/dist/cdn/L4ILTEMR.js +4 -0
- package/dist/cdn/LAUSVJJE.js +4 -0
- package/dist/cdn/LCGYWYQ2.js +4 -0
- package/dist/cdn/LCLFRJWL.js +4 -0
- package/dist/cdn/LKBEL3KQ.js +4 -0
- package/dist/cdn/LRTIDLE7.js +4 -0
- package/dist/cdn/{LDRCHRH6.js → LVZFWZQF.js} +2 -2
- package/dist/cdn/LW7J2CWH.js +4 -0
- package/dist/cdn/{GIDT5OTS.js → LXMJ47RA.js} +2 -2
- package/dist/cdn/{Q4MGAVXA.js → M3KAAQUI.js} +1 -1
- package/dist/cdn/{H4FO43TQ.js → M46I3LGU.js} +2 -2
- package/dist/cdn/ME7SVEDG.js +4 -0
- package/dist/cdn/{VRJQ2TUN.js → MWRI3V26.js} +2 -2
- package/dist/cdn/MXV2OMX7.js +4 -0
- package/dist/cdn/{RBW5EUUZ.js → NLFSWDXD.js} +2 -2
- package/dist/cdn/OAEHZO6N.js +4 -0
- package/dist/cdn/OERN3FK6.js +4 -0
- package/dist/cdn/OIEQGEKZ.js +4 -0
- package/dist/cdn/{6JZBRZQZ.js → OLQZP3JM.js} +2 -2
- package/dist/cdn/P7UQSQ3K.js +4 -0
- package/dist/cdn/PBKVAQTX.js +4 -0
- package/dist/cdn/{VVDPWDSN.js → PKG2F5FR.js} +2 -2
- package/dist/cdn/Q2JAGXGW.js +4 -0
- package/dist/cdn/Q2ZP2HGE.js +4 -0
- package/dist/cdn/Q4AQVLLX.js +4 -0
- package/dist/cdn/Q4PA5V34.js +4 -0
- package/dist/cdn/{NINFL2YQ.js → Q5THBP7L.js} +2 -2
- package/dist/cdn/QEQUWJYE.js +4 -0
- package/dist/cdn/{L4NOWY7R.js → QG2D36OH.js} +2 -2
- package/dist/cdn/QHYSFL2X.js +4 -0
- package/dist/cdn/{A3MI5N43.js → QL6XBD3S.js} +2 -2
- package/dist/cdn/QNWRCLOM.js +4 -0
- package/dist/cdn/{PIEJP6YZ.js → QP5LNEZQ.js} +2 -2
- package/dist/cdn/QSAT2XS5.js +4 -0
- package/dist/cdn/QVEQKS5Y.js +4 -0
- package/dist/cdn/{OO6TJIN7.js → QWEWBEK7.js} +2 -2
- package/dist/cdn/QYEIKSTH.js +4 -0
- package/dist/cdn/{G6RKDMGY.js → QZ3WG67T.js} +2 -2
- package/dist/cdn/RFMBSIRG.js +4 -0
- package/dist/cdn/RVC3I2JK.js +4 -0
- package/dist/cdn/{4VC56N4L.js → RY2FOWAL.js} +2 -2
- package/dist/cdn/S5T4SWOR.js +4 -0
- package/dist/cdn/S7YLWISM.js +4 -0
- package/dist/cdn/{K7O52SLI.js → SGBTS435.js} +1 -1
- package/dist/cdn/{3R4HANKL.js → SH55B65A.js} +1 -1
- package/dist/cdn/SLX46C62.js +4 -0
- package/dist/cdn/SSWBFA53.js +4 -0
- package/dist/cdn/SVV34IBA.js +4 -0
- package/dist/cdn/T2K62HCS.js +4 -0
- package/dist/cdn/T35HH7NQ.js +4 -0
- package/dist/cdn/TAWBYGR7.js +4 -0
- package/dist/cdn/{J52AVBWV.js → TIBRXO66.js} +2 -2
- package/dist/cdn/{C56GZNCL.js → TJZYKPRA.js} +2 -2
- package/dist/cdn/TKUZ6ILZ.js +4 -0
- package/dist/cdn/{J5DMYV4L.js → TSY4FGQB.js} +2 -2
- package/dist/cdn/{4LLXQ7MU.js → TYIAMK52.js} +1 -1
- package/dist/cdn/U2474QAL.js +4 -0
- package/dist/cdn/{2PXF3GPF.js → U2WQWPJ2.js} +2 -2
- package/dist/cdn/{DPDBGZUQ.js → U5LUVPZM.js} +2 -2
- package/dist/cdn/UFNMMEG5.js +4 -0
- package/dist/cdn/UJD34VGN.js +9 -0
- package/dist/cdn/{OOARTTCF.js → ULABUSZZ.js} +2 -2
- package/dist/cdn/USB5OTX7.js +4 -0
- package/dist/cdn/{5GGEMLNR.js → UWQUX3B7.js} +1 -1
- package/dist/cdn/UZUPD5HF.js +4 -0
- package/dist/cdn/V5ZUEKRE.js +4 -0
- package/dist/cdn/{DQFSD3BZ.js → V7SZATOE.js} +2 -2
- package/dist/cdn/VDKPLRQY.js +4 -0
- package/dist/cdn/VMCQ7VSM.js +4 -0
- package/dist/cdn/VSUZMEOA.js +4 -0
- package/dist/cdn/{ER5OU65T.js → VTBKKM7F.js} +2 -2
- package/dist/cdn/VTL73CLY.js +6 -0
- package/dist/cdn/W62B73QK.js +4 -0
- package/dist/cdn/{U4PIL5HO.js → W62WBKQ7.js} +1 -1
- package/dist/cdn/WAJLNECL.js +4 -0
- package/dist/cdn/{TELKXVUT.js → WFXHENZG.js} +2 -2
- package/dist/cdn/WG3MVZZJ.js +4 -0
- package/dist/cdn/WMDU32FK.js +4 -0
- package/dist/cdn/{YEZT5OD7.js → WVA4JG3V.js} +2 -2
- package/dist/cdn/WXTJPA67.js +4 -0
- package/dist/cdn/X4RX2SV5.js +4 -0
- package/dist/cdn/{JCYH652U.js → XO33YU52.js} +2 -2
- package/dist/cdn/XVPOAP2G.js +4 -0
- package/dist/cdn/XXWDSFBH.js +4 -0
- package/dist/cdn/XXWRP7TN.js +4 -0
- package/dist/cdn/YAATK2KM.js +4 -0
- package/dist/cdn/YCH22QKU.js +4 -0
- package/dist/cdn/{MGEO265K.js → YONEIJNH.js} +2 -2
- package/dist/cdn/YUSMRESW.js +4 -0
- package/dist/cdn/{Y3TA75KJ.js → YUZNRNKN.js} +2 -2
- package/dist/cdn/{YHSECDVX.js → Z55BQ4T5.js} +2 -2
- package/dist/cdn/Z5UJLPXU.js +4 -0
- package/dist/cdn/ZJIQGAHJ.js +4 -0
- package/dist/cdn/ZU3YVBF4.js +4 -0
- package/dist/cdn/ZZW3SXWK.js +4 -0
- package/dist/cdn/assets/area-measurement-2d/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/color-select/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/elevation-profile/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/utility-network-subnetwork-info/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/utility-network-trace-location/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/utility-network-trace-location-list/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/volume-measurement/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/weather/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/AnalysisViewModel.js +42 -38
- package/dist/chunks/action-utils.js +2 -2
- package/dist/chunks/async-utils.js +79 -61
- package/dist/chunks/basemap-gallery-resources.js +1 -1
- package/dist/chunks/chart-utils.js +1 -1
- package/dist/chunks/chartCommon.js +1 -1
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/createCloseEvent.js +1 -1
- package/dist/chunks/esri-main.js +2 -2
- package/dist/chunks/feature-utils.js +152 -107
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/handle.js +14 -0
- package/dist/chunks/heading.js +1 -1
- package/dist/chunks/layer-list.js +2 -2
- package/dist/chunks/legacyIcon.js +1 -1
- package/dist/chunks/maybe.js +1 -1
- package/dist/chunks/measurementUtils.js +24 -10
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/screenLocation.js +1 -1
- package/dist/chunks/slots.js +5 -5
- package/dist/chunks/svgUtils.js +1 -1
- package/dist/chunks/univariateUtils.js +1 -1
- package/dist/chunks/useArcgisViewReadyError.js +44 -38
- package/dist/chunks/useHandles.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/useView.js +1 -1
- package/dist/chunks/useViewModel.js +1 -1
- package/dist/chunks/useWidget.js +1 -1
- package/dist/chunks/utils.js +13 -18
- package/dist/chunks/utils2.js +1 -1
- package/dist/chunks/visible-element.js +9 -0
- package/dist/components/arcgis-area-measurement-2d/AreaMeasurement2dViewModel.d.ts +40 -0
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +72 -56
- package/dist/components/arcgis-area-measurement-2d/customElement.js +131 -19
- package/dist/components/arcgis-area-measurement-2d/index.d.ts +3 -0
- package/dist/components/arcgis-area-measurement-2d/index.js +3 -0
- package/dist/components/arcgis-area-measurement-3d/AreaMeasurement3dViewModel.d.ts +10 -10
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +5 -5
- package/dist/components/arcgis-area-measurement-3d/customElement.js +31 -32
- package/dist/components/arcgis-attachments/customElement.d.ts +3 -3
- package/dist/components/arcgis-attachments/customElement.js +6 -6
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +5 -5
- package/dist/components/arcgis-basemap-gallery/customElement.js +2 -2
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +4 -4
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +6 -6
- package/dist/components/arcgis-basemap-layer-list/customElement.js +2 -2
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +5 -5
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/customElement.d.ts +33 -22
- package/dist/components/arcgis-bookmarks/customElement.js +57 -55
- package/dist/components/arcgis-building-explorer/customElement.d.ts +5 -5
- package/dist/components/arcgis-building-explorer/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +6 -6
- package/dist/components/arcgis-catalog-layer-list/customElement.js +2 -2
- package/dist/components/arcgis-color-select/customElement.d.ts +25 -0
- package/dist/components/arcgis-color-select/customElement.js +59 -0
- package/dist/components/arcgis-color-select/index.d.ts +5 -0
- package/dist/components/arcgis-color-select/index.js +5 -0
- package/dist/components/arcgis-compass/customElement.d.ts +4 -4
- package/dist/components/arcgis-compass/customElement.js +6 -6
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +66 -65
- package/dist/components/arcgis-coordinate-conversion/customElement.js +91 -82
- package/dist/components/arcgis-daylight/customElement.d.ts +120 -57
- package/dist/components/arcgis-daylight/customElement.js +158 -160
- package/dist/components/arcgis-daylight/index.d.ts +1 -0
- package/dist/components/arcgis-daylight/index.js +1 -0
- package/dist/components/arcgis-direct-line-measurement-3d/DirectLineMeasurement3dViewModel.d.ts +11 -11
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +5 -15
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +43 -51
- package/dist/components/arcgis-directional-pad/customElement.d.ts +4 -4
- package/dist/components/arcgis-directional-pad/customElement.js +2 -2
- package/dist/components/arcgis-directions/customElement.d.ts +9 -5
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/DistanceMeasurement2dViewModel.d.ts +39 -0
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +71 -52
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +126 -16
- package/dist/components/arcgis-distance-measurement-2d/index.d.ts +3 -0
- package/dist/components/arcgis-distance-measurement-2d/index.js +3 -0
- package/dist/components/arcgis-editor/customElement.d.ts +33 -8
- package/dist/components/arcgis-editor/customElement.js +4 -4
- package/dist/components/{arcgis-elevation-profile-next → arcgis-elevation-profile}/ElevationProfileViewModel.d.ts +36 -19
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +200 -80
- package/dist/components/arcgis-elevation-profile/customElement.js +585 -16
- package/dist/components/{arcgis-elevation-profile-next → arcgis-elevation-profile}/geometryUtils.d.ts +1 -1
- package/dist/components/arcgis-elevation-profile/index.d.ts +5 -0
- package/dist/components/arcgis-elevation-profile/index.js +5 -0
- package/dist/components/{arcgis-elevation-profile-next → arcgis-elevation-profile}/interfaces.d.ts +2 -11
- package/dist/components/arcgis-elevation-profile-legend/customElement.d.ts +5 -2
- package/dist/components/arcgis-elevation-profile-legend/customElement.js +11 -11
- package/dist/components/arcgis-elevation-profile-legend-item/customElement.d.ts +5 -2
- package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +18 -15
- package/dist/components/arcgis-elevation-profile-settings/customElement.d.ts +1 -1
- package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-statistics/customElement.d.ts +3 -2
- package/dist/components/arcgis-elevation-profile-statistics/customElement.js +6 -6
- package/dist/components/arcgis-expand/ExpandViewModel.d.ts +48 -0
- package/dist/components/arcgis-expand/customElement.d.ts +16 -15
- package/dist/components/arcgis-expand/customElement.js +152 -45
- package/dist/components/arcgis-feature/customElement.d.ts +37 -31
- package/dist/components/arcgis-feature/customElement.js +46 -46
- package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
- package/dist/components/arcgis-feature-content/customElement.js +2 -2
- package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
- package/dist/components/arcgis-feature-expression/customElement.js +1 -1
- package/dist/components/arcgis-feature-fields/customElement.d.ts +4 -0
- package/dist/components/arcgis-feature-fields/customElement.js +36 -32
- package/dist/components/arcgis-feature-form/customElement.d.ts +2 -2
- package/dist/components/arcgis-feature-form/customElement.js +2 -2
- package/dist/components/arcgis-feature-media/customElement.d.ts +2 -2
- package/dist/components/arcgis-feature-media/customElement.js +179 -178
- package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.d.ts +21 -8
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.d.ts +3 -3
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-feature-utility-network-association-list/customElement.d.ts +1 -0
- package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +63 -63
- package/dist/components/arcgis-feature-utility-network-associations/customElement.js +8 -8
- package/dist/components/arcgis-features/customElement.d.ts +37 -16
- package/dist/components/arcgis-features/customElement.js +10 -12
- package/dist/components/arcgis-floor-filter/customElement.d.ts +5 -4
- package/dist/components/arcgis-floor-filter/customElement.js +7 -7
- package/dist/components/arcgis-fullscreen/customElement.d.ts +1 -1
- package/dist/components/arcgis-fullscreen/customElement.js +2 -2
- package/dist/components/arcgis-grid-controls/customElement.d.ts +6 -5
- package/dist/components/arcgis-grid-controls/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +5 -3
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.d.ts +5 -5
- package/dist/components/arcgis-home/customElement.js +2 -2
- package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.d.ts +10 -6
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
- package/dist/components/arcgis-legend/customElement.d.ts +29 -14
- package/dist/components/arcgis-legend/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-color-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.js +12 -12
- package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +9 -9
- package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +10 -10
- package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.js +5 -5
- package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +9 -9
- package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
- package/dist/components/arcgis-legend-relationship-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-spike-ramp/customElement.js +4 -4
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +4 -4
- package/dist/components/arcgis-line-of-sight/customElement.js +28 -27
- package/dist/components/arcgis-link-chart/customElement.d.ts +83 -21
- package/dist/components/arcgis-link-chart/customElement.js +17 -22
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +12 -8
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.d.ts +3 -3
- package/dist/components/arcgis-locate/customElement.js +9 -7
- package/dist/components/arcgis-map/customElement.d.ts +525 -74
- package/dist/components/arcgis-map/customElement.js +14 -19
- package/dist/components/arcgis-measurement/customElement.d.ts +7 -7
- package/dist/components/arcgis-measurement/customElement.js +1 -1
- package/dist/components/arcgis-measurement-content/customElement.d.ts +2 -0
- package/dist/components/arcgis-measurement-content/customElement.js +25 -34
- package/dist/components/arcgis-measurement-content/index.d.ts +1 -0
- package/dist/components/arcgis-measurement-content/index.js +1 -0
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +14 -2
- package/dist/components/arcgis-navigation-toggle/customElement.js +11 -8
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +5 -5
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +2 -2
- package/dist/components/arcgis-placement/customElement.d.ts +3 -3
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-popup/customElement.d.ts +54 -12
- package/dist/components/arcgis-popup/customElement.js +9 -6
- package/dist/components/arcgis-print/customElement.d.ts +46 -11
- package/dist/components/arcgis-print/customElement.js +34 -25
- package/dist/components/arcgis-print/utils.d.ts +1 -2
- package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
- package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
- package/dist/components/arcgis-print-export-button/customElement.js +1 -1
- package/dist/components/arcgis-print-exports-panel/customElement.d.ts +5 -3
- package/dist/components/arcgis-print-exports-panel/customElement.js +76 -19
- package/dist/components/arcgis-print-exports-panel/index.d.ts +4 -1
- package/dist/components/arcgis-print-exports-panel/index.js +4 -1
- package/dist/components/arcgis-print-format-select/customElement.js +15 -16
- package/dist/components/arcgis-print-layout-advanced-options/customElement.d.ts +2 -0
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +22 -20
- package/dist/components/arcgis-print-layout-panel/customElement.d.ts +4 -0
- package/dist/components/arcgis-print-layout-panel/customElement.js +18 -19
- package/dist/components/arcgis-print-main-panel/customElement.d.ts +8 -2
- package/dist/components/arcgis-print-main-panel/customElement.js +8 -8
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-panel/customElement.d.ts +2 -0
- package/dist/components/arcgis-print-map-only-panel/customElement.js +23 -21
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +18 -19
- package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
- package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
- package/dist/components/arcgis-print-template-select/customElement.js +23 -22
- package/dist/components/arcgis-print-template-selector/customElement.d.ts +0 -1
- package/dist/components/arcgis-print-template-selector/customElement.js +28 -33
- package/dist/components/arcgis-print-template-selector/index.d.ts +1 -1
- package/dist/components/arcgis-print-template-selector/index.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.d.ts +4 -4
- package/dist/components/arcgis-scale-bar/customElement.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +6 -5
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.d.ts +129 -22
- package/dist/components/arcgis-scene/customElement.js +15 -20
- package/dist/components/arcgis-search/customElement.d.ts +25 -23
- package/dist/components/arcgis-search/customElement.js +1 -1
- package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +9 -7
- package/dist/components/arcgis-shadow-cast/customElement.js +2 -2
- package/dist/components/arcgis-sketch/customElement.d.ts +49 -18
- package/dist/components/arcgis-sketch/customElement.js +18 -10
- package/dist/components/arcgis-slice/customElement.d.ts +4 -4
- package/dist/components/arcgis-slice/customElement.js +14 -15
- package/dist/components/arcgis-spinner/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.d.ts +6 -4
- package/dist/components/arcgis-swipe/customElement.js +2 -2
- package/dist/components/arcgis-table-list/customElement.d.ts +8 -6
- package/dist/components/arcgis-table-list/customElement.js +2 -2
- package/dist/components/arcgis-time-slider/customElement.d.ts +7 -5
- package/dist/components/arcgis-time-slider/customElement.js +2 -2
- package/dist/components/arcgis-time-zone-label/customElement.d.ts +12 -13
- package/dist/components/arcgis-time-zone-label/customElement.js +41 -49
- package/dist/components/arcgis-track/customElement.d.ts +5 -5
- package/dist/components/arcgis-track/customElement.js +2 -2
- package/dist/components/arcgis-unit-select/customElement.d.ts +2 -2
- package/dist/components/arcgis-unit-select/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-association-list/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +70 -26
- package/dist/components/arcgis-utility-network-associations/customElement.js +3 -3
- package/dist/components/arcgis-utility-network-result-feature-list/customElement.d.ts +11 -1
- package/dist/components/arcgis-utility-network-result-feature-list/customElement.js +98 -46
- package/dist/components/arcgis-utility-network-result-feature-list/index.d.ts +0 -1
- package/dist/components/arcgis-utility-network-result-feature-list/index.js +0 -1
- package/dist/components/arcgis-utility-network-subnetwork-info/customElement.d.ts +20 -0
- package/dist/components/arcgis-utility-network-subnetwork-info/customElement.js +36 -0
- package/dist/components/arcgis-utility-network-subnetwork-info/index.d.ts +1 -0
- package/dist/components/arcgis-utility-network-subnetwork-info/index.js +1 -0
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +7 -5
- package/dist/components/arcgis-utility-network-trace/customElement.js +2 -2
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +4 -50
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +72 -63
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +17 -7
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +241 -62
- package/dist/components/arcgis-utility-network-trace-inputs/index.d.ts +7 -2
- package/dist/components/arcgis-utility-network-trace-inputs/index.js +7 -2
- package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +56 -0
- package/dist/components/arcgis-utility-network-trace-location/customElement.js +250 -0
- package/dist/components/arcgis-utility-network-trace-location/index.d.ts +4 -0
- package/dist/components/arcgis-utility-network-trace-location/index.js +4 -0
- package/dist/components/arcgis-utility-network-trace-location-list/customElement.d.ts +21 -0
- package/dist/components/arcgis-utility-network-trace-location-list/customElement.js +75 -0
- package/dist/components/arcgis-utility-network-trace-location-list/index.d.ts +9 -0
- package/dist/components/arcgis-utility-network-trace-location-list/index.js +9 -0
- package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +6 -3
- package/dist/components/arcgis-utility-network-trace-results/customElement.js +32 -37
- package/dist/components/arcgis-utility-network-trace-results/index.d.ts +2 -1
- package/dist/components/arcgis-utility-network-trace-results/index.js +2 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +5 -5
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +2 -2
- package/dist/components/arcgis-value-picker/customElement.d.ts +3 -3
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.d.ts +2 -2
- package/dist/components/arcgis-version-management/customElement.js +1 -1
- package/dist/components/arcgis-version-management-service-item/customElement.js +22 -22
- package/dist/components/arcgis-version-management-version-list/customElement.js +29 -29
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
- package/dist/components/arcgis-video/customElement.d.ts +13 -13
- package/dist/components/arcgis-video/customElement.js +1 -1
- package/dist/components/arcgis-video-player/customElement.d.ts +6 -6
- package/dist/components/arcgis-video-player/customElement.js +4 -4
- package/dist/components/arcgis-video-player-action-bar/customElement.js +18 -18
- package/dist/components/arcgis-video-player-actions-group/customElement.js +13 -12
- package/dist/components/arcgis-video-player-controls-group/customElement.js +23 -23
- package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
- package/dist/components/arcgis-video-player-settings/customElement.js +19 -18
- package/dist/components/arcgis-video-player-slider/customElement.js +2 -2
- package/dist/components/arcgis-volume-measurement/VolumeMeasurementViewModel.d.ts +55 -0
- package/dist/components/arcgis-volume-measurement/customElement.d.ts +114 -0
- package/dist/components/arcgis-volume-measurement/customElement.js +236 -0
- package/dist/components/arcgis-volume-measurement/index.d.ts +10 -0
- package/dist/components/arcgis-volume-measurement/index.js +10 -0
- package/dist/components/arcgis-volume-measurement/volume-measurement-test-utils.d.ts +1 -0
- package/dist/components/arcgis-weather/LabeledSlider.d.ts +3 -2
- package/dist/components/arcgis-weather/customElement.d.ts +20 -4
- package/dist/components/arcgis-weather/customElement.js +150 -132
- package/dist/components/arcgis-zoom/customElement.d.ts +3 -3
- package/dist/components/arcgis-zoom/customElement.js +2 -2
- package/dist/components/support/utility-components/component-wrapper.d.ts +1 -1
- package/dist/controllers/uiController.d.ts +5 -0
- package/dist/controllers/useHandles.d.ts +1 -1
- package/dist/controllers/useViewModel.d.ts +1 -1
- package/dist/controllers/useWidget.d.ts +1 -1
- package/dist/docs/api.json +11245 -10237
- package/dist/docs/docs.json +6724 -5601
- package/dist/docs/vscode.css-custom-data.json +16 -16
- package/dist/docs/vscode.html-custom-data.json +603 -511
- package/dist/docs/web-types.json +1416 -1123
- package/dist/index.d.ts +74 -40
- package/dist/index.js +1 -1
- package/dist/loader.js +37 -35
- package/dist/support/AnalysisViewModel.d.ts +2 -1
- package/dist/support/handle.d.ts +1 -1
- package/dist/support/measurementUtils.d.ts +6 -3
- package/dist/types/lumina.d.ts +53 -31
- package/dist/types/preact.d.ts +58 -33
- package/dist/types/preact10.d.ts +63 -35
- package/dist/types/react.d.ts +63 -35
- package/dist/types/stencil.d.ts +53 -31
- package/dist/utils/async-utils.d.ts +19 -0
- package/dist/utils/feature-utils.d.ts +16 -1
- package/dist/utils/highlight-utils.d.ts +22 -0
- package/dist/utils/layer-utils.d.ts +4 -0
- package/package.json +5 -5
- package/dist/cdn/24FIOFGL.js +0 -4
- package/dist/cdn/2QAML4P7.js +0 -4
- package/dist/cdn/2TT7JHKU.js +0 -4
- package/dist/cdn/2WK2MSUI.js +0 -4
- package/dist/cdn/36IQDZ3G.js +0 -4
- package/dist/cdn/3ETI3KHD.js +0 -4
- package/dist/cdn/3GLBQK27.js +0 -4
- package/dist/cdn/4P5DFLTX.js +0 -5
- package/dist/cdn/4PNCM4AX.js +0 -4
- package/dist/cdn/4VJ33WZ7.js +0 -4
- package/dist/cdn/4WMRWSKE.js +0 -4
- package/dist/cdn/4XPC3USH.js +0 -4
- package/dist/cdn/5KFUEZNB.js +0 -4
- package/dist/cdn/5NGQ34PO.js +0 -4
- package/dist/cdn/5PLNMTFM.js +0 -4
- package/dist/cdn/5VFO3P34.js +0 -4
- package/dist/cdn/637CWHOC.js +0 -4
- package/dist/cdn/65HNRYB4.js +0 -4
- package/dist/cdn/6AFC4KYA.js +0 -4
- package/dist/cdn/6N5YEI5U.js +0 -4
- package/dist/cdn/7B3GFLM4.js +0 -4
- package/dist/cdn/7BDY3BU7.js +0 -4
- package/dist/cdn/7KMCO32Q.js +0 -4
- package/dist/cdn/7L55KE2V.js +0 -4
- package/dist/cdn/A4AKT4LY.js +0 -4
- package/dist/cdn/A5LDRWTA.js +0 -4
- package/dist/cdn/B2ZFGOXD.js +0 -4
- package/dist/cdn/BD5LNODX.js +0 -4
- package/dist/cdn/BIUV2EW2.js +0 -4
- package/dist/cdn/BL6DFV7R.js +0 -4
- package/dist/cdn/BUFQD3QO.js +0 -4
- package/dist/cdn/CGL4MV5F.js +0 -4
- package/dist/cdn/CHYFQH6P.js +0 -4
- package/dist/cdn/CZZ7Y35Z.js +0 -4
- package/dist/cdn/D2LJXS5O.js +0 -4
- package/dist/cdn/D67SAEXC.js +0 -4
- package/dist/cdn/DRMOWRTY.js +0 -4
- package/dist/cdn/DUZNF3KO.js +0 -4
- package/dist/cdn/DXPNHQ2A.js +0 -4
- package/dist/cdn/E5DTA2QE.js +0 -4
- package/dist/cdn/EDBEJKG4.js +0 -4
- package/dist/cdn/EJLSAJ7Z.js +0 -4
- package/dist/cdn/EMQJDRYZ.js +0 -4
- package/dist/cdn/ENPAUNXX.js +0 -4
- package/dist/cdn/F32DNIAM.js +0 -4
- package/dist/cdn/F75STQIS.js +0 -4
- package/dist/cdn/FEJPBDMX.js +0 -4
- package/dist/cdn/FGRJXTC4.js +0 -4
- package/dist/cdn/FIOK6KKP.js +0 -4
- package/dist/cdn/FQHCN5PI.js +0 -4
- package/dist/cdn/FUNOEGEP.js +0 -4
- package/dist/cdn/FYLKCHLA.js +0 -4
- package/dist/cdn/FYLZIBTR.js +0 -4
- package/dist/cdn/G4KOFHHD.js +0 -4
- package/dist/cdn/GBFC7BDF.js +0 -4
- package/dist/cdn/GHCICMTZ.js +0 -4
- package/dist/cdn/GLWAKTJ6.js +0 -4
- package/dist/cdn/GLZM6JSO.js +0 -4
- package/dist/cdn/GOGBHK5W.js +0 -4
- package/dist/cdn/GPNRFEBQ.js +0 -4
- package/dist/cdn/HAD7DDQH.js +0 -4
- package/dist/cdn/HD7BQXXH.js +0 -4
- package/dist/cdn/HSORIPSD.js +0 -4
- package/dist/cdn/HT5P52JJ.js +0 -4
- package/dist/cdn/HTTTUKFU.js +0 -4
- package/dist/cdn/HXA2FJLS.js +0 -4
- package/dist/cdn/I3NH27UL.js +0 -4
- package/dist/cdn/IBLIJJ2U.js +0 -4
- package/dist/cdn/ILS226ZZ.js +0 -4
- package/dist/cdn/IM3WBCCU.js +0 -4
- package/dist/cdn/IQ2UBST6.js +0 -4
- package/dist/cdn/IXUH65C6.js +0 -4
- package/dist/cdn/J376WYHL.js +0 -4
- package/dist/cdn/JEKQ4FH3.js +0 -4
- package/dist/cdn/JGAMA7FC.js +0 -4
- package/dist/cdn/JO46OYZR.js +0 -4
- package/dist/cdn/JT24YIBS.js +0 -4
- package/dist/cdn/KD63FUE7.js +0 -4
- package/dist/cdn/KKW7L2H6.js +0 -4
- package/dist/cdn/KQBARG67.js +0 -4
- package/dist/cdn/KRJQ47FX.js +0 -4
- package/dist/cdn/KTUEXPGY.js +0 -4
- package/dist/cdn/KUGNRX5I.js +0 -4
- package/dist/cdn/KYK5G6U6.js +0 -4
- package/dist/cdn/LM6HXX6Z.js +0 -4
- package/dist/cdn/LNOGOTUO.js +0 -4
- package/dist/cdn/M35EWG3A.js +0 -4
- package/dist/cdn/M3JCFUWF.js +0 -4
- package/dist/cdn/M6XAZZYO.js +0 -4
- package/dist/cdn/MA6HL7K7.js +0 -4
- package/dist/cdn/MBMAIEIY.js +0 -4
- package/dist/cdn/MSBMMGC7.js +0 -4
- package/dist/cdn/MTOZCJE4.js +0 -4
- package/dist/cdn/N35AGRPR.js +0 -4
- package/dist/cdn/N54JLHJH.js +0 -4
- package/dist/cdn/NHJUZYR7.js +0 -4
- package/dist/cdn/NICHIV22.js +0 -4
- package/dist/cdn/NTGYJRE6.js +0 -4
- package/dist/cdn/NYJGMFYD.js +0 -4
- package/dist/cdn/OAL2DV3H.js +0 -4
- package/dist/cdn/OB7MFKZ2.js +0 -4
- package/dist/cdn/OLAIRBN2.js +0 -4
- package/dist/cdn/OM5T7IMH.js +0 -4
- package/dist/cdn/P7BS2OQL.js +0 -4
- package/dist/cdn/PF2BHU63.js +0 -4
- package/dist/cdn/PKSMBCZG.js +0 -4
- package/dist/cdn/Q4AC6G46.js +0 -4
- package/dist/cdn/Q7E3BJCS.js +0 -4
- package/dist/cdn/Q7RJTSMT.js +0 -4
- package/dist/cdn/QNRNXYW4.js +0 -4
- package/dist/cdn/QQHBOFYP.js +0 -4
- package/dist/cdn/R4KHFOUZ.js +0 -4
- package/dist/cdn/RTELX7UO.js +0 -4
- package/dist/cdn/RYZGV3PB.js +0 -4
- package/dist/cdn/SI3EGWNU.js +0 -4
- package/dist/cdn/SNZU6GQA.js +0 -4
- package/dist/cdn/SQHW7ZPZ.js +0 -4
- package/dist/cdn/SRQV7IAC.js +0 -4
- package/dist/cdn/TDWHOSGC.js +0 -4
- package/dist/cdn/TSL3GRQ7.js +0 -4
- package/dist/cdn/TVDSU7R2.js +0 -4
- package/dist/cdn/U4WWVT6W.js +0 -4
- package/dist/cdn/UKRZFM6L.js +0 -9
- package/dist/cdn/VA6J4CYT.js +0 -6
- package/dist/cdn/VGTBOKKG.js +0 -4
- package/dist/cdn/VN5JPWXN.js +0 -4
- package/dist/cdn/VOZF6LQJ.js +0 -4
- package/dist/cdn/X3OIHTMN.js +0 -4
- package/dist/cdn/XCQMZYFT.js +0 -4
- package/dist/cdn/XOUKYVQ4.js +0 -4
- package/dist/cdn/YGES3DLF.js +0 -4
- package/dist/cdn/YUWKUAFN.js +0 -4
- package/dist/cdn/YWD7ZFOR.js +0 -4
- package/dist/cdn/ZJE52YLT.js +0 -4
- package/dist/cdn/ZNSS52UU.js +0 -4
- package/dist/cdn/ZTB6OSGP.js +0 -4
- package/dist/cdn/ZWJFEUXM.js +0 -4
- package/dist/cdn/assets/elevation-profile-next/t9n/messages.en.json +0 -1
- package/dist/components/arcgis-elevation-profile-next/customElement.d.ts +0 -208
- package/dist/components/arcgis-elevation-profile-next/customElement.js +0 -542
- package/dist/components/arcgis-elevation-profile-next/index.d.ts +0 -6
- package/dist/components/arcgis-elevation-profile-next/index.js +0 -6
- package/dist/components/arcgis-print-exported-link/customElement.d.ts +0 -14
- package/dist/components/arcgis-print-exported-link/customElement.js +0 -100
- package/dist/components/arcgis-print-exported-link/index.d.ts +0 -7
- package/dist/components/arcgis-print-exported-link/index.js +0 -7
- package/dist/utils/mapping-utils.d.ts +0 -2
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ar.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.bg.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.bs.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ca.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.cs.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.da.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.de.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.el.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.es.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.et.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.fi.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.fr.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.he.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.hr.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.hu.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.id.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.it.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ja.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ko.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.lt.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.lv.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.nl.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.no.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.pl.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.pt-BR.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.pt-PT.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ro.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ru.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.sk.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.sl.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.sr.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.sv.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.th.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.tr.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.uk.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.vi.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.zh-CN.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.zh-HK.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.zh-TW.json +0 -0
|
@@ -8,11 +8,11 @@ import { nil } from '@arcgis/toolkit/type';
|
|
|
8
8
|
import { default as Collection } from '@arcgis/core/core/Collection.js';
|
|
9
9
|
import { LoadErrorSource } from '../../controllers/useArcgisLoadError';
|
|
10
10
|
|
|
11
|
-
declare const useWebMap: (component: LitElement & Omit<Pick<WebMap, "basemap" | "focusAreas" | "ground" | "ipsInfo" | "layers" | "presentation" | "tables" | "widgets" | "applicationProperties" | "authoringApp" | "authoringAppVersion" | "bookmarks" | "floorInfo" | "geotriggersInfo" | "initialViewProperties" | "portalItem" | "thumbnailUrl" | "utilityNetworks">, "basemap" | "ground" |
|
|
11
|
+
declare const useWebMap: (component: LitElement & Omit<Pick<WebMap, "basemap" | "focusAreas" | "ground" | "ipsInfo" | "layers" | "presentation" | "tables" | "widgets" | "applicationProperties" | "authoringApp" | "authoringAppVersion" | "bookmarks" | "floorInfo" | "geotriggersInfo" | "initialViewProperties" | "portalItem" | "thumbnailUrl" | "utilityNetworks">, "basemap" | "ground" | "layers" | "presentation" | "tables" | "widgets" | "applicationProperties" | "authoringApp" | "authoringAppVersion" | "bookmarks" | "floorInfo" | "geotriggersInfo" | "initialViewProperties" | "portalItem" | "thumbnailUrl" | "utilityNetworks" | ("destroyed" | "initialized" | "declaredClass" | "set" | "watch" | "addHandles" | "removeHandles" | "hasHandles")> & {
|
|
12
12
|
autoDestroyDisabled: boolean;
|
|
13
13
|
destroy: () => Promise<void>;
|
|
14
14
|
}) => WebMap;
|
|
15
|
-
declare const useMapView: (component: LitElement & Omit<Pick<MapView, "rotation" | "center" | "
|
|
15
|
+
declare const useMapView: (component: LitElement & Omit<Pick<MapView, "rotation" | "center" | "analyses" | "map" | "aria" | "background" | "basemapView" | "constraints" | "extent" | "fatalError" | "floors" | "graphics" | "highlights" | "highlightOptions" | "navigation" | "padding" | "popup" | "resizeAlign" | "scale" | "spatialReference" | "spatialReferenceLocked" | "theme" | "timeExtent" | "timeZone" | "viewpoint" | "zoom" | "widthBreakpoint" | "animation" | "animationsEnabled" | "attributionVisible" | "breakpoints" | "container" | "displayFilterEnabled" | "heightBreakpoint" | "popupEnabled" | "ui">, "widthBreakpoint" | "animation" | "animationsEnabled" | "attributionVisible" | "breakpoints" | "container" | "displayFilterEnabled" | "heightBreakpoint" | "popupEnabled" | "ui" | ("destroyed" | "initialized" | "declaredClass" | "set" | "watch" | "addHandles" | "removeHandles" | "hasHandles")> & {
|
|
16
16
|
autoDestroyDisabled: boolean;
|
|
17
17
|
destroy: () => Promise<void>;
|
|
18
18
|
}) => MapView;
|
|
@@ -20,18 +20,49 @@ declare const useMapView: (component: LitElement & Omit<Pick<MapView, "rotation"
|
|
|
20
20
|
* The ArcGIS Map component is used to add 2D maps to web applications. For 3D maps, use the
|
|
21
21
|
* [ArcGIS Scene component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/).
|
|
22
22
|
*
|
|
23
|
-
*
|
|
23
|
+
* #### Initializing the Map component
|
|
24
|
+
* The Map component creates a [MapView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html) and
|
|
25
|
+
* and can be initialized in one of three ways:
|
|
26
|
+
*
|
|
27
|
+
* ##### 1. Using a WebMap
|
|
28
|
+
* Load a [WebMap](https://developers.arcgis.com/javascript/latest/api-reference/esri-WebMap.html) from [ArcGIS Online](https://www.arcgis.com/home/index.html)
|
|
29
|
+
* or an [ArcGIS Enterprise portal](https://enterprise.arcgis.com/en/portal/latest/administer/windows/what-is-portal-for-arcgis-.htm) by specifying the [item-id](#itemId) attribute.
|
|
24
30
|
*
|
|
25
31
|
* ```html
|
|
26
32
|
* <arcgis-map item-id="05e015c5f0314db9a487a9b46cb37eca"></arcgis-map>
|
|
27
33
|
* ```
|
|
28
34
|
*
|
|
29
|
-
*
|
|
35
|
+
* ##### 2. Setting Map component attributes directly
|
|
36
|
+
* Define the Map component using attributes like [basemap](#basemap), [center](#center), and [zoom](#zoom) directly.
|
|
30
37
|
*
|
|
31
38
|
* ```html
|
|
32
39
|
* <arcgis-map basemap="satellite" center="-154.88, 19.46" zoom="15"></arcgis-map>
|
|
33
40
|
* ```
|
|
34
41
|
*
|
|
42
|
+
* ##### 3. Providing a Map instance
|
|
43
|
+
* Alternatively, you can provide your own [Map](https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html) instance to the component.
|
|
44
|
+
* This allows full control over map configuration, including [basemap](#basemap), operational [layers](https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html#layers)
|
|
45
|
+
* and [spatial reference](#spatialReference). See the [Select features by rectangle sample](https://developers.arcgis.com/javascript/latest/sample-code/highlight-features-by-geometry/)
|
|
46
|
+
* for an example of this approach in action.
|
|
47
|
+
*
|
|
48
|
+
* ```html
|
|
49
|
+
* <arcgis-map></arcgis-map>
|
|
50
|
+
* <script type="module">
|
|
51
|
+
* const viewElement = document.querySelector("arcgis-map");
|
|
52
|
+
*
|
|
53
|
+
* // set the basemap of the map to states feature layer
|
|
54
|
+
* // add national parks feature layer and a polygon graphics layer
|
|
55
|
+
* viewElement.map = new Map({
|
|
56
|
+
* basemap: new Basemap({ baseLayers: [states] }),
|
|
57
|
+
* layers: [nationalParksLayer, polygonGraphicsLayer]
|
|
58
|
+
* });
|
|
59
|
+
*
|
|
60
|
+
* // set the spatial reference of the map to NAD 1983 Albers contiguous USA
|
|
61
|
+
* viewElement.spatialReference = { wkid: 102003 };
|
|
62
|
+
* </script>
|
|
63
|
+
* ```
|
|
64
|
+
* #### Adding components and customizing the Map
|
|
65
|
+
*
|
|
35
66
|
* Other components can be added and connected to the Map component.
|
|
36
67
|
*
|
|
37
68
|
* ```html
|
|
@@ -58,7 +89,6 @@ declare const useMapView: (component: LitElement & Omit<Pick<MapView, "rotation"
|
|
|
58
89
|
*
|
|
59
90
|
* [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/)
|
|
60
91
|
*
|
|
61
|
-
* @since 4.28
|
|
62
92
|
* @slot - Default slot for adding components to the map. User is responsible for positioning the content via CSS.
|
|
63
93
|
* @slot [top-left] - Slot for components positioned in the top-left corner.
|
|
64
94
|
* @slot [top-right] - Slot for components positioned in the top-right corner.
|
|
@@ -68,40 +98,66 @@ declare const useMapView: (component: LitElement & Omit<Pick<MapView, "rotation"
|
|
|
68
98
|
* @slot [top-end] - Slot for components positioned at the top-end (top-right in LTR, top-left in RTL).
|
|
69
99
|
* @slot [bottom-start] - Slot for components positioned at the bottom-start (bottom-left in LTR, bottom-right in RTL).
|
|
70
100
|
* @slot [bottom-end] - Slot for components positioned at the bottom-end (bottom-right in LTR, bottom-left in RTL).
|
|
101
|
+
* @slot [popup] - Slot for the [Popup](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-popup/) component to open automatically on click. When using this slot, the [`popup-disabled`](#popupDisabled) attribute must be set to `true`. Only the Popup component can be placed in this slot.
|
|
102
|
+
* @since 4.28
|
|
71
103
|
*/
|
|
72
104
|
export declare class ArcgisMap extends LitElement {
|
|
73
105
|
/**
|
|
74
|
-
* Fires when a
|
|
106
|
+
* Fires when a ArcgisMap fails to load or if one of its dependencies fails to load (e.g., basemap, ground, layers).
|
|
75
107
|
*
|
|
108
|
+
* @since 4.34
|
|
76
109
|
* @see [loadErrorSources](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/#loadErrorSources)
|
|
77
110
|
* @example
|
|
78
111
|
* ```js
|
|
79
|
-
*
|
|
80
|
-
*
|
|
81
|
-
*
|
|
82
|
-
*
|
|
112
|
+
* viewElement.addEventListener("arcgisLoadError", () => {
|
|
113
|
+
* console.log(viewElement.loadErrorSources);
|
|
114
|
+
* });
|
|
115
|
+
* ```
|
|
83
116
|
*/
|
|
84
117
|
readonly arcgisLoadError: TargetedEvent<this>;
|
|
85
118
|
/**
|
|
86
|
-
* Fires if the
|
|
119
|
+
* Fires if the view encounters a content or rendering error.
|
|
87
120
|
*
|
|
121
|
+
* @since 4.34
|
|
88
122
|
* @example
|
|
89
123
|
* ```js
|
|
90
|
-
*
|
|
91
|
-
*
|
|
92
|
-
*
|
|
93
|
-
*
|
|
124
|
+
* viewElement.addEventListener("arcgisViewReadyError", () => {
|
|
125
|
+
* // handle error
|
|
126
|
+
* });
|
|
127
|
+
* ```
|
|
94
128
|
*/
|
|
95
129
|
readonly arcgisViewReadyError: TargetedEvent<this>;
|
|
96
|
-
/** The [MapView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html) instance created and
|
|
130
|
+
/** The [MapView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html) instance created and managed by the component. Accessible once the component is fully loaded. */
|
|
97
131
|
readonly view: MapView;
|
|
98
132
|
/**
|
|
99
|
-
*
|
|
133
|
+
* Indicates whether animations are disabled in the view. This includes animated symbols (animated
|
|
134
|
+
* [CIMSymbol](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-CIMSymbol.html),
|
|
135
|
+
* [PictureMarkerSymbol](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-PictureMarkerSymbol.html)
|
|
136
|
+
* from a GIF/animated PNG), animated renderers
|
|
137
|
+
* ([FlowRenderer](https://developers.arcgis.com/javascript/latest/api-reference/esri-rasterRenderers.html#FlowRenderer)),
|
|
138
|
+
* animated layers ([MediaLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-MediaLayer.html),
|
|
139
|
+
* [VideoLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-VideoLayer.html)), and
|
|
140
|
+
* animations triggered by view navigation (for example,
|
|
141
|
+
* [goTo()](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#goTo)).
|
|
142
|
+
* Setting this property to `true` disables all animations in the view.
|
|
143
|
+
*
|
|
144
|
+
* @default false
|
|
145
|
+
* @since 4.34
|
|
146
|
+
*/
|
|
147
|
+
animationsDisabled: boolean;
|
|
148
|
+
/**
|
|
149
|
+
* The ARIA attributes for the view container. Provides accessibility information to assistive technologies such as screen readers. Supports the following properties: [`label`](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-label), [`description`](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-description), [`describedByElements`](https://developer.mozilla.org/en-US/docs/Web/API/Element/ariaDescribedByElements), and [`labelledByElements`](https://developer.mozilla.org/en-US/docs/Web/API/Element/ariaLabelledByElements).
|
|
100
150
|
*
|
|
101
151
|
* @since 4.34
|
|
102
152
|
*/
|
|
103
153
|
get aria(): __esri.MapView["aria"];
|
|
104
154
|
set aria(value: __esri.MapView["aria"]);
|
|
155
|
+
/**
|
|
156
|
+
* The attribution items displayed in the view's attribution.
|
|
157
|
+
*
|
|
158
|
+
* @since 5.0
|
|
159
|
+
*/
|
|
160
|
+
get attributionItems(): __esri.MapView["attributionItems"];
|
|
105
161
|
/**
|
|
106
162
|
* Collection containing a flat list of all the created LayerViews
|
|
107
163
|
* related to the basemap, operational layers, and group layers in this view.
|
|
@@ -111,6 +167,8 @@ export declare class ArcgisMap extends LitElement {
|
|
|
111
167
|
* A collection of analyses associated with the view.
|
|
112
168
|
*
|
|
113
169
|
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View2D.html#analyses)
|
|
170
|
+
*
|
|
171
|
+
* @since 4.34
|
|
114
172
|
*/
|
|
115
173
|
analyses: Collection<__esri.Analysis>;
|
|
116
174
|
/**
|
|
@@ -124,8 +182,7 @@ export declare class ArcgisMap extends LitElement {
|
|
|
124
182
|
*/
|
|
125
183
|
autoDestroyDisabled: boolean;
|
|
126
184
|
/**
|
|
127
|
-
* The background color of the
|
|
128
|
-
* even if the user set it previously.
|
|
185
|
+
* The background color of the Map component.
|
|
129
186
|
*
|
|
130
187
|
* @default null
|
|
131
188
|
*/
|
|
@@ -145,32 +202,98 @@ export declare class ArcgisMap extends LitElement {
|
|
|
145
202
|
basemapView: __esri.BasemapView;
|
|
146
203
|
/**
|
|
147
204
|
* Represents the view's center point; when setting the center, you may pass a
|
|
148
|
-
* esri
|
|
149
|
-
* a longitude/latitude pair (`"-100.4593, 36.9014"
|
|
150
|
-
* Setting the center immediately changes the current view.
|
|
151
|
-
*
|
|
205
|
+
* [Point](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Point.html) instance, numbers representing
|
|
206
|
+
* a longitude/latitude pair (`[-100.4593, 36.9014]`), or a string attribute representing a longitude/latitude pair ("-100.4593, 36.9014").
|
|
207
|
+
* Setting the `center` immediately changes the current view. For animating the view, see this component's [goTo()](#goTo) method.
|
|
208
|
+
*
|
|
209
|
+
* The returned [Point](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Point.html) object is always
|
|
210
|
+
* in the spatial reference of the view and may be modified internally.
|
|
211
|
+
* To persist the returned object, create a clone using [clone()](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Point.html#clone) method.
|
|
212
|
+
*
|
|
213
|
+
* **Notes**
|
|
214
|
+
*
|
|
215
|
+
* * If the spatial reference of `center` set in the constructor does not match the [spatialReference](#spatialReference) of the view, then the
|
|
216
|
+
* [projectOperator](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-operators-projectOperator.html) will be loaded dynamically.
|
|
217
|
+
* * At runtime, the [projectOperator](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-operators-projectOperator.html) must be
|
|
218
|
+
* [loaded](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-operators-projectOperator.html#load) when
|
|
219
|
+
* setting the `center` to a spatial reference that doesn't match the view spatial reference. You can check if the projectOperator is
|
|
220
|
+
* loaded prior to setting the center by calling [isLoaded()](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-operators-projectOperator.html#isLoaded)
|
|
221
|
+
* method. If it is not yet loaded, you can call [load()](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-operators-projectOperator.html#load) method.
|
|
222
|
+
*
|
|
223
|
+
* @example
|
|
224
|
+
* ```html
|
|
225
|
+
* <arcgis-map zoom="4" center="-98, 39"></arcgis-map>
|
|
226
|
+
* ```
|
|
227
|
+
* @example
|
|
228
|
+
* ```js
|
|
229
|
+
* // Sets the initial center point of the map component to lon/lat coordinates
|
|
230
|
+
* // lon/lat will be projected to match the spatial reference of the view
|
|
231
|
+
* const viewElement = document.querySelector("arcgis-map");
|
|
232
|
+
* viewElement.center = [-98, 39]; // lon, lat
|
|
233
|
+
* ```
|
|
234
|
+
* @example
|
|
235
|
+
* ```js
|
|
236
|
+
* // Updates the view's center point to a pre-determined Point object
|
|
237
|
+
* let centerPoint = new Point({
|
|
238
|
+
* x: 12804.24,
|
|
239
|
+
* y: -1894032.09,
|
|
240
|
+
* spatialReference: {
|
|
241
|
+
* wkid: view.spatialReference // wkid 2027
|
|
242
|
+
* }
|
|
243
|
+
* });
|
|
244
|
+
* const viewElement = document.querySelector("arcgis-map");
|
|
245
|
+
* view.center = centerPoint;
|
|
246
|
+
* ```
|
|
247
|
+
* @example
|
|
248
|
+
* ```js
|
|
249
|
+
* // the point's spatialReference does not match the view's spatialReference
|
|
250
|
+
* // the projectOperator will be used to project the point to match
|
|
251
|
+
* // the view's spatialReference
|
|
252
|
+
* const centerPoint = new Point({
|
|
253
|
+
* x: -8746995,
|
|
254
|
+
* y: 4352308,
|
|
255
|
+
* spatialReference: {
|
|
256
|
+
* wkid: 8857
|
|
257
|
+
* }
|
|
258
|
+
* });
|
|
259
|
+
* if (!projectOperator.isLoaded()) {
|
|
260
|
+
* await projectOperator.load();
|
|
261
|
+
* }
|
|
262
|
+
* const viewElement = document.querySelector("arcgis-map");
|
|
263
|
+
* viewElement.center = centerPoint;
|
|
264
|
+
* ```
|
|
152
265
|
*/
|
|
153
266
|
get center(): __esri.MapView["center"];
|
|
154
267
|
set center(newValue: __esri.MapView["center"] | nil | number[] | string);
|
|
155
|
-
/** Specifies constraints to scale, zoom, and rotation that may be applied to the
|
|
268
|
+
/** Specifies constraints to scale, zoom, and rotation that may be applied to the map. */
|
|
156
269
|
constraints: __esri.View2DConstraints;
|
|
157
270
|
/**
|
|
158
|
-
* Indicates whether layer's
|
|
271
|
+
* Indicates whether a layer's `displayFilterInfo` is honored when rendering layers in the view.
|
|
159
272
|
* If `false`, display filters are ignored and all features are rendered.
|
|
160
273
|
*
|
|
161
274
|
* @default false
|
|
162
275
|
*/
|
|
163
276
|
displayFilterDisabled: boolean;
|
|
164
277
|
/**
|
|
165
|
-
* The extent represents the visible portion of a map within the view as an instance of esri
|
|
278
|
+
* The extent represents the visible portion of a map within the view as an instance of [Extent](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Extent.html).
|
|
166
279
|
* Setting the extent immediately changes the view without animation. To animate
|
|
167
|
-
* the view, see this component's goTo() method.
|
|
280
|
+
* the view, see this component's [goTo()](#goTo) method.
|
|
168
281
|
* When the view is rotated, the extent does not update to include the newly visible portions of the map.
|
|
282
|
+
*
|
|
283
|
+
* **Notes**
|
|
284
|
+
*
|
|
285
|
+
* * If the spatial reference of `extent` set does not match the [spatialReference](#spatialReference) of the view, then the
|
|
286
|
+
* [projectOperator](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-operators-projectOperator.html) will be loaded dynamically.
|
|
287
|
+
* * At runtime, the [projectOperator](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-operators-projectOperator.html)
|
|
288
|
+
* must be [loaded](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-operators-projectOperator.html#load) when
|
|
289
|
+
* setting the `extent` to a spatial reference that doesn't match the view spatial reference. You can check if the projectOperator is
|
|
290
|
+
* loaded prior to setting the extent by calling [isLoaded()](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-operators-projectOperator.html#isLoaded)
|
|
291
|
+
* method. If it is not yet loaded, you can call the [load](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-operators-projectOperator.html#load) method.
|
|
169
292
|
*/
|
|
170
293
|
get extent(): __esri.MapView["extent"];
|
|
171
294
|
set extent(newValue: __esri.MapView["extent"]);
|
|
172
295
|
/** A rejected view indicates a fatal error making it unable to display. */
|
|
173
|
-
fatalError:
|
|
296
|
+
fatalError: __esri.Error | nullish;
|
|
174
297
|
/**
|
|
175
298
|
* Applies a display filter on the view for a specific set of floor levels.
|
|
176
299
|
* It can filter the map display on floor-aware layers by zero or more level IDs.
|
|
@@ -197,8 +320,33 @@ export declare class ArcgisMap extends LitElement {
|
|
|
197
320
|
get ground(): typeof this._map.ground;
|
|
198
321
|
set ground(value: __esri.Ground | string);
|
|
199
322
|
/**
|
|
200
|
-
*
|
|
201
|
-
*
|
|
323
|
+
* Represents a collection of [HighlightOptions](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-support-HighlightOptions.html)
|
|
324
|
+
* objects which can be used to highlight features throughout an application. Highlighting works by applying highlight options to one or
|
|
325
|
+
* more features. You can configure these options (such as color or opacity) to define how a feature will be visually
|
|
326
|
+
* emphasized.
|
|
327
|
+
*
|
|
328
|
+
* A maximum of six [HighlightOptions](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-support-HighlightOptions.html)
|
|
329
|
+
* objects are supported in the collection, and they can be added, removed, and reordered freely. Their order in the collection determines priority, with the last
|
|
330
|
+
* object having the highest priority. If you apply more than one highlight to a feature, the one that is last within
|
|
331
|
+
* the collection will be applied. The [HighlightOptions](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-support-HighlightOptions.html)
|
|
332
|
+
* object must be part of this collection in order to be applied to features.
|
|
333
|
+
*
|
|
334
|
+
* To highlight a feature, use the [highlight()](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-FeatureLayerView.html#highlight)
|
|
335
|
+
* method on the relevant [LayerView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-LayerView.html) instance. To apply specific
|
|
336
|
+
* [HighlightOptions](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-support-HighlightOptions.html), include the
|
|
337
|
+
* [name](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-support-HighlightOptions.html#name) in the `highlight()` method's `options` parameter.
|
|
338
|
+
* If no `name` is provided, the feature will use the `default` highlight options.
|
|
339
|
+
*
|
|
340
|
+
* The table below shows the default highlight options in the View's highlights collection if the collection has not
|
|
341
|
+
* been modified:
|
|
342
|
+
*
|
|
343
|
+
* | Highlight options name | Description | Default settings |
|
|
344
|
+
* | ---------------------- | ----------- | ---------------- |
|
|
345
|
+
* | default | The default highlight options. Used when `layerView.highlight()` is called without specifying any particular highlight options. | ` { name: "default", color: "cyan", haloOpacity: 1, fillOpacity: 0.25, shadowColor: "black", shadowOpacity: 0.4, shadowDifference: 0.2}` |
|
|
346
|
+
* | temporary | The temporary highlight options, pre-configured for common use cases such as hovering over a feature in the view. | `{ name: "temporary", color: "yellow", haloOpacity: 1, fillOpacity: 0.25, shadowColor: "black", shadowOpacity: 0.4, shadowDifference: 0.2 }` |
|
|
347
|
+
*
|
|
348
|
+
* @see [Sample: Highlight features by geometry](https://developers.arcgis.com/javascript/latest/sample-code/highlight-features-by-geometry/)
|
|
349
|
+
* @see [Sample: Highlight point features](https://developers.arcgis.com/javascript/latest/sample-code/highlight-point-features/)
|
|
202
350
|
*/
|
|
203
351
|
highlights: Collection<__esri.HighlightOptions>;
|
|
204
352
|
/**
|
|
@@ -208,7 +356,7 @@ export declare class ArcgisMap extends LitElement {
|
|
|
208
356
|
*/
|
|
209
357
|
highlightOptions: __esri.HighlightOptions;
|
|
210
358
|
/**
|
|
211
|
-
*
|
|
359
|
+
* Indicates whether the view is being interacted with (for example, when panning or via an interactive tool).
|
|
212
360
|
*
|
|
213
361
|
* @default false
|
|
214
362
|
*/
|
|
@@ -224,13 +372,13 @@ export declare class ArcgisMap extends LitElement {
|
|
|
224
372
|
set itemId(newValue: nil | string);
|
|
225
373
|
/**
|
|
226
374
|
* A collection containing a hierarchical list of all the created
|
|
227
|
-
* esri
|
|
228
|
-
* esri
|
|
375
|
+
* [LayerView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-LayerView.html)s of the
|
|
376
|
+
* [operational layers](https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html#layers) in the map.
|
|
229
377
|
*/
|
|
230
378
|
readonly layerViews: Collection<__esri.LayerView>;
|
|
231
379
|
/** The magnifier allows for showing a portion of the view as a magnifier image on top of the view. */
|
|
232
380
|
readonly magnifier: __esri.Magnifier;
|
|
233
|
-
/** An instance of a esri
|
|
381
|
+
/** An instance of a [Map](https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html) object to display in the view. */
|
|
234
382
|
map: nullish | __esri.Map;
|
|
235
383
|
/**
|
|
236
384
|
* Indication whether the view is being navigated (for example when panning).
|
|
@@ -245,8 +393,8 @@ export declare class ArcgisMap extends LitElement {
|
|
|
245
393
|
* subsection of the full map. This is particularly useful when layering UI
|
|
246
394
|
* elements or semi-transparent content on top of portions of the map.
|
|
247
395
|
*
|
|
248
|
-
* @see [Sample: Map padding](https://developers.arcgis.com/javascript/latest/sample-code/map-padding/)
|
|
249
396
|
* @default {left: 0, top: 0, right: 0, bottom: 0}
|
|
397
|
+
* @see [Sample: Map padding](https://developers.arcgis.com/javascript/latest/sample-code/map-padding/)
|
|
250
398
|
*/
|
|
251
399
|
padding: __esri.ViewPadding;
|
|
252
400
|
/**
|
|
@@ -257,14 +405,22 @@ export declare class ArcgisMap extends LitElement {
|
|
|
257
405
|
*/
|
|
258
406
|
popup: nullish | __esri.Popup;
|
|
259
407
|
/**
|
|
260
|
-
* Controls whether the popup opens when users click on the view.
|
|
408
|
+
* Controls whether the popup opens automatically when users click on the view.
|
|
261
409
|
*
|
|
262
410
|
* @default false
|
|
263
411
|
*/
|
|
264
412
|
popupDisabled: boolean;
|
|
265
413
|
/**
|
|
266
|
-
* When `true`, this property indicates whether the view successfully satisfied all dependencies,
|
|
267
|
-
*
|
|
414
|
+
* When `true`, this property indicates whether the [view](#view) has successfully satisfied all dependencies, signaling that the following conditions are met:
|
|
415
|
+
*
|
|
416
|
+
* * The view has a [map](#map). If [map](#map)
|
|
417
|
+
* is a [WebMap](https://developers.arcgis.com/javascript/latest/api-reference/esri-WebMap.html), then the map
|
|
418
|
+
* must be [loaded](https://developers.arcgis.com/javascript/latest/api-reference/esri-WebMap.html#loaded).
|
|
419
|
+
* * The view has a [spatialReference](#spatialReference), a [center](#center), and a [scale](#scale).
|
|
420
|
+
* These also can be inferred by setting an [extent](#extent).
|
|
421
|
+
*
|
|
422
|
+
* When a view becomes ready it will resolve itself and invoke
|
|
423
|
+
* the callback defined in [viewOnReady()](#viewOnReady) where code can execute on a working view.
|
|
268
424
|
*
|
|
269
425
|
* @default false
|
|
270
426
|
*/
|
|
@@ -296,26 +452,73 @@ export declare class ArcgisMap extends LitElement {
|
|
|
296
452
|
rotation: number;
|
|
297
453
|
/**
|
|
298
454
|
* Represents the map scale at the center of the view. Setting the scale immediately changes the view. For animating
|
|
299
|
-
* the view, see this component's goTo() method.
|
|
455
|
+
* the view, see this component's [goTo()](#goTo) method.
|
|
300
456
|
*/
|
|
301
457
|
get scale(): number;
|
|
302
458
|
set scale(newValue: number);
|
|
303
459
|
/**
|
|
304
|
-
* The spatial reference of the view.
|
|
305
|
-
*
|
|
306
|
-
*
|
|
460
|
+
* The spatial reference of the view. This indicates the projected or geographic coordinate system used to locate geographic features in the map.
|
|
461
|
+
* You can change the spatialReference of the view after it is initialized by either directly changing
|
|
462
|
+
* this property, or by changing the basemap from the [Basemap Gallery](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-basemap-gallery/)
|
|
463
|
+
* and [Basemap Toggle](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-basemap-toggle/) components.
|
|
464
|
+
* Set [spatialReferenceLocked](#spatialReferenceLocked) property to `true` to prevent users from changing the view's spatial reference at runtime.
|
|
465
|
+
*
|
|
466
|
+
* Prior to changing the spatial reference, check if the [projectOperator](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-operators-projectOperator.html)
|
|
467
|
+
* is loaded by calling [projectOperator.isLoaded()](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-operators-projectOperator.html#isLoaded) method.
|
|
468
|
+
* If it is not yet loaded, call [projectOperator.load()](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-operators-projectOperator.html#load) method.
|
|
469
|
+
* If the `projectOperator` is not loaded, the view's [center](#center) will default to `[0, 0]` in the new spatial reference of the view and a console error will be thrown.
|
|
470
|
+
*
|
|
471
|
+
* **Notes**
|
|
472
|
+
*
|
|
473
|
+
* * [LayerViews](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-LayerView.html) not compatible with the view's spatial reference
|
|
474
|
+
* are not displayed. In such case, the layer view's [suspended](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-LayerView.html#suspended)
|
|
475
|
+
* property is `true` and [spatialReferenceSupported](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-LayerView.html#spatialReferenceSupported)
|
|
476
|
+
* property is `false`.
|
|
477
|
+
* * When setting view's spatial reference, the [center](#center), [extent](#extent) or [viewpoint.targetGeometry](#viewpoint) properties are projected to the new spatial
|
|
478
|
+
* reference. The [scale](#scale) and [rotation](#rotation) properties are adjusted to keep the content of the map at the same size and orientation on screen.
|
|
479
|
+
* * To ensure [TileLayers](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-TileLayer.html) and
|
|
480
|
+
* [VectorTileLayers](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-VectorTileLayer.html)
|
|
481
|
+
* are displayed in a [basemap](#basemap) correctly, the spatialReference of the view must be set match their
|
|
482
|
+
* [tileInfo's](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-TileInfo.html) spatial reference.
|
|
483
|
+
* * Switching spatial reference with an [imageCoordinateSystem](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-SpatialReference.html#imageCoordinateSystem)
|
|
484
|
+
* is not supported.
|
|
307
485
|
*
|
|
308
486
|
* @default null
|
|
487
|
+
* @name spatialReference
|
|
488
|
+
* @instance
|
|
489
|
+
* @type {module:esri/geometry/SpatialReference}
|
|
490
|
+
* @autocast
|
|
491
|
+
* @see [spatialReferenceLocked](#spatialReferenceLocked)
|
|
492
|
+
* @example
|
|
493
|
+
* ```js
|
|
494
|
+
* const viewElement = document.querySelector("arcgis-map");
|
|
495
|
+
* // check if the projectOperator is loaded
|
|
496
|
+
* if (!projectOperator.isLoaded()) {
|
|
497
|
+
* // load the projectOperator if it is not loaded
|
|
498
|
+
* projectOperator.load().then(() => {
|
|
499
|
+
* // change the spatial reference of the map component to equal earth projection
|
|
500
|
+
* viewElement.spatialReference = new SpatialReference({
|
|
501
|
+
* wkid: 54035 //equal earth projection
|
|
502
|
+
* });
|
|
503
|
+
* });
|
|
504
|
+
* } else {
|
|
505
|
+
* // the projectOperator is already loaded.
|
|
506
|
+
* // change the spatial reference of the view to equal earth projection
|
|
507
|
+
* viewElement.spatialReference = new SpatialReference({
|
|
508
|
+
* wkid: 54035 //equal earth projection
|
|
509
|
+
* });
|
|
510
|
+
* }
|
|
511
|
+
* ```
|
|
309
512
|
*/
|
|
310
513
|
spatialReference: __esri.SpatialReference;
|
|
311
514
|
/**
|
|
312
|
-
* Indicates if the map's spatialReference can be changed after it is ready.
|
|
515
|
+
* Indicates if the map's [spatialReference](#spatialReference) can be changed after it is ready.
|
|
313
516
|
* The default is `false`, indicating the map's spatialReference can be changed at runtime.
|
|
314
517
|
* When true, basemaps with spatial references that do not match the map's spatial reference
|
|
315
518
|
* will be disabled in [arcgis-basemap-gallery](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-basemap-gallery/) and [arcgis-basemap-toggle](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-basemap-toggle/) components and the map's spatialReference cannot be changed at runtime.
|
|
316
519
|
*
|
|
317
|
-
* @since 4.34
|
|
318
520
|
* @default false
|
|
521
|
+
* @since 4.34
|
|
319
522
|
*/
|
|
320
523
|
spatialReferenceLocked: boolean;
|
|
321
524
|
/**
|
|
@@ -331,8 +534,7 @@ export declare class ArcgisMap extends LitElement {
|
|
|
331
534
|
*/
|
|
332
535
|
readonly suspended: boolean;
|
|
333
536
|
/**
|
|
334
|
-
* This property specifies the base colors used by some
|
|
335
|
-
* and components to render graphics and labels.
|
|
537
|
+
* This property specifies the base colors used by some components to render graphics and labels.
|
|
336
538
|
*
|
|
337
539
|
* @default null
|
|
338
540
|
*/
|
|
@@ -364,7 +566,7 @@ export declare class ArcgisMap extends LitElement {
|
|
|
364
566
|
/**
|
|
365
567
|
* Represents the current view as a Viewpoint or point of observation on the view.
|
|
366
568
|
* Setting the viewpoint immediately changes the current view. For animating
|
|
367
|
-
* the view, see this component's goTo() method.
|
|
569
|
+
* the view, see this component's [goTo()](#goTo) method.
|
|
368
570
|
*/
|
|
369
571
|
get viewpoint(): __esri.Viewpoint;
|
|
370
572
|
set viewpoint(newValue: __esri.Viewpoint);
|
|
@@ -376,25 +578,30 @@ export declare class ArcgisMap extends LitElement {
|
|
|
376
578
|
*/
|
|
377
579
|
readonly visibleArea: __esri.Polygon | nullish;
|
|
378
580
|
/**
|
|
379
|
-
* Represents the level of detail (LOD) at the center of the
|
|
380
|
-
* A zoom level (or scale) is a number that defines how large or small the contents of a map appear in a
|
|
581
|
+
* Represents the level of detail (LOD) at the center of the map.
|
|
582
|
+
* A zoom level (or scale) is a number that defines how large or small the contents of a map appear in a Map component.
|
|
381
583
|
* Zoom level is a number usually between 0 (global view) and 23 (very detailed view) and is used as a shorthand for predetermined scale values.
|
|
382
|
-
* A value of -1 means the
|
|
383
|
-
* When setting the zoom value, the
|
|
384
|
-
* MapView can display maps with different projections at a full range of scales, and so use the scale property on this component rather than zoom level.
|
|
584
|
+
* A value of -1 means the map has no LODs.
|
|
585
|
+
* When setting the zoom value, the component converts it to the corresponding scale, or interpolates it if the zoom is a fractional number.
|
|
385
586
|
*
|
|
386
|
-
* Setting the zoom immediately changes the current view. For animating the view, see this component's goTo() method.
|
|
587
|
+
* Setting the zoom immediately changes the current view. For animating the view, see this component's [goTo()](#goTo) method.
|
|
387
588
|
* Setting this property in conjunction with `center` is a convenient way to set the initial extent of the view.
|
|
388
589
|
*/
|
|
389
590
|
get zoom(): number;
|
|
390
591
|
set zoom(newValue: number);
|
|
391
|
-
/**
|
|
592
|
+
/**
|
|
593
|
+
* An array of objects that encountered an error while loading the component or any of its dependencies (e.g., basemap, ground, layers, tables). You may inspect the errors by accessing each object's `loadError` property.
|
|
594
|
+
*
|
|
595
|
+
* @since 4.34
|
|
596
|
+
*/
|
|
392
597
|
loadErrorSources?: LoadErrorSource[];
|
|
393
598
|
/**
|
|
394
599
|
* @deprecated
|
|
395
600
|
* since 4.33, use `element.map.add(layer)` instead.
|
|
396
601
|
*
|
|
397
602
|
* Adds a layer to the map layers collection.
|
|
603
|
+
* @param layer
|
|
604
|
+
* @param index
|
|
398
605
|
*/
|
|
399
606
|
addLayer(layer: __esri.Layer | Promise<any>, index?: number): Promise<void>;
|
|
400
607
|
/**
|
|
@@ -402,6 +609,8 @@ export declare class ArcgisMap extends LitElement {
|
|
|
402
609
|
* since 4.33, use `element.map.addMany([layer])` instead.
|
|
403
610
|
*
|
|
404
611
|
* Adds a layer or array of layers to the map layers collection.
|
|
612
|
+
* @param layers
|
|
613
|
+
* @param index
|
|
405
614
|
*/
|
|
406
615
|
addLayers(layers: __esri.Layer[], index?: number): Promise<void>;
|
|
407
616
|
/**
|
|
@@ -409,6 +618,7 @@ export declare class ArcgisMap extends LitElement {
|
|
|
409
618
|
* since 4.33, use `element.map.tables.add(table)` instead.
|
|
410
619
|
*
|
|
411
620
|
* Adds a table to the map tables collection.
|
|
621
|
+
* @param table
|
|
412
622
|
*/
|
|
413
623
|
addTable(table: __esri.FeatureLayer): Promise<void>;
|
|
414
624
|
/**
|
|
@@ -416,24 +626,111 @@ export declare class ArcgisMap extends LitElement {
|
|
|
416
626
|
* since 4.33, use `element.map.tables.addMany([table])` instead.
|
|
417
627
|
*
|
|
418
628
|
* Adds a table or array of tables to the map tables collection.
|
|
629
|
+
* @param tables
|
|
630
|
+
* @param index
|
|
419
631
|
*/
|
|
420
632
|
addTables(tables: __esri.FeatureLayer[], index?: number): Promise<void>;
|
|
421
633
|
/** Closes the popup. */
|
|
422
634
|
closePopup(): Promise<void>;
|
|
423
635
|
/** Destroys the view, and any associated resources, including its map, popup, and UI elements. */
|
|
424
636
|
destroy(): Promise<void>;
|
|
425
|
-
/**
|
|
637
|
+
/**
|
|
638
|
+
* Sets the view to a given target.
|
|
639
|
+
*
|
|
640
|
+
* @param target
|
|
641
|
+
* @param options
|
|
642
|
+
*/
|
|
426
643
|
goTo(target: __esri.GoToTarget2D, options?: __esri.GoToOptions2D): Promise<unknown>;
|
|
427
|
-
/**
|
|
644
|
+
/**
|
|
645
|
+
* Returns [hit test results](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#HitTestResult)
|
|
646
|
+
* from each layer that intersects the specified screen coordinates. The results are
|
|
647
|
+
* organized as an array of objects containing different [result types](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#HitTestResult).
|
|
648
|
+
*
|
|
649
|
+
* The following layer types will return all [features](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#GraphicHit) if a hit is
|
|
650
|
+
* made on intersecting features: [FeatureLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html),
|
|
651
|
+
* [CatalogLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-CatalogLayer.html),
|
|
652
|
+
* [CSVLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-CSVLayer.html),
|
|
653
|
+
* [GeoJSONLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-GeoJSONLayer.html),
|
|
654
|
+
* [GeoRSSLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-GeoRSSLayer.html),
|
|
655
|
+
* [GraphicsLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-GraphicsLayer.html),
|
|
656
|
+
* [KMLLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-KMLLayer.html),
|
|
657
|
+
* [MapNotesLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-MapNotesLayer.html),
|
|
658
|
+
* [OGCFeatureLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-OGCFeatureLayer.html),
|
|
659
|
+
* [StreamLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-StreamLayer.html),
|
|
660
|
+
* [SubtypeSublayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-SubtypeSublayer.html),
|
|
661
|
+
* [VectorTileLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-VectorTileLayer.html), and
|
|
662
|
+
* [WFSLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-WFSLayer.html).
|
|
663
|
+
*
|
|
664
|
+
* The [ParquetLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-ParquetLayer.html) hit result returns only the topmost feature
|
|
665
|
+
* when the hit occurs on overlapping features in a ParquetLayer.
|
|
666
|
+
*
|
|
667
|
+
* The [VectorTileLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-VectorTileLayer.html) hit test result contains an array of objects containing
|
|
668
|
+
* a [graphic](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#GraphicHit).
|
|
669
|
+
* The graphic returns attributes of a style layer. In addition, the graphic's [origin](https://developers.arcgis.com/javascript/latest/api-reference/esri-Graphic.html#origin)
|
|
670
|
+
* contains the style layer's [id](https://maplibre.org/maplibre-style-spec/layers/#id) and layer index within the [vector tile style](https://doc.arcgis.com/en/arcgis-online/reference/tile-layers.htm#ESRI_SECTION1_8F68399EB47B48FF9EF46719FCC96978).
|
|
671
|
+
* Spatial information about the actual feature represented in the style layer is returned only if the style layer is a [symbol layer](https://maplibre.org/maplibre-style-spec/layers/#symbol).
|
|
672
|
+
* Otherwise, the graphic's geometry is `null`.
|
|
673
|
+
*
|
|
674
|
+
* The [MediaLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-MediaLayer.html) hit test result contains all media elements if the hit is made on intersecting elements.
|
|
675
|
+
* The [RouteLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-RouteLayer.html) hit test result contains all route elements if the hit is made on intersecting elements.
|
|
676
|
+
*
|
|
677
|
+
* If the [polygon](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Polygon.html) feature's symbol
|
|
678
|
+
* [style](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-SimpleFillSymbol.html#style) is set to `none`, the hitTest method will not
|
|
679
|
+
* return results when the fill is clicked. However, it will return results when the outline is clicked. To get results when clicking the fill, set the
|
|
680
|
+
* [color](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-SimpleFillSymbol.html#color) to a transparent color instead.
|
|
681
|
+
*
|
|
682
|
+
* @param screenPoint
|
|
683
|
+
* @param options
|
|
684
|
+
* @example
|
|
685
|
+
* ```js
|
|
686
|
+
* viewElement.addEventListener("arcgisViewClick", (event) => {
|
|
687
|
+
* viewElement.hitTest(event.detail).then((response) => {
|
|
688
|
+
* const result = response.results[0];
|
|
689
|
+
* if (result?.type === "graphic") {
|
|
690
|
+
* const { longitude, latitude } = result.mapPoint;
|
|
691
|
+
* console.log(`Hit graphic at (${longitude}, ${latitude})`, result.graphic);
|
|
692
|
+
* } else {
|
|
693
|
+
* console.log("Did not hit any graphic");
|
|
694
|
+
* }
|
|
695
|
+
* });
|
|
696
|
+
* });
|
|
697
|
+
* ```
|
|
698
|
+
* @example
|
|
699
|
+
* ```js
|
|
700
|
+
* // get screenpoint from view's click event
|
|
701
|
+
* viewElement.addEventListener("arcgisViewClick", async (event) => {
|
|
702
|
+
* // Search for all media elements only on included mediaLayer at the clicked location
|
|
703
|
+
* const response = await viewElement.hitTest(event.detail, {
|
|
704
|
+
* include: {mediaLayer}
|
|
705
|
+
* });
|
|
706
|
+
* // if media elements are returned from the mediaLayer, do something with results
|
|
707
|
+
* if (response.results.length){
|
|
708
|
+
* // do something
|
|
709
|
+
* console.log(response.results.length, "elements returned");
|
|
710
|
+
* }
|
|
711
|
+
* });
|
|
712
|
+
* ```
|
|
713
|
+
*/
|
|
428
714
|
hitTest(screenPoint: __esri.MapViewScreenPoint | MouseEvent, options?: __esri.MapViewHitTestOptions): Promise<__esri.HitTestResult>;
|
|
429
715
|
/**
|
|
430
716
|
* Opens the popup at the given location with content defined either explicitly with content or driven
|
|
431
717
|
* from the PopupTemplate of input features.
|
|
718
|
+
*
|
|
719
|
+
* @param options
|
|
432
720
|
*/
|
|
433
721
|
openPopup(options?: __esri.PopupViewOpenPopupOptions): Promise<void>;
|
|
434
|
-
/**
|
|
722
|
+
/**
|
|
723
|
+
* Create a screenshot of the current view.
|
|
724
|
+
*
|
|
725
|
+
* @param options
|
|
726
|
+
*/
|
|
435
727
|
takeScreenshot(options?: __esri.MapViewTakeScreenshotOptions): Promise<__esri.Screenshot>;
|
|
728
|
+
/** @param screenPoint */
|
|
436
729
|
toMap(screenPoint: __esri.MapViewScreenPoint | MouseEvent): __esri.Point;
|
|
730
|
+
/**
|
|
731
|
+
* @param point
|
|
732
|
+
* @param options
|
|
733
|
+
*/
|
|
437
734
|
toScreen(point: __esri.Point, options?: __esri.ToScreenOptions2D): __esri.MapViewScreenPoint | nullish;
|
|
438
735
|
/** Call this method to clear any fatal errors resulting from a lost WebGL context. */
|
|
439
736
|
tryFatalErrorRecovery(): Promise<void>;
|
|
@@ -441,6 +738,8 @@ export declare class ArcgisMap extends LitElement {
|
|
|
441
738
|
* `viewOnReady()` may be leveraged once an instance of the component and its underlying [view](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/#view) is created and ready.
|
|
442
739
|
* This method takes two input parameters, a `callback` function and an `errback` function, and returns a promise. The `callback` executes when the promise resolves, and the `errback` executes if the promise is rejected.
|
|
443
740
|
*
|
|
741
|
+
* @param callback
|
|
742
|
+
* @param errback
|
|
444
743
|
* @since 4.33
|
|
445
744
|
* @see [Watch for changes - waiting for components or views to be ready](https://developers.arcgis.com/javascript/latest/watch-for-changes/#waiting-for-components-or-views-to-be-ready)
|
|
446
745
|
* @example
|
|
@@ -456,170 +755,322 @@ export declare class ArcgisMap extends LitElement {
|
|
|
456
755
|
* Gets the analysis view created for the given analysis object.
|
|
457
756
|
*
|
|
458
757
|
* [Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#whenAnalysisView)
|
|
758
|
+
*
|
|
759
|
+
* @param analysis
|
|
760
|
+
* @since 4.34
|
|
459
761
|
*/
|
|
460
762
|
whenAnalysisView(analysis: __esri.ElevationProfileAnalysis): Promise<__esri.ElevationProfileAnalysisView2D>;
|
|
461
763
|
/**
|
|
462
764
|
* Gets the LayerView created on the view for the given layer.
|
|
463
765
|
*
|
|
464
766
|
* [Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#whenLayerView)
|
|
767
|
+
*
|
|
768
|
+
* @param layer
|
|
465
769
|
*/
|
|
466
770
|
whenLayerView(layer: __esri.PointCloudLayer): Promise<__esri.PointCloudLayerView>;
|
|
467
771
|
/**
|
|
468
772
|
* Gets the LayerView created on the view for the given layer.
|
|
469
773
|
*
|
|
470
774
|
* [Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#whenLayerView)
|
|
775
|
+
*
|
|
776
|
+
* @param layer
|
|
471
777
|
*/
|
|
472
778
|
whenLayerView(layer: __esri.StreamLayer): Promise<__esri.StreamLayerView>;
|
|
473
779
|
/**
|
|
474
780
|
* Gets the LayerView created on the view for the given layer.
|
|
475
781
|
*
|
|
476
782
|
* [Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#whenLayerView)
|
|
783
|
+
*
|
|
784
|
+
* @param layer
|
|
477
785
|
*/
|
|
478
786
|
whenLayerView(layer: __esri.WFSLayer): Promise<__esri.WFSLayerView>;
|
|
479
787
|
/**
|
|
480
788
|
* Gets the LayerView created on the view for the given layer.
|
|
481
789
|
*
|
|
482
790
|
* [Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#whenLayerView)
|
|
791
|
+
*
|
|
792
|
+
* @param layer
|
|
483
793
|
*/
|
|
484
794
|
whenLayerView(layer: __esri.OGCFeatureLayer): Promise<__esri.OGCFeatureLayerView>;
|
|
485
795
|
/**
|
|
486
796
|
* Gets the LayerView created on the view for the given layer.
|
|
487
797
|
*
|
|
488
798
|
* [Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#whenLayerView)
|
|
799
|
+
*
|
|
800
|
+
* @param layer
|
|
489
801
|
*/
|
|
490
802
|
whenLayerView(layer: __esri.FeatureLayer): Promise<__esri.FeatureLayerView>;
|
|
491
803
|
/**
|
|
492
804
|
* Gets the LayerView created on the view for the given layer.
|
|
493
805
|
*
|
|
494
806
|
* [Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#whenLayerView)
|
|
807
|
+
*
|
|
808
|
+
* @param layer
|
|
495
809
|
*/
|
|
496
810
|
whenLayerView(layer: __esri.CSVLayer): Promise<__esri.CSVLayerView>;
|
|
497
811
|
/**
|
|
498
812
|
* Gets the LayerView created on the view for the given layer.
|
|
499
813
|
*
|
|
500
814
|
* [Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#whenLayerView)
|
|
815
|
+
*
|
|
816
|
+
* @param layer
|
|
501
817
|
*/
|
|
502
818
|
whenLayerView(layer: __esri.GeoJSONLayer): Promise<__esri.GeoJSONLayerView>;
|
|
503
819
|
/**
|
|
504
820
|
* Gets the LayerView created on the view for the given layer.
|
|
505
821
|
*
|
|
506
822
|
* [Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#whenLayerView)
|
|
823
|
+
*
|
|
824
|
+
* @param layer
|
|
507
825
|
*/
|
|
508
826
|
whenLayerView(layer: __esri.GeoRSSLayer): Promise<__esri.GeoRSSLayerView>;
|
|
509
827
|
/**
|
|
510
828
|
* Gets the LayerView created on the view for the given layer.
|
|
511
829
|
*
|
|
512
830
|
* [Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#whenLayerView)
|
|
831
|
+
*
|
|
832
|
+
* @param layer
|
|
513
833
|
*/
|
|
514
834
|
whenLayerView(layer: __esri.GraphicsLayer): Promise<__esri.GraphicsLayerView>;
|
|
515
835
|
/**
|
|
516
836
|
* Gets the LayerView created on the view for the given layer.
|
|
517
837
|
*
|
|
518
838
|
* [Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#whenLayerView)
|
|
839
|
+
*
|
|
840
|
+
* @param layer
|
|
519
841
|
*/
|
|
520
842
|
whenLayerView(layer: __esri.ImageryLayer): Promise<__esri.ImageryLayerView>;
|
|
521
843
|
/**
|
|
522
844
|
* Gets the LayerView created on the view for the given layer.
|
|
523
845
|
*
|
|
524
846
|
* [Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#whenLayerView)
|
|
847
|
+
*
|
|
848
|
+
* @param layer
|
|
525
849
|
*/
|
|
526
850
|
whenLayerView(layer: __esri.KMLLayer): Promise<__esri.KMLLayerView>;
|
|
527
851
|
/**
|
|
528
852
|
* Gets the LayerView created on the view for the given layer.
|
|
529
853
|
*
|
|
530
854
|
* [Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#whenLayerView)
|
|
855
|
+
*
|
|
856
|
+
* @param layer
|
|
531
857
|
*/
|
|
532
858
|
whenLayerView(layer: __esri.SceneLayer): Promise<__esri.SceneLayerView>;
|
|
533
859
|
/**
|
|
534
860
|
* Gets the LayerView created on the view for the given layer.
|
|
535
861
|
*
|
|
536
862
|
* [Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#whenLayerView)
|
|
863
|
+
*
|
|
864
|
+
* @param layer
|
|
537
865
|
*/
|
|
538
866
|
whenLayerView(layer: __esri.DimensionLayer): Promise<__esri.DimensionLayerView>;
|
|
539
867
|
/**
|
|
540
868
|
* Gets the LayerView created on the view for the given layer.
|
|
541
869
|
*
|
|
542
870
|
* [Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#whenLayerView)
|
|
871
|
+
*
|
|
872
|
+
* @param layer
|
|
543
873
|
*/
|
|
544
874
|
whenLayerView(layer: __esri.MediaLayer): Promise<__esri.MediaLayerView>;
|
|
545
875
|
/**
|
|
546
876
|
* Gets the LayerView created on the view for the given layer.
|
|
547
877
|
*
|
|
548
878
|
* [Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#whenLayerView)
|
|
879
|
+
*
|
|
880
|
+
* @param layer
|
|
549
881
|
*/
|
|
550
882
|
whenLayerView(layer: __esri.ViewshedLayer): Promise<__esri.ViewshedLayerView>;
|
|
551
883
|
/**
|
|
552
884
|
* Gets the LayerView created on the view for the given layer.
|
|
553
885
|
*
|
|
554
886
|
* [Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#whenLayerView)
|
|
887
|
+
*
|
|
888
|
+
* @param layer
|
|
555
889
|
*/
|
|
556
890
|
whenLayerView(layer: __esri.LineOfSightLayer): Promise<__esri.LineOfSightLayerView>;
|
|
557
891
|
/**
|
|
558
892
|
* Gets the LayerView created on the view for the given layer.
|
|
559
893
|
*
|
|
560
894
|
* [Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#whenLayerView)
|
|
895
|
+
*
|
|
896
|
+
* @param layer
|
|
561
897
|
*/
|
|
562
898
|
whenLayerView(layer: __esri.Layer): Promise<__esri.LayerView>;
|
|
563
899
|
/**
|
|
564
900
|
* Fires when the view for an analysis is created.
|
|
565
901
|
*
|
|
566
902
|
* [Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#event-analysis-view-create)
|
|
903
|
+
*
|
|
904
|
+
* @since 4.34
|
|
567
905
|
*/
|
|
568
906
|
readonly arcgisViewAnalysisViewCreate: TargetedEvent<this, __esri.ViewAnalysisViewCreateEvent>;
|
|
569
907
|
/**
|
|
570
908
|
* Fires when an error occurs during the creation of an analysis view after an analysis is added to the view.
|
|
571
909
|
*
|
|
572
910
|
* [Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#event-analysis-view-create-error)
|
|
911
|
+
*
|
|
912
|
+
* @since 4.34
|
|
573
913
|
*/
|
|
574
914
|
readonly arcgisViewAnalysisViewCreateError: TargetedEvent<this, __esri.ViewAnalysisViewCreateErrorEvent>;
|
|
575
915
|
/**
|
|
576
916
|
* Fires after an analysis view is destroyed.
|
|
577
917
|
*
|
|
578
918
|
* [Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#event-analysis-view-destroy)
|
|
919
|
+
*
|
|
920
|
+
* @since 4.34
|
|
579
921
|
*/
|
|
580
922
|
readonly arcgisViewAnalysisViewDestroy: TargetedEvent<this, __esri.ViewAnalysisViewDestroyEvent>;
|
|
581
923
|
/**
|
|
582
|
-
* This event is
|
|
583
|
-
*
|
|
924
|
+
* This event is triggered when view-related properties change, such as [zoom](#zoom), [scale](#scale), [center](#center), [rotation](#rotation), [extent](#extent),
|
|
925
|
+
* [viewpoint](#viewpoint), or [stationary](#stationary).
|
|
926
|
+
* It reflects user interactions (e.g. panning or zooming) or programmatic updates to the view.
|
|
927
|
+
*
|
|
928
|
+
* @example
|
|
929
|
+
* ```js
|
|
930
|
+
* // get the number of features in a layer view whenever the view becomes stationary
|
|
931
|
+
* viewElement.addEventListener("arcgisViewChange", async (event) =>{
|
|
932
|
+
* if (viewElement.stationary) {
|
|
933
|
+
* // Returns number of features available for drawing in a given layer view
|
|
934
|
+
* const count = await layerView.queryFeatureCount({
|
|
935
|
+
* geometry: viewElement.extent
|
|
936
|
+
* });
|
|
937
|
+
* // use the features count
|
|
938
|
+
* }
|
|
939
|
+
* });
|
|
940
|
+
* ```
|
|
584
941
|
*/
|
|
585
942
|
readonly arcgisViewChange: TargetedEvent<this, void>;
|
|
586
|
-
/**
|
|
943
|
+
/**
|
|
944
|
+
* Fires after a user clicks on the view. This event emits slightly slower than an [arcgisViewImmediateClick](#arcgisViewImmediateClick)
|
|
945
|
+
* event to make sure that an [arcgisViewDoubleClick](#arcgisViewDoubleClick) event isn't triggered instead. The `arcgisViewImmediateClick`
|
|
946
|
+
* event can be used for responding to an `arcgisViewClick` event without delay.
|
|
947
|
+
*
|
|
948
|
+
* @example
|
|
949
|
+
* ```js
|
|
950
|
+
* // Listen for clicks on the view and perform a hit test on a feature layer
|
|
951
|
+
* viewElement.addEventListener("arcgisViewClick", (event) => {
|
|
952
|
+
* // Return hit test results from the feature layer
|
|
953
|
+
* // where it intersects the screen coordinates from the click event.
|
|
954
|
+
* // The result is a polygon representing the state that was clicked.
|
|
955
|
+
* viewElement.hitTest(event.detail).then((response) => {
|
|
956
|
+
* if (response.results.length) {
|
|
957
|
+
* const stateBoundaryPolygon = response.results.find((result) => {
|
|
958
|
+
* return result.graphic.layer === stateBoundaryFeatureLayer;
|
|
959
|
+
* }).graphic.geometry;
|
|
960
|
+
*
|
|
961
|
+
* getPolygonCentroid(stateBoundaryPolygon);
|
|
962
|
+
* }
|
|
963
|
+
* });
|
|
964
|
+
* });
|
|
965
|
+
* ```
|
|
966
|
+
*/
|
|
587
967
|
readonly arcgisViewClick: TargetedEvent<this, __esri.ViewClickEvent>;
|
|
588
|
-
/**
|
|
968
|
+
/**
|
|
969
|
+
* Fires after double-clicking on the view.
|
|
970
|
+
*
|
|
971
|
+
* @example
|
|
972
|
+
* ```js
|
|
973
|
+
* viewElement.addEventListener("arcgisViewDoubleClick", async (event) => {
|
|
974
|
+
* // Prevent the default zoom-in behavior on double-click
|
|
975
|
+
* event.detail.stopPropagation();
|
|
976
|
+
* });
|
|
977
|
+
* ```
|
|
978
|
+
*/
|
|
589
979
|
readonly arcgisViewDoubleClick: TargetedEvent<this, __esri.ViewDoubleClickEvent>;
|
|
590
980
|
/** Fires during a pointer drag on the view. */
|
|
591
981
|
readonly arcgisViewDrag: TargetedEvent<this, __esri.ViewDragEvent>;
|
|
592
|
-
/** Fires
|
|
982
|
+
/** Fires after holding either a mouse button or a single finger on the view for a short amount of time. */
|
|
593
983
|
readonly arcgisViewHold: TargetedEvent<this, __esri.ViewHoldEvent>;
|
|
594
|
-
/**
|
|
984
|
+
/**
|
|
985
|
+
* Fires right after a user clicks on the view. In contrast to the [arcgisViewClick](#arcgisViewClick) event, the `arcgisViewImmediateClick`
|
|
986
|
+
* is emitted as soon as the user clicks on the view, and is not inhibited by a [arcgisViewDoubleClick](#arcgisViewDoubleClick) event.
|
|
987
|
+
* This event is useful for interactive experiences that require feedback without delay.
|
|
988
|
+
*
|
|
989
|
+
* @example
|
|
990
|
+
* ```js
|
|
991
|
+
* viewElement.addEventListener("arcgisViewImmediateClick", async (event) => {
|
|
992
|
+
* // Prevent the default zoom-in behavior on arcgisViewImmediateClick
|
|
993
|
+
* event.detail.stopPropagation();
|
|
994
|
+
* });
|
|
995
|
+
* ```
|
|
996
|
+
*/
|
|
595
997
|
readonly arcgisViewImmediateClick: TargetedEvent<this, __esri.ViewImmediateClickEvent>;
|
|
596
|
-
/**
|
|
998
|
+
/**
|
|
999
|
+
* Fires after after two consecutive [arcgisViewImmediateClick](#arcgisViewImmediateClick) events. In contrast to [arcgisViewDoubleClick](#arcgisViewDoubleClick),
|
|
1000
|
+
* an `arcgisViewImmediateDoubleClick` cannot be prevented by use of `stopPropagation()` on the [arcgisViewImmediateClick](#arcgisViewImmediateClick)
|
|
1001
|
+
* event and can therefore be used to react to double-clicking independently of usage of the [arcgisViewImmediateClick](#arcgisViewImmediateClick) event.
|
|
1002
|
+
*/
|
|
597
1003
|
readonly arcgisViewImmediateDoubleClick: TargetedEvent<this, __esri.ViewImmediateDoubleClickEvent>;
|
|
598
|
-
/**
|
|
1004
|
+
/**
|
|
1005
|
+
* Fires after a keyboard key is pressed.
|
|
1006
|
+
*
|
|
1007
|
+
* @example
|
|
1008
|
+
* ```js
|
|
1009
|
+
* // Disable zooming with the keyboard
|
|
1010
|
+
* // Stop event propagation when `+` and `-` keys are pressed.
|
|
1011
|
+
* viewElement.addEventListener("arcgisViewKeyDown", function(event){
|
|
1012
|
+
* console.log("key-down", event);
|
|
1013
|
+
*
|
|
1014
|
+
* const prohibitedKeys = ["+", "-"];
|
|
1015
|
+
* const keyPressed = event.detail.key;
|
|
1016
|
+
* if (prohibitedKeys.indexOf(keyPressed) !== -1) {
|
|
1017
|
+
* event.detail.stopPropagation();
|
|
1018
|
+
* }
|
|
1019
|
+
* });
|
|
1020
|
+
* ```
|
|
1021
|
+
*/
|
|
599
1022
|
readonly arcgisViewKeyDown: TargetedEvent<this, __esri.ViewKeyDownEvent>;
|
|
600
|
-
/** Fires after a keyboard key is
|
|
1023
|
+
/** Fires after a keyboard key is released. */
|
|
601
1024
|
readonly arcgisViewKeyUp: TargetedEvent<this, __esri.ViewKeyUpEvent>;
|
|
602
|
-
/**
|
|
1025
|
+
/**
|
|
1026
|
+
* Fires after each layer in the map has a corresponding
|
|
1027
|
+
* [LayerView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-LayerView.html)
|
|
1028
|
+
* created and rendered in the view.
|
|
1029
|
+
*/
|
|
603
1030
|
readonly arcgisViewLayerviewCreate: TargetedEvent<this, __esri.ViewLayerviewCreateEvent>;
|
|
604
|
-
/**
|
|
1031
|
+
/**
|
|
1032
|
+
* Fires when an error occurs during the creation of a [LayerView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-LayerView.html)
|
|
1033
|
+
* after a layer has been added to the map.
|
|
1034
|
+
*/
|
|
605
1035
|
readonly arcgisViewLayerviewCreateError: TargetedEvent<this, __esri.ViewLayerviewCreateErrorEvent>;
|
|
606
|
-
/**
|
|
1036
|
+
/**
|
|
1037
|
+
* Fires after a [LayerView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-LayerView.html)
|
|
1038
|
+
* is destroyed and is no longer rendered in the view.
|
|
1039
|
+
*/
|
|
607
1040
|
readonly arcgisViewLayerviewDestroy: TargetedEvent<this, __esri.ViewLayerviewDestroyEvent>;
|
|
608
|
-
/**
|
|
1041
|
+
/**
|
|
1042
|
+
* Fires when a wheel button of a pointing device (typically a mouse) is scrolled on the view.
|
|
1043
|
+
*
|
|
1044
|
+
* @example
|
|
1045
|
+
* ```js
|
|
1046
|
+
* viewElement.addEventListener("arcgisViewMouseWheel", async (event) => {
|
|
1047
|
+
* // Prevent the default zoom-in and zoom-out behavior on arcgisViewMouseWheel
|
|
1048
|
+
* event.detail.stopPropagation();
|
|
1049
|
+
* });
|
|
1050
|
+
* ```
|
|
1051
|
+
*/
|
|
609
1052
|
readonly arcgisViewMouseWheel: TargetedEvent<this, __esri.ViewMouseWheelEvent>;
|
|
610
|
-
/**
|
|
1053
|
+
/**
|
|
1054
|
+
* Fires after a mouse button is pressed, or a finger touches the display.
|
|
1055
|
+
*
|
|
1056
|
+
* @see [Sample: Access features with hitTest](https://developers.arcgis.com/javascript/latest/sample-code/map-component-hittest/)
|
|
1057
|
+
*/
|
|
611
1058
|
readonly arcgisViewPointerDown: TargetedEvent<this, __esri.ViewPointerDownEvent>;
|
|
612
1059
|
/** Fires after a mouse cursor enters the view, or a display touch begins. */
|
|
613
1060
|
readonly arcgisViewPointerEnter: TargetedEvent<this, __esri.ViewPointerEnterEvent>;
|
|
614
1061
|
/** Fires after a mouse cursor leaves the view, or a display touch ends. */
|
|
615
1062
|
readonly arcgisViewPointerLeave: TargetedEvent<this, __esri.ViewPointerLeaveEvent>;
|
|
616
|
-
/**
|
|
1063
|
+
/**
|
|
1064
|
+
* Fires after the mouse or a finger on the display moves.
|
|
1065
|
+
*
|
|
1066
|
+
* @see [Sample: Access features with hitTest](https://developers.arcgis.com/javascript/latest/sample-code/map-component-hittest/)
|
|
1067
|
+
*/
|
|
617
1068
|
readonly arcgisViewPointerMove: TargetedEvent<this, __esri.ViewPointerMoveEvent>;
|
|
618
1069
|
/** Fires after a mouse button is released, or a display touch ends. */
|
|
619
1070
|
readonly arcgisViewPointerUp: TargetedEvent<this, __esri.ViewPointerUpEvent>;
|
|
620
1071
|
/**
|
|
621
|
-
* This event is for the `ready` property and
|
|
622
|
-
*
|
|
1072
|
+
* This event is for the `ready` property and is emitted when the view is ready.
|
|
1073
|
+
* Fires also when the [map](#map) is updated.
|
|
623
1074
|
*/
|
|
624
1075
|
readonly arcgisViewReadyChange: TargetedEvent<this, void>;
|
|
625
1076
|
private _map: __esri.Map;
|