@arcgis/map-components 5.0.0-next.7 → 5.0.0-next.71
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/{AMG4CQWO.js → 25MTYPG7.js} +2 -2
- package/dist/cdn/2ENVPPC2.js +4 -0
- package/dist/cdn/2N7N2XOS.js +4 -0
- package/dist/cdn/2PPXGILJ.js +4 -0
- package/dist/cdn/2PW7EQ4D.js +4 -0
- package/dist/cdn/2QPT2ZP4.js +4 -0
- package/dist/cdn/{G5PMGVU4.js → 2UD5CADS.js} +2 -2
- package/dist/cdn/{YXSNZP3J.js → 2WDLD4PP.js} +2 -2
- package/dist/cdn/2YAARW2G.js +4 -0
- package/dist/cdn/2YKVF7XN.js +4 -0
- package/dist/cdn/33V2BTFA.js +4 -0
- package/dist/cdn/3QINMTW2.js +4 -0
- package/dist/cdn/3WWAQMTP.js +4 -0
- package/dist/cdn/3YHUU45B.js +4 -0
- package/dist/cdn/{C2236CBZ.js → 43A6P6H2.js} +1 -1
- package/dist/cdn/474TZ4PK.js +4 -0
- package/dist/cdn/4BH7EKTR.js +4 -0
- package/dist/cdn/4C4GLK7I.js +4 -0
- package/dist/cdn/4GBEEWNV.js +4 -0
- package/dist/cdn/{R5W7EQYL.js → 4MOPLWIM.js} +2 -2
- package/dist/cdn/4PBELKFV.js +4 -0
- package/dist/cdn/{W5T3D66S.js → 4PNBN3DU.js} +2 -2
- package/dist/cdn/4SKUWCIE.js +4 -0
- package/dist/cdn/5AHCAHBR.js +4 -0
- package/dist/cdn/5IG73RFY.js +4 -0
- package/dist/cdn/{RJPMPWQK.js → 5INWFQR3.js} +2 -2
- package/dist/cdn/5RHTJMAU.js +9 -0
- package/dist/cdn/{W2ENKEBL.js → 5VI72H3Z.js} +2 -2
- package/dist/cdn/{BJLLWEDQ.js → 6AVCHD6H.js} +1 -1
- package/dist/cdn/6DCQH5JX.js +4 -0
- package/dist/cdn/{EOCT6FGC.js → 6K4NWV7B.js} +2 -2
- package/dist/cdn/7GYG4IEX.js +4 -0
- package/dist/cdn/{HDNA5F6G.js → 7IVE3VPE.js} +2 -2
- package/dist/cdn/7KLBXM66.js +4 -0
- package/dist/cdn/{XPV6WDON.js → 7OWHKGQD.js} +1 -1
- package/dist/cdn/7SQHTHHC.js +4 -0
- package/dist/cdn/{UEGTZRQO.js → 7UBQJMHA.js} +2 -2
- package/dist/cdn/A25INMKO.js +4 -0
- package/dist/cdn/A6AE62VH.js +4 -0
- package/dist/cdn/{CV67UIOI.js → AAXKZHXS.js} +2 -2
- package/dist/cdn/AB775LN7.js +4 -0
- package/dist/cdn/{FBKD2FUV.js → AMVDSDF7.js} +2 -2
- package/dist/cdn/{GANTC2JR.js → AQAGUM62.js} +2 -2
- package/dist/cdn/AW3IG2C6.js +4 -0
- package/dist/cdn/B7VK3Q73.js +5 -0
- package/dist/cdn/BCFNTPXF.js +4 -0
- package/dist/cdn/BDQ7V7E5.js +4 -0
- package/dist/cdn/BEUEAKN6.js +4 -0
- package/dist/cdn/{7P4IZ3TJ.js → BGEE7F2B.js} +2 -2
- package/dist/cdn/BSO6JVVF.js +4 -0
- package/dist/cdn/BTYD53B6.js +4 -0
- package/dist/cdn/{M4TTKFBW.js → BVPDB6TV.js} +2 -2
- package/dist/cdn/C7NDOBN3.js +4 -0
- package/dist/cdn/CFQLSE4M.js +4 -0
- package/dist/cdn/{Y3OSDFR4.js → CGNLLX4Q.js} +2 -2
- package/dist/cdn/CGT67PB5.js +4 -0
- package/dist/cdn/CIGUGZVT.js +4 -0
- package/dist/cdn/CMXCRP7V.js +4 -0
- package/dist/cdn/{EHMZR5TR.js → CWBFN4WD.js} +2 -2
- package/dist/cdn/CY2NH4L4.js +4 -0
- package/dist/cdn/D55YSLYD.js +4 -0
- package/dist/cdn/{3YHA662Y.js → DEGJSEG3.js} +2 -2
- package/dist/cdn/DFRWPASD.js +4 -0
- package/dist/cdn/DI33B6W4.js +4 -0
- package/dist/cdn/DMHV6ZWF.js +4 -0
- package/dist/cdn/DNWD7SWZ.js +4 -0
- package/dist/cdn/DPA7YP2O.js +4 -0
- package/dist/cdn/{MNQPVVH3.js → DR7WRTEO.js} +2 -2
- package/dist/cdn/DTQQKXWE.js +4 -0
- package/dist/cdn/{G4FVGNVY.js → DZLONOLM.js} +2 -2
- package/dist/cdn/{VHLNK34F.js → E2AWSO7H.js} +2 -2
- package/dist/cdn/E3CM77ET.js +4 -0
- package/dist/cdn/{44LY3QB2.js → E4AR6WJC.js} +2 -2
- package/dist/cdn/EHVEZMBD.js +4 -0
- package/dist/cdn/EPOBQ7YW.js +4 -0
- package/dist/cdn/EWK5XIZW.js +4 -0
- package/dist/cdn/{BWTML5G2.js → F3UKNXQL.js} +2 -2
- package/dist/cdn/FCK7OAJ3.js +4 -0
- package/dist/cdn/FFHHAW23.js +4 -0
- package/dist/cdn/FKI3RQJH.js +4 -0
- package/dist/cdn/FSQ6JDGZ.js +6 -0
- package/dist/cdn/FTRZSGN7.js +4 -0
- package/dist/cdn/{75OXQ2H2.js → FWB6M3LB.js} +1 -1
- package/dist/cdn/FYRAR57A.js +4 -0
- package/dist/cdn/G3Z6546U.js +4 -0
- package/dist/cdn/{FPDZK5KF.js → G3ZO7MIT.js} +2 -2
- package/dist/cdn/GE3LTPPF.js +4 -0
- package/dist/cdn/GF2737YJ.js +4 -0
- package/dist/cdn/GR4AN2BB.js +4 -0
- package/dist/cdn/GR77ET4Z.js +4 -0
- package/dist/cdn/GRGUPIGF.js +4 -0
- package/dist/cdn/GRX4TT67.js +4 -0
- package/dist/cdn/{QWRWNIDQ.js → GVBPHZ73.js} +2 -2
- package/dist/cdn/GWEWKTQD.js +4 -0
- package/dist/cdn/{DOQSCVJD.js → HBFWVQZJ.js} +1 -1
- package/dist/cdn/HFO6QPTQ.js +4 -0
- package/dist/cdn/{32AM3PJ5.js → HLODJHMJ.js} +2 -2
- package/dist/cdn/HPYVFRQR.js +4 -0
- package/dist/cdn/HTH2X5OO.js +4 -0
- package/dist/cdn/HV64EGSU.js +4 -0
- package/dist/cdn/ICVSKVZS.js +4 -0
- package/dist/cdn/{UBAX43ZI.js → IGGTCIDR.js} +2 -2
- package/dist/cdn/IGNCHKQX.js +4 -0
- package/dist/cdn/IK7PL6QN.js +4 -0
- package/dist/cdn/ILIYPB2B.js +4 -0
- package/dist/cdn/{BIW7LQAB.js → IPOQGJ4M.js} +2 -2
- package/dist/cdn/{ZEHTSMNI.js → ISKHG6YT.js} +2 -2
- package/dist/cdn/ISQERAKQ.js +4 -0
- package/dist/cdn/IXA3XOQM.js +4 -0
- package/dist/cdn/J77D7DKV.js +4 -0
- package/dist/cdn/JBR5WEYU.js +4 -0
- package/dist/cdn/JDFYLXRO.js +4 -0
- package/dist/cdn/JIBDVZU5.js +4 -0
- package/dist/cdn/JJOJ6D27.js +4 -0
- package/dist/cdn/JNXWFKYJ.js +4 -0
- package/dist/cdn/JR2YGNGR.js +4 -0
- package/dist/cdn/JT37SW5R.js +4 -0
- package/dist/cdn/JWBTHUXH.js +4 -0
- package/dist/cdn/KD3KE77D.js +4 -0
- package/dist/cdn/KEBMKH6Z.js +4 -0
- package/dist/cdn/KEHAQC2R.js +4 -0
- package/dist/cdn/L5EDLGGP.js +4 -0
- package/dist/cdn/{RXFIRFZE.js → LA4UTU2N.js} +2 -2
- package/dist/cdn/LG6XNWLE.js +4 -0
- package/dist/cdn/{SEDGRHB7.js → LGSK6HZ2.js} +2 -2
- package/dist/cdn/LKBEX4XQ.js +4 -0
- package/dist/cdn/LN3XFOYJ.js +4 -0
- package/dist/cdn/{O3BCMGPN.js → LPI4F2QQ.js} +2 -2
- package/dist/cdn/{BR4XEJ4B.js → LVELBGXK.js} +2 -2
- package/dist/cdn/LVRY32ZM.js +4 -0
- package/dist/cdn/LWCJIUB3.js +4 -0
- package/dist/cdn/LXB5VZCG.js +4 -0
- package/dist/cdn/MAS7ZWEU.js +4 -0
- package/dist/cdn/MF2NFBVQ.js +4 -0
- package/dist/cdn/MF5PIPZN.js +4 -0
- package/dist/cdn/MJUACG4Z.js +4 -0
- package/dist/cdn/MLGV6336.js +4 -0
- package/dist/cdn/MLSXRHY4.js +4 -0
- package/dist/cdn/MQT5Q5AY.js +4 -0
- package/dist/cdn/MV6JHUNW.js +4 -0
- package/dist/cdn/MWPAVG7Y.js +4 -0
- package/dist/cdn/{5T5JJGIY.js → MXKX43IF.js} +2 -2
- package/dist/cdn/N3C4MSSG.js +4 -0
- package/dist/cdn/{U2SXGKX4.js → N4UG4QXS.js} +2 -2
- package/dist/cdn/NCTQBVVA.js +4 -0
- package/dist/cdn/{MI6G3PVS.js → NDTMUWWV.js} +2 -2
- package/dist/cdn/NGC66WJ2.js +4 -0
- package/dist/cdn/NQ4BG6Y2.js +4 -0
- package/dist/cdn/{MD5JUHBL.js → NZOVREIM.js} +2 -2
- package/dist/cdn/O7UCAF5M.js +4 -0
- package/dist/cdn/OEM4FCAH.js +4 -0
- package/dist/cdn/OLXZMEFY.js +4 -0
- package/dist/cdn/ONJ2QBMV.js +4 -0
- package/dist/cdn/OXHFC77P.js +4 -0
- package/dist/cdn/OZ3TQUPM.js +4 -0
- package/dist/cdn/P4GNHID4.js +4 -0
- package/dist/cdn/{FMOTQNWT.js → P7YUDQHP.js} +2 -2
- package/dist/cdn/{MK6DQGSF.js → PESYNCDN.js} +2 -2
- package/dist/cdn/{PG4Z6IM6.js → PESZMZGP.js} +2 -2
- package/dist/cdn/PLYD7E44.js +4 -0
- package/dist/cdn/PNT2B2WF.js +4 -0
- package/dist/cdn/{DFXD6UAY.js → POEHXXRY.js} +2 -2
- package/dist/cdn/PTH2FFGR.js +4 -0
- package/dist/cdn/PUHRBH35.js +4 -0
- package/dist/cdn/PVHPJ5IA.js +4 -0
- package/dist/cdn/QG7A6GWR.js +4 -0
- package/dist/cdn/QGFUHVYS.js +4 -0
- package/dist/cdn/QIP2OSPJ.js +4 -0
- package/dist/cdn/{IFZJKELT.js → QJXOY2Z6.js} +2 -2
- package/dist/cdn/R6I6QBXB.js +4 -0
- package/dist/cdn/RCAJFGXB.js +4 -0
- package/dist/cdn/RL3Z5ZIG.js +4 -0
- package/dist/cdn/RPZWKLAH.js +4 -0
- package/dist/cdn/{E7UOBFTE.js → RQLIBSGG.js} +2 -2
- package/dist/cdn/S36KXTBZ.js +4 -0
- package/dist/cdn/S3EVC26P.js +4 -0
- package/dist/cdn/S3HP3HVG.js +4 -0
- package/dist/cdn/S5OBEMRR.js +4 -0
- package/dist/cdn/{LFERT3PE.js → SBE2EB4C.js} +1 -1
- package/dist/cdn/SBHDGTTZ.js +4 -0
- package/dist/cdn/SJPTHDK2.js +4 -0
- package/dist/cdn/SSO6AU3Z.js +4 -0
- package/dist/cdn/SVFUZFFG.js +4 -0
- package/dist/cdn/SWXE4UO2.js +4 -0
- package/dist/cdn/SXKRSGGH.js +4 -0
- package/dist/cdn/TJWOPI25.js +4 -0
- package/dist/cdn/{UUBRHGGR.js → TVAAWXV3.js} +2 -2
- package/dist/cdn/TVZZHIAF.js +4 -0
- package/dist/cdn/{MQL4RPHT.js → TXWB6F7V.js} +2 -2
- package/dist/cdn/U7ZFHRWZ.js +4 -0
- package/dist/cdn/{7ZTK5RNR.js → UCK6UFYC.js} +2 -2
- package/dist/cdn/UM5UZVNR.js +4 -0
- package/dist/cdn/UUW2QLFI.js +4 -0
- package/dist/cdn/{2WWNPYIH.js → UW5UPGBC.js} +2 -2
- package/dist/cdn/V5FLQRFL.js +4 -0
- package/dist/cdn/VBTOIO7B.js +4 -0
- package/dist/cdn/VDS77KMI.js +4 -0
- package/dist/cdn/VILIDCJR.js +4 -0
- package/dist/cdn/{HUMIV3VH.js → VIP4QCWY.js} +2 -2
- package/dist/cdn/VKLXH46A.js +4 -0
- package/dist/cdn/{2RQATXIO.js → VPEXIWPZ.js} +2 -2
- package/dist/cdn/VSRAD3YG.js +4 -0
- package/dist/cdn/VTZOAWNC.js +4 -0
- package/dist/cdn/VXQI4EIZ.js +4 -0
- package/dist/cdn/W4QDMZ6Q.js +4 -0
- package/dist/cdn/W4VRYJ4U.js +4 -0
- package/dist/cdn/W5WTAOCF.js +4 -0
- package/dist/cdn/WEYIXGE4.js +4 -0
- package/dist/cdn/WHAYWTF5.js +4 -0
- package/dist/cdn/{MIZIJT77.js → WM66Z6VL.js} +1 -1
- package/dist/cdn/WO7UHNZ7.js +4 -0
- package/dist/cdn/{BZC6X3RM.js → WQSN425R.js} +2 -2
- package/dist/cdn/WSEZKLWP.js +4 -0
- package/dist/cdn/WT3DBNFU.js +4 -0
- package/dist/cdn/WYYJ5WQY.js +4 -0
- package/dist/cdn/{YY62WYQK.js → X6O3UK7O.js} +1 -1
- package/dist/cdn/XEBKJSBU.js +4 -0
- package/dist/cdn/XXCYGOV7.js +4 -0
- package/dist/cdn/YH2TK37D.js +4 -0
- package/dist/cdn/YIUZRZJS.js +4 -0
- package/dist/cdn/YZBBODTV.js +4 -0
- package/dist/cdn/YZE5HZDJ.js +4 -0
- package/dist/cdn/Z3QCHMQN.js +4 -0
- package/dist/cdn/{XAAWUQP3.js → Z7O4D4FY.js} +2 -2
- package/dist/cdn/ZCZFLWGN.js +4 -0
- package/dist/cdn/{R2S3OK5G.js → ZEY732TR.js} +1 -1
- package/dist/cdn/ZN5BORFE.js +4 -0
- package/dist/cdn/ZNODKXO4.js +4 -0
- package/dist/cdn/{6DWBG7BD.js → ZPDFQVRB.js} +1 -1
- package/dist/cdn/ZQLMEFI7.js +4 -0
- package/dist/cdn/ZUB7JS6B.js +4 -0
- package/dist/cdn/ZWIQ5FPN.js +4 -0
- package/dist/cdn/ZWNKCU7T.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/presentation/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/print/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/shadow-cast/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 -1
- package/dist/cdn/assets/utility-network-trace-location-list/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.en.json +1 -1
- 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 +52 -43
- 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/constants.js +10 -0
- package/dist/chunks/createCloseEvent.js +1 -1
- package/dist/chunks/esri-main.js +2 -2
- package/dist/chunks/feature-utils.js +33 -33
- 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/time-utils.js +53 -0
- package/dist/chunks/univariateUtils.js +1 -1
- package/dist/chunks/useArcgisViewReadyError.js +79 -49
- 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 +5 -5
- 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 +7 -7
- 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 +7 -7
- 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 +13 -13
- package/dist/components/arcgis-daylight/customElement.d.ts +120 -57
- package/dist/components/arcgis-daylight/customElement.js +209 -250
- package/dist/components/arcgis-daylight/daylight-utils.d.ts +0 -4
- 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 +37 -20
- 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 +15 -15
- 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 +1 -2
- package/dist/components/arcgis-feature-fields/customElement.js +27 -27
- 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 +9 -9
- package/dist/components/arcgis-feature-relationship/customElement.js +51 -50
- 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 +10 -9
- package/dist/components/arcgis-features/customElement.d.ts +37 -16
- package/dist/components/arcgis-features/customElement.js +9 -11
- 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 +11 -7
- 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 +1 -1
- package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +1 -1
- 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 +103 -21
- package/dist/components/arcgis-link-chart/customElement.js +27 -25
- 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 +517 -51
- package/dist/components/arcgis-map/customElement.js +26 -24
- 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 +53 -11
- package/dist/components/arcgis-popup/customElement.js +9 -6
- package/dist/components/arcgis-presentation/PresentationViewModel.d.ts +27 -0
- package/dist/components/arcgis-presentation/customElement.d.ts +56 -0
- package/dist/components/arcgis-presentation/customElement.js +140 -0
- package/dist/components/arcgis-presentation/index.d.ts +2 -0
- package/dist/components/arcgis-presentation/index.js +2 -0
- package/dist/components/arcgis-print/customElement.d.ts +56 -11
- package/dist/components/arcgis-print/customElement.js +47 -32
- package/dist/components/arcgis-print/utils.d.ts +0 -1
- 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 +80 -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 +58 -24
- package/dist/components/arcgis-print-layout-advanced-options/index.d.ts +2 -0
- package/dist/components/arcgis-print-layout-advanced-options/index.js +2 -0
- 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 +22 -23
- 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 +149 -22
- package/dist/components/arcgis-scene/customElement.js +26 -24
- 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/ShadowCastViewModel.d.ts +44 -0
- package/dist/components/arcgis-shadow-cast/constants.d.ts +3 -0
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +220 -89
- package/dist/components/arcgis-shadow-cast/customElement.js +243 -22
- package/dist/components/arcgis-shadow-cast/index.d.ts +9 -0
- package/dist/components/arcgis-shadow-cast/index.js +9 -0
- package/dist/components/arcgis-shadow-cast/interfaces.d.ts +55 -0
- package/dist/components/arcgis-shadow-cast-discrete-config/customElement.d.ts +20 -0
- package/dist/components/arcgis-shadow-cast-discrete-config/customElement.js +50 -0
- package/dist/components/arcgis-shadow-cast-discrete-config/index.d.ts +5 -0
- package/dist/components/arcgis-shadow-cast-discrete-config/index.js +5 -0
- package/dist/components/arcgis-shadow-cast-duration-config/customElement.d.ts +20 -0
- package/dist/components/arcgis-shadow-cast-duration-config/customElement.js +34 -0
- package/dist/components/arcgis-shadow-cast-duration-config/index.d.ts +5 -0
- package/dist/components/arcgis-shadow-cast-duration-config/index.js +5 -0
- package/dist/components/arcgis-shadow-cast-threshold-config/customElement.d.ts +31 -0
- package/dist/components/arcgis-shadow-cast-threshold-config/customElement.js +44 -0
- package/dist/components/arcgis-shadow-cast-threshold-config/index.d.ts +6 -0
- package/dist/components/arcgis-shadow-cast-threshold-config/index.js +6 -0
- 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-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 +69 -40
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +16 -8
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +175 -110
- package/dist/components/arcgis-utility-network-trace-inputs/index.d.ts +2 -1
- package/dist/components/arcgis-utility-network-trace-inputs/index.js +2 -1
- package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +18 -6
- package/dist/components/arcgis-utility-network-trace-location/customElement.js +173 -117
- package/dist/components/arcgis-utility-network-trace-location/index.d.ts +1 -0
- package/dist/components/arcgis-utility-network-trace-location/index.js +1 -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 +26 -6
- package/dist/components/arcgis-utility-network-trace-results/customElement.js +132 -34
- 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 +5 -5
- package/dist/components/arcgis-version-management/customElement.js +2 -2
- 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 +21 -13
- package/dist/components/arcgis-video/customElement.js +3 -3
- 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 +220 -0
- package/dist/components/arcgis-volume-measurement/customElement.js +245 -0
- package/dist/components/arcgis-volume-measurement/index.d.ts +11 -0
- package/dist/components/arcgis-volume-measurement/index.js +11 -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 +6 -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 +10682 -9046
- package/dist/docs/docs.json +7051 -5602
- package/dist/docs/vscode.css-custom-data.json +16 -16
- package/dist/docs/vscode.html-custom-data.json +832 -546
- package/dist/docs/web-types.json +1780 -1157
- package/dist/index.d.ts +139 -125
- package/dist/index.js +1 -1
- package/dist/loader.d.ts +1 -1
- package/dist/loader.js +40 -36
- package/dist/support/AnalysisViewModel.d.ts +4 -3
- package/dist/support/handle.d.ts +1 -1
- package/dist/support/measurementUtils.d.ts +6 -3
- package/dist/support/time-utils.d.ts +6 -0
- package/dist/types/components.d.ts +1 -1
- package/dist/types/lumina.d.ts +120 -105
- package/dist/types/preact.d.ts +125 -108
- package/dist/types/preact10.d.ts +129 -110
- package/dist/types/react.d.ts +130 -111
- package/dist/types/stencil.d.ts +120 -105
- package/dist/utils/async-utils.d.ts +19 -0
- package/dist/utils/feature-utils.d.ts +4 -4
- package/dist/utils/highlight-utils.d.ts +22 -0
- package/package.json +5 -5
- package/dist/cdn/27OLXDSF.js +0 -4
- package/dist/cdn/2DI73YIB.js +0 -4
- package/dist/cdn/2F2NXYKC.js +0 -4
- package/dist/cdn/2HMB76Z5.js +0 -4
- package/dist/cdn/3LIPNJER.js +0 -4
- package/dist/cdn/3PHUVNMO.js +0 -4
- package/dist/cdn/3U4KMEXD.js +0 -4
- package/dist/cdn/3YNGI2TD.js +0 -4
- package/dist/cdn/44D2CQXK.js +0 -4
- package/dist/cdn/4HLE3NFA.js +0 -4
- package/dist/cdn/4RZ2KUNN.js +0 -4
- package/dist/cdn/54WB3EST.js +0 -4
- package/dist/cdn/576GJQTN.js +0 -4
- package/dist/cdn/5VJNY7VQ.js +0 -4
- package/dist/cdn/5WLA2JTM.js +0 -4
- package/dist/cdn/62ACF4GK.js +0 -4
- package/dist/cdn/6A5UTVGJ.js +0 -4
- package/dist/cdn/6LADRP6U.js +0 -4
- package/dist/cdn/6UMHGQQQ.js +0 -4
- package/dist/cdn/7AMVYS4J.js +0 -4
- package/dist/cdn/7DDS4PSE.js +0 -4
- package/dist/cdn/7MSVBRFX.js +0 -4
- package/dist/cdn/7OFHFYVY.js +0 -4
- package/dist/cdn/7ONVHE43.js +0 -4
- package/dist/cdn/7RMBEOAT.js +0 -4
- package/dist/cdn/7T3OMP3P.js +0 -4
- package/dist/cdn/7X66YHTY.js +0 -4
- package/dist/cdn/A4XLJBOQ.js +0 -4
- package/dist/cdn/AHWDCV4N.js +0 -4
- package/dist/cdn/AJTP62TS.js +0 -4
- package/dist/cdn/AMBRZDBB.js +0 -4
- package/dist/cdn/AMFMXMYU.js +0 -4
- package/dist/cdn/API4DWYS.js +0 -4
- package/dist/cdn/ARBQIEOZ.js +0 -4
- package/dist/cdn/AVCXAEKW.js +0 -4
- package/dist/cdn/AZ2OINQZ.js +0 -4
- package/dist/cdn/BAYBJSRA.js +0 -4
- package/dist/cdn/BHLLVXY4.js +0 -4
- package/dist/cdn/BMHY3L6P.js +0 -4
- package/dist/cdn/BS72LKTC.js +0 -4
- package/dist/cdn/BUQLVGX2.js +0 -4
- package/dist/cdn/BW3BKF7S.js +0 -4
- package/dist/cdn/CF5WWETS.js +0 -4
- package/dist/cdn/CKKEUYVF.js +0 -4
- package/dist/cdn/CRLVMPT6.js +0 -4
- package/dist/cdn/DDDCENIA.js +0 -4
- package/dist/cdn/DF6FT47K.js +0 -6
- package/dist/cdn/DFGIY6KN.js +0 -4
- package/dist/cdn/DPL4VHPW.js +0 -4
- package/dist/cdn/DTW55COI.js +0 -4
- package/dist/cdn/DXMYVDTD.js +0 -4
- package/dist/cdn/E5R6OKXP.js +0 -4
- package/dist/cdn/EAW4FQUJ.js +0 -4
- package/dist/cdn/EHFI4NFD.js +0 -4
- package/dist/cdn/EJG47NJ4.js +0 -4
- package/dist/cdn/EKGSDQRG.js +0 -4
- package/dist/cdn/EO3JN6RG.js +0 -4
- package/dist/cdn/EQBVGZUT.js +0 -4
- package/dist/cdn/EQDSFFHS.js +0 -4
- package/dist/cdn/ES26WJJB.js +0 -4
- package/dist/cdn/EU5DIWMP.js +0 -4
- package/dist/cdn/EVNKT7CS.js +0 -4
- package/dist/cdn/EZXIWACW.js +0 -4
- package/dist/cdn/F7YID2WS.js +0 -4
- package/dist/cdn/FO5HN26Z.js +0 -4
- package/dist/cdn/FRJJS6WF.js +0 -4
- package/dist/cdn/FYCB5LC4.js +0 -4
- package/dist/cdn/G7AINTVJ.js +0 -4
- package/dist/cdn/GCLPCPGB.js +0 -4
- package/dist/cdn/GFZEN7IR.js +0 -4
- package/dist/cdn/GQTIMLNH.js +0 -4
- package/dist/cdn/GWSNNZXP.js +0 -4
- package/dist/cdn/HQVB755E.js +0 -4
- package/dist/cdn/I3FHEM2H.js +0 -4
- package/dist/cdn/IB4GIMGM.js +0 -4
- package/dist/cdn/IPFACLKD.js +0 -4
- package/dist/cdn/IVS6B4TK.js +0 -4
- package/dist/cdn/IWZMOW4V.js +0 -4
- package/dist/cdn/J4VS6ZIF.js +0 -4
- package/dist/cdn/JCHQDIR6.js +0 -4
- package/dist/cdn/JE4BSPXI.js +0 -4
- package/dist/cdn/JLMYKOTB.js +0 -4
- package/dist/cdn/JU3SPL5S.js +0 -4
- package/dist/cdn/K2F7CBO6.js +0 -4
- package/dist/cdn/KCGCGEF7.js +0 -4
- package/dist/cdn/KD57RLBJ.js +0 -4
- package/dist/cdn/KGX5BMVF.js +0 -4
- package/dist/cdn/KSXL7KZW.js +0 -4
- package/dist/cdn/KUJNPIQB.js +0 -4
- package/dist/cdn/KYJ6ODES.js +0 -4
- package/dist/cdn/LHPNHGL5.js +0 -4
- package/dist/cdn/LOD2SN53.js +0 -4
- package/dist/cdn/LU2ZEFNK.js +0 -4
- package/dist/cdn/MFNCONT5.js +0 -4
- package/dist/cdn/MLMK5DYB.js +0 -4
- package/dist/cdn/MQL72DKL.js +0 -4
- package/dist/cdn/MSZQYK2V.js +0 -4
- package/dist/cdn/MUQAKAUR.js +0 -4
- package/dist/cdn/NIX62YJ5.js +0 -4
- package/dist/cdn/NK4JJJ3J.js +0 -4
- package/dist/cdn/O65PIWHP.js +0 -4
- package/dist/cdn/OI7L5JYC.js +0 -4
- package/dist/cdn/OMYEERQN.js +0 -4
- package/dist/cdn/OO7IZEBI.js +0 -4
- package/dist/cdn/OXUZ35GH.js +0 -5
- package/dist/cdn/P34SUK6J.js +0 -4
- package/dist/cdn/PC45POAO.js +0 -4
- package/dist/cdn/PG4JSSVK.js +0 -4
- package/dist/cdn/PGKZ2HPF.js +0 -4
- package/dist/cdn/PM4SNJDH.js +0 -4
- package/dist/cdn/PMSGGWUW.js +0 -4
- package/dist/cdn/Q6DSCXON.js +0 -4
- package/dist/cdn/QMC3TY3W.js +0 -9
- package/dist/cdn/QP3MAEDM.js +0 -4
- package/dist/cdn/QWW3MHGA.js +0 -4
- package/dist/cdn/R4DMYEQC.js +0 -4
- package/dist/cdn/R67Q3OIO.js +0 -4
- package/dist/cdn/R7CXX3HM.js +0 -4
- package/dist/cdn/RGNZOLUW.js +0 -4
- package/dist/cdn/RHKQGAZU.js +0 -4
- package/dist/cdn/RJ2F4ZE6.js +0 -4
- package/dist/cdn/RQX5L4VL.js +0 -4
- package/dist/cdn/S2R2RQ6R.js +0 -4
- package/dist/cdn/SDICLWFI.js +0 -4
- package/dist/cdn/SGARZDQH.js +0 -4
- package/dist/cdn/SIPZMYB4.js +0 -4
- package/dist/cdn/SNWM3QNT.js +0 -4
- package/dist/cdn/STOVGTPC.js +0 -4
- package/dist/cdn/UB43YIRC.js +0 -4
- package/dist/cdn/UDXVD5XZ.js +0 -4
- package/dist/cdn/UFJJSQPL.js +0 -4
- package/dist/cdn/UGGH2ZYL.js +0 -4
- package/dist/cdn/UP6V7HAC.js +0 -4
- package/dist/cdn/UVKUXDIO.js +0 -4
- package/dist/cdn/VAE46PTT.js +0 -4
- package/dist/cdn/VCWGFFLB.js +0 -4
- package/dist/cdn/VF5ZEZIA.js +0 -4
- package/dist/cdn/VGOXORF3.js +0 -4
- package/dist/cdn/VVFA7BGW.js +0 -4
- package/dist/cdn/WDLQOKMF.js +0 -4
- package/dist/cdn/WHXM4RSM.js +0 -4
- package/dist/cdn/WI5OAAU5.js +0 -4
- package/dist/cdn/WPSYRM5U.js +0 -4
- package/dist/cdn/WQX34SJR.js +0 -4
- package/dist/cdn/WSROCQLI.js +0 -4
- package/dist/cdn/WYSUU2YF.js +0 -4
- package/dist/cdn/X2HGZACW.js +0 -4
- package/dist/cdn/X73IB46P.js +0 -4
- package/dist/cdn/XITYDU6J.js +0 -4
- package/dist/cdn/XUUYGDDT.js +0 -4
- package/dist/cdn/YGHWVOXY.js +0 -4
- package/dist/cdn/YIIAEYM6.js +0 -4
- package/dist/cdn/Z3AW5R2E.js +0 -4
- package/dist/cdn/Z3OUKTDA.js +0 -4
- package/dist/cdn/Z3P3YHQ6.js +0 -4
- package/dist/cdn/ZEKB6D5C.js +0 -4
- package/dist/cdn/ZIIGODZS.js +0 -4
- package/dist/cdn/ZY3XCOUK.js +0 -4
- package/dist/cdn/ZYM4PPCW.js +0 -4
- package/dist/cdn/ZZ7RT7QM.js +0 -4
- package/dist/cdn/ZZRSXHDL.js +0 -4
- package/dist/cdn/assets/elevation-profile-next/t9n/messages.en.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.ar.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.bg.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.bs.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.ca.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.cs.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.da.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.de.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.el.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.en.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.es.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.et.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.fi.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.fr.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.he.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.hr.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.hu.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.id.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.it.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.ja.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.ko.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.lt.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.lv.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.nl.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.no.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.pl.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.pt-BR.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.pt-PT.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.ro.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.ru.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.sk.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.sl.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.sr.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.sv.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.th.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.tr.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.uk.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.vi.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.zh-CN.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.zh-HK.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.zh-TW.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 -90
- 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/components/arcgis-utility-network-result-feature-list/customElement.d.ts +0 -33
- package/dist/components/arcgis-utility-network-result-feature-list/customElement.js +0 -72
- package/dist/components/arcgis-utility-network-result-feature-list/index.d.ts +0 -6
- package/dist/components/arcgis-utility-network-result-feature-list/index.js +0 -6
- 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" | "map" | "aria" | "
|
|
15
|
+
declare const useMapView: (component: LitElement & Omit<Pick<MapView, "rotation" | "center" | "analyses" | "map" | "aria" | "attributionMode" | "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,35 +98,55 @@ 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
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
|
*/
|
|
@@ -111,8 +161,36 @@ export declare class ArcgisMap extends LitElement {
|
|
|
111
161
|
* A collection of analyses associated with the view.
|
|
112
162
|
*
|
|
113
163
|
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View2D.html#analyses)
|
|
164
|
+
*
|
|
165
|
+
* @since 4.34
|
|
114
166
|
*/
|
|
115
167
|
analyses: Collection<__esri.Analysis>;
|
|
168
|
+
/**
|
|
169
|
+
* Indicates whether the attribution is hidden in the view.
|
|
170
|
+
*
|
|
171
|
+
* Esri requires that when you use an ArcGIS Online basemap in your app, the map must include Esri attribution and you must be licensed to use the content.
|
|
172
|
+
* For detailed guidelines on working with attribution, please visit the official [attribution in your app](https://developers.arcgis.com/terms/attribution/) documentation.
|
|
173
|
+
* For information on terms of use, see the [Terms of Use FAQ](https://developers.arcgis.com/terms/faq/).
|
|
174
|
+
*
|
|
175
|
+
* @default false
|
|
176
|
+
* @since 5.0
|
|
177
|
+
*/
|
|
178
|
+
get attributionHidden(): boolean;
|
|
179
|
+
set attributionHidden(value: boolean);
|
|
180
|
+
/**
|
|
181
|
+
* The attribution items displayed in the view's attribution.
|
|
182
|
+
*
|
|
183
|
+
* @since 5.0
|
|
184
|
+
*/
|
|
185
|
+
get attributionItems(): __esri.MapView["attributionItems"];
|
|
186
|
+
/**
|
|
187
|
+
* The light or dark mode used to display the attribution.
|
|
188
|
+
* By default, the mode is inherited from the [Calcite's mode](https://developers.arcgis.com/calcite-design-system/core-concepts/#modes).
|
|
189
|
+
* You can override the value to style the attribution alongside the map or scene content.
|
|
190
|
+
*
|
|
191
|
+
* @since 5.0
|
|
192
|
+
*/
|
|
193
|
+
attributionMode: nullish | "light" | "dark";
|
|
116
194
|
/**
|
|
117
195
|
* If true, the component will not be destroyed automatically when it is
|
|
118
196
|
* disconnected from the document. This is useful when you want to move the
|
|
@@ -144,17 +222,73 @@ export declare class ArcgisMap extends LitElement {
|
|
|
144
222
|
basemapView: __esri.BasemapView;
|
|
145
223
|
/**
|
|
146
224
|
* Represents the view's center point; when setting the center, you may pass a
|
|
147
|
-
* [Point](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Point.html) instance
|
|
148
|
-
* a longitude/latitude pair (`"-100.4593, 36.9014"
|
|
149
|
-
* Setting the center immediately changes the current view.
|
|
150
|
-
*
|
|
225
|
+
* [Point](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Point.html) instance, numbers representing
|
|
226
|
+
* a longitude/latitude pair (`[-100.4593, 36.9014]`), or a string attribute representing a longitude/latitude pair ("-100.4593, 36.9014").
|
|
227
|
+
* Setting the `center` immediately changes the current view. For animating the view, see this component's [goTo()](#goTo) method.
|
|
228
|
+
*
|
|
229
|
+
* The returned [Point](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Point.html) object is always
|
|
230
|
+
* in the spatial reference of the view and may be modified internally.
|
|
231
|
+
* To persist the returned object, create a clone using [clone()](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Point.html#clone) method.
|
|
232
|
+
*
|
|
233
|
+
* **Notes**
|
|
234
|
+
*
|
|
235
|
+
* * If the spatial reference of `center` set in the constructor does not match the [spatialReference](#spatialReference) of the view, then the
|
|
236
|
+
* [projectOperator](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-operators-projectOperator.html) will be loaded dynamically.
|
|
237
|
+
* * At runtime, the [projectOperator](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-operators-projectOperator.html) must be
|
|
238
|
+
* [loaded](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-operators-projectOperator.html#load) when
|
|
239
|
+
* setting the `center` to a spatial reference that doesn't match the view spatial reference. You can check if the projectOperator is
|
|
240
|
+
* loaded prior to setting the center by calling [isLoaded()](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-operators-projectOperator.html#isLoaded)
|
|
241
|
+
* 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.
|
|
242
|
+
*
|
|
243
|
+
* @example
|
|
244
|
+
* ```html
|
|
245
|
+
* <arcgis-map zoom="4" center="-98, 39"></arcgis-map>
|
|
246
|
+
* ```
|
|
247
|
+
* @example
|
|
248
|
+
* ```js
|
|
249
|
+
* // Sets the initial center point of the map component to lon/lat coordinates
|
|
250
|
+
* // lon/lat will be projected to match the spatial reference of the view
|
|
251
|
+
* const viewElement = document.querySelector("arcgis-map");
|
|
252
|
+
* viewElement.center = [-98, 39]; // lon, lat
|
|
253
|
+
* ```
|
|
254
|
+
* @example
|
|
255
|
+
* ```js
|
|
256
|
+
* // Updates the view's center point to a pre-determined Point object
|
|
257
|
+
* let centerPoint = new Point({
|
|
258
|
+
* x: 12804.24,
|
|
259
|
+
* y: -1894032.09,
|
|
260
|
+
* spatialReference: {
|
|
261
|
+
* wkid: view.spatialReference // wkid 2027
|
|
262
|
+
* }
|
|
263
|
+
* });
|
|
264
|
+
* const viewElement = document.querySelector("arcgis-map");
|
|
265
|
+
* view.center = centerPoint;
|
|
266
|
+
* ```
|
|
267
|
+
* @example
|
|
268
|
+
* ```js
|
|
269
|
+
* // the point's spatialReference does not match the view's spatialReference
|
|
270
|
+
* // the projectOperator will be used to project the point to match
|
|
271
|
+
* // the view's spatialReference
|
|
272
|
+
* const centerPoint = new Point({
|
|
273
|
+
* x: -8746995,
|
|
274
|
+
* y: 4352308,
|
|
275
|
+
* spatialReference: {
|
|
276
|
+
* wkid: 8857
|
|
277
|
+
* }
|
|
278
|
+
* });
|
|
279
|
+
* if (!projectOperator.isLoaded()) {
|
|
280
|
+
* await projectOperator.load();
|
|
281
|
+
* }
|
|
282
|
+
* const viewElement = document.querySelector("arcgis-map");
|
|
283
|
+
* viewElement.center = centerPoint;
|
|
284
|
+
* ```
|
|
151
285
|
*/
|
|
152
286
|
get center(): __esri.MapView["center"];
|
|
153
287
|
set center(newValue: __esri.MapView["center"] | nil | number[] | string);
|
|
154
288
|
/** Specifies constraints to scale, zoom, and rotation that may be applied to the map. */
|
|
155
289
|
constraints: __esri.View2DConstraints;
|
|
156
290
|
/**
|
|
157
|
-
* Indicates whether a layer's `
|
|
291
|
+
* Indicates whether a layer's `displayFilterInfo` is honored when rendering layers in the view.
|
|
158
292
|
* If `false`, display filters are ignored and all features are rendered.
|
|
159
293
|
*
|
|
160
294
|
* @default false
|
|
@@ -165,11 +299,21 @@ export declare class ArcgisMap extends LitElement {
|
|
|
165
299
|
* Setting the extent immediately changes the view without animation. To animate
|
|
166
300
|
* the view, see this component's [goTo()](#goTo) method.
|
|
167
301
|
* When the view is rotated, the extent does not update to include the newly visible portions of the map.
|
|
302
|
+
*
|
|
303
|
+
* **Notes**
|
|
304
|
+
*
|
|
305
|
+
* * If the spatial reference of `extent` set does not match the [spatialReference](#spatialReference) of the view, then the
|
|
306
|
+
* [projectOperator](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-operators-projectOperator.html) will be loaded dynamically.
|
|
307
|
+
* * At runtime, the [projectOperator](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-operators-projectOperator.html)
|
|
308
|
+
* must be [loaded](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-operators-projectOperator.html#load) when
|
|
309
|
+
* setting the `extent` to a spatial reference that doesn't match the view spatial reference. You can check if the projectOperator is
|
|
310
|
+
* loaded prior to setting the extent by calling [isLoaded()](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-operators-projectOperator.html#isLoaded)
|
|
311
|
+
* 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.
|
|
168
312
|
*/
|
|
169
313
|
get extent(): __esri.MapView["extent"];
|
|
170
314
|
set extent(newValue: __esri.MapView["extent"]);
|
|
171
315
|
/** A rejected view indicates a fatal error making it unable to display. */
|
|
172
|
-
fatalError:
|
|
316
|
+
fatalError: __esri.Error | nullish;
|
|
173
317
|
/**
|
|
174
318
|
* Applies a display filter on the view for a specific set of floor levels.
|
|
175
319
|
* It can filter the map display on floor-aware layers by zero or more level IDs.
|
|
@@ -196,8 +340,33 @@ export declare class ArcgisMap extends LitElement {
|
|
|
196
340
|
get ground(): typeof this._map.ground;
|
|
197
341
|
set ground(value: __esri.Ground | string);
|
|
198
342
|
/**
|
|
199
|
-
*
|
|
200
|
-
*
|
|
343
|
+
* Represents a collection of [HighlightOptions](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-support-HighlightOptions.html)
|
|
344
|
+
* objects which can be used to highlight features throughout an application. Highlighting works by applying highlight options to one or
|
|
345
|
+
* more features. You can configure these options (such as color or opacity) to define how a feature will be visually
|
|
346
|
+
* emphasized.
|
|
347
|
+
*
|
|
348
|
+
* A maximum of six [HighlightOptions](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-support-HighlightOptions.html)
|
|
349
|
+
* 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
|
|
350
|
+
* object having the highest priority. If you apply more than one highlight to a feature, the one that is last within
|
|
351
|
+
* the collection will be applied. The [HighlightOptions](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-support-HighlightOptions.html)
|
|
352
|
+
* object must be part of this collection in order to be applied to features.
|
|
353
|
+
*
|
|
354
|
+
* To highlight a feature, use the [highlight()](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-FeatureLayerView.html#highlight)
|
|
355
|
+
* method on the relevant [LayerView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-LayerView.html) instance. To apply specific
|
|
356
|
+
* [HighlightOptions](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-support-HighlightOptions.html), include the
|
|
357
|
+
* [name](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-support-HighlightOptions.html#name) in the `highlight()` method's `options` parameter.
|
|
358
|
+
* If no `name` is provided, the feature will use the `default` highlight options.
|
|
359
|
+
*
|
|
360
|
+
* The table below shows the default highlight options in the View's highlights collection if the collection has not
|
|
361
|
+
* been modified:
|
|
362
|
+
*
|
|
363
|
+
* | Highlight options name | Description | Default settings |
|
|
364
|
+
* | ---------------------- | ----------- | ---------------- |
|
|
365
|
+
* | 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}` |
|
|
366
|
+
* | 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 }` |
|
|
367
|
+
*
|
|
368
|
+
* @see [Sample: Highlight features by geometry](https://developers.arcgis.com/javascript/latest/sample-code/highlight-features-by-geometry/)
|
|
369
|
+
* @see [Sample: Highlight point features](https://developers.arcgis.com/javascript/latest/sample-code/highlight-point-features/)
|
|
201
370
|
*/
|
|
202
371
|
highlights: Collection<__esri.HighlightOptions>;
|
|
203
372
|
/**
|
|
@@ -244,8 +413,8 @@ export declare class ArcgisMap extends LitElement {
|
|
|
244
413
|
* subsection of the full map. This is particularly useful when layering UI
|
|
245
414
|
* elements or semi-transparent content on top of portions of the map.
|
|
246
415
|
*
|
|
247
|
-
* @see [Sample: Map padding](https://developers.arcgis.com/javascript/latest/sample-code/map-padding/)
|
|
248
416
|
* @default {left: 0, top: 0, right: 0, bottom: 0}
|
|
417
|
+
* @see [Sample: Map padding](https://developers.arcgis.com/javascript/latest/sample-code/map-padding/)
|
|
249
418
|
*/
|
|
250
419
|
padding: __esri.ViewPadding;
|
|
251
420
|
/**
|
|
@@ -256,7 +425,7 @@ export declare class ArcgisMap extends LitElement {
|
|
|
256
425
|
*/
|
|
257
426
|
popup: nullish | __esri.Popup;
|
|
258
427
|
/**
|
|
259
|
-
* Controls whether the popup opens when users click on the view.
|
|
428
|
+
* Controls whether the popup opens automatically when users click on the view.
|
|
260
429
|
*
|
|
261
430
|
* @default false
|
|
262
431
|
*/
|
|
@@ -308,11 +477,58 @@ export declare class ArcgisMap extends LitElement {
|
|
|
308
477
|
get scale(): number;
|
|
309
478
|
set scale(newValue: number);
|
|
310
479
|
/**
|
|
311
|
-
* The spatial reference of the view.
|
|
312
|
-
*
|
|
313
|
-
*
|
|
480
|
+
* The spatial reference of the view. This indicates the projected or geographic coordinate system used to locate geographic features in the map.
|
|
481
|
+
* You can change the spatialReference of the view after it is initialized by either directly changing
|
|
482
|
+
* this property, or by changing the basemap from the [Basemap Gallery](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-basemap-gallery/)
|
|
483
|
+
* and [Basemap Toggle](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-basemap-toggle/) components.
|
|
484
|
+
* Set [spatialReferenceLocked](#spatialReferenceLocked) property to `true` to prevent users from changing the view's spatial reference at runtime.
|
|
485
|
+
*
|
|
486
|
+
* Prior to changing the spatial reference, check if the [projectOperator](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-operators-projectOperator.html)
|
|
487
|
+
* is loaded by calling [projectOperator.isLoaded()](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-operators-projectOperator.html#isLoaded) method.
|
|
488
|
+
* If it is not yet loaded, call [projectOperator.load()](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-operators-projectOperator.html#load) method.
|
|
489
|
+
* 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.
|
|
490
|
+
*
|
|
491
|
+
* **Notes**
|
|
492
|
+
*
|
|
493
|
+
* * [LayerViews](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-LayerView.html) not compatible with the view's spatial reference
|
|
494
|
+
* 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)
|
|
495
|
+
* property is `true` and [spatialReferenceSupported](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-LayerView.html#spatialReferenceSupported)
|
|
496
|
+
* property is `false`.
|
|
497
|
+
* * When setting view's spatial reference, the [center](#center), [extent](#extent) or [viewpoint.targetGeometry](#viewpoint) properties are projected to the new spatial
|
|
498
|
+
* 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.
|
|
499
|
+
* * To ensure [TileLayers](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-TileLayer.html) and
|
|
500
|
+
* [VectorTileLayers](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-VectorTileLayer.html)
|
|
501
|
+
* are displayed in a [basemap](#basemap) correctly, the spatialReference of the view must be set match their
|
|
502
|
+
* [tileInfo's](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-TileInfo.html) spatial reference.
|
|
503
|
+
* * Switching spatial reference with an [imageCoordinateSystem](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-SpatialReference.html#imageCoordinateSystem)
|
|
504
|
+
* is not supported.
|
|
314
505
|
*
|
|
315
506
|
* @default null
|
|
507
|
+
* @name spatialReference
|
|
508
|
+
* @instance
|
|
509
|
+
* @type {module:esri/geometry/SpatialReference}
|
|
510
|
+
* @autocast
|
|
511
|
+
* @see [spatialReferenceLocked](#spatialReferenceLocked)
|
|
512
|
+
* @example
|
|
513
|
+
* ```js
|
|
514
|
+
* const viewElement = document.querySelector("arcgis-map");
|
|
515
|
+
* // check if the projectOperator is loaded
|
|
516
|
+
* if (!projectOperator.isLoaded()) {
|
|
517
|
+
* // load the projectOperator if it is not loaded
|
|
518
|
+
* projectOperator.load().then(() => {
|
|
519
|
+
* // change the spatial reference of the map component to equal earth projection
|
|
520
|
+
* viewElement.spatialReference = new SpatialReference({
|
|
521
|
+
* wkid: 54035 //equal earth projection
|
|
522
|
+
* });
|
|
523
|
+
* });
|
|
524
|
+
* } else {
|
|
525
|
+
* // the projectOperator is already loaded.
|
|
526
|
+
* // change the spatial reference of the view to equal earth projection
|
|
527
|
+
* viewElement.spatialReference = new SpatialReference({
|
|
528
|
+
* wkid: 54035 //equal earth projection
|
|
529
|
+
* });
|
|
530
|
+
* }
|
|
531
|
+
* ```
|
|
316
532
|
*/
|
|
317
533
|
spatialReference: __esri.SpatialReference;
|
|
318
534
|
/**
|
|
@@ -321,8 +537,8 @@ export declare class ArcgisMap extends LitElement {
|
|
|
321
537
|
* When true, basemaps with spatial references that do not match the map's spatial reference
|
|
322
538
|
* 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.
|
|
323
539
|
*
|
|
324
|
-
* @since 4.34
|
|
325
540
|
* @default false
|
|
541
|
+
* @since 4.34
|
|
326
542
|
*/
|
|
327
543
|
spatialReferenceLocked: boolean;
|
|
328
544
|
/**
|
|
@@ -393,13 +609,19 @@ export declare class ArcgisMap extends LitElement {
|
|
|
393
609
|
*/
|
|
394
610
|
get zoom(): number;
|
|
395
611
|
set zoom(newValue: number);
|
|
396
|
-
/**
|
|
612
|
+
/**
|
|
613
|
+
* 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.
|
|
614
|
+
*
|
|
615
|
+
* @since 4.34
|
|
616
|
+
*/
|
|
397
617
|
loadErrorSources?: LoadErrorSource[];
|
|
398
618
|
/**
|
|
399
619
|
* @deprecated
|
|
400
620
|
* since 4.33, use `element.map.add(layer)` instead.
|
|
401
621
|
*
|
|
402
622
|
* Adds a layer to the map layers collection.
|
|
623
|
+
* @param layer
|
|
624
|
+
* @param index
|
|
403
625
|
*/
|
|
404
626
|
addLayer(layer: __esri.Layer | Promise<any>, index?: number): Promise<void>;
|
|
405
627
|
/**
|
|
@@ -407,6 +629,8 @@ export declare class ArcgisMap extends LitElement {
|
|
|
407
629
|
* since 4.33, use `element.map.addMany([layer])` instead.
|
|
408
630
|
*
|
|
409
631
|
* Adds a layer or array of layers to the map layers collection.
|
|
632
|
+
* @param layers
|
|
633
|
+
* @param index
|
|
410
634
|
*/
|
|
411
635
|
addLayers(layers: __esri.Layer[], index?: number): Promise<void>;
|
|
412
636
|
/**
|
|
@@ -414,6 +638,7 @@ export declare class ArcgisMap extends LitElement {
|
|
|
414
638
|
* since 4.33, use `element.map.tables.add(table)` instead.
|
|
415
639
|
*
|
|
416
640
|
* Adds a table to the map tables collection.
|
|
641
|
+
* @param table
|
|
417
642
|
*/
|
|
418
643
|
addTable(table: __esri.FeatureLayer): Promise<void>;
|
|
419
644
|
/**
|
|
@@ -421,24 +646,111 @@ export declare class ArcgisMap extends LitElement {
|
|
|
421
646
|
* since 4.33, use `element.map.tables.addMany([table])` instead.
|
|
422
647
|
*
|
|
423
648
|
* Adds a table or array of tables to the map tables collection.
|
|
649
|
+
* @param tables
|
|
650
|
+
* @param index
|
|
424
651
|
*/
|
|
425
652
|
addTables(tables: __esri.FeatureLayer[], index?: number): Promise<void>;
|
|
426
653
|
/** Closes the popup. */
|
|
427
654
|
closePopup(): Promise<void>;
|
|
428
655
|
/** Destroys the view, and any associated resources, including its map, popup, and UI elements. */
|
|
429
656
|
destroy(): Promise<void>;
|
|
430
|
-
/**
|
|
657
|
+
/**
|
|
658
|
+
* Sets the view to a given target.
|
|
659
|
+
*
|
|
660
|
+
* @param target
|
|
661
|
+
* @param options
|
|
662
|
+
*/
|
|
431
663
|
goTo(target: __esri.GoToTarget2D, options?: __esri.GoToOptions2D): Promise<unknown>;
|
|
432
|
-
/**
|
|
664
|
+
/**
|
|
665
|
+
* Returns [hit test results](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#HitTestResult)
|
|
666
|
+
* from each layer that intersects the specified screen coordinates. The results are
|
|
667
|
+
* organized as an array of objects containing different [result types](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#HitTestResult).
|
|
668
|
+
*
|
|
669
|
+
* 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
|
|
670
|
+
* made on intersecting features: [FeatureLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html),
|
|
671
|
+
* [CatalogLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-CatalogLayer.html),
|
|
672
|
+
* [CSVLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-CSVLayer.html),
|
|
673
|
+
* [GeoJSONLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-GeoJSONLayer.html),
|
|
674
|
+
* [GeoRSSLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-GeoRSSLayer.html),
|
|
675
|
+
* [GraphicsLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-GraphicsLayer.html),
|
|
676
|
+
* [KMLLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-KMLLayer.html),
|
|
677
|
+
* [MapNotesLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-MapNotesLayer.html),
|
|
678
|
+
* [OGCFeatureLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-OGCFeatureLayer.html),
|
|
679
|
+
* [StreamLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-StreamLayer.html),
|
|
680
|
+
* [SubtypeSublayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-SubtypeSublayer.html),
|
|
681
|
+
* [VectorTileLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-VectorTileLayer.html), and
|
|
682
|
+
* [WFSLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-WFSLayer.html).
|
|
683
|
+
*
|
|
684
|
+
* The [ParquetLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-ParquetLayer.html) hit result returns only the topmost feature
|
|
685
|
+
* when the hit occurs on overlapping features in a ParquetLayer.
|
|
686
|
+
*
|
|
687
|
+
* The [VectorTileLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-VectorTileLayer.html) hit test result contains an array of objects containing
|
|
688
|
+
* a [graphic](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#GraphicHit).
|
|
689
|
+
* 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)
|
|
690
|
+
* 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).
|
|
691
|
+
* 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).
|
|
692
|
+
* Otherwise, the graphic's geometry is `null`.
|
|
693
|
+
*
|
|
694
|
+
* 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.
|
|
695
|
+
* 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.
|
|
696
|
+
*
|
|
697
|
+
* If the [polygon](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Polygon.html) feature's symbol
|
|
698
|
+
* [style](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-SimpleFillSymbol.html#style) is set to `none`, the hitTest method will not
|
|
699
|
+
* 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
|
|
700
|
+
* [color](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-SimpleFillSymbol.html#color) to a transparent color instead.
|
|
701
|
+
*
|
|
702
|
+
* @param screenPoint
|
|
703
|
+
* @param options
|
|
704
|
+
* @example
|
|
705
|
+
* ```js
|
|
706
|
+
* viewElement.addEventListener("arcgisViewClick", (event) => {
|
|
707
|
+
* viewElement.hitTest(event.detail).then((response) => {
|
|
708
|
+
* const result = response.results[0];
|
|
709
|
+
* if (result?.type === "graphic") {
|
|
710
|
+
* const { longitude, latitude } = result.mapPoint;
|
|
711
|
+
* console.log(`Hit graphic at (${longitude}, ${latitude})`, result.graphic);
|
|
712
|
+
* } else {
|
|
713
|
+
* console.log("Did not hit any graphic");
|
|
714
|
+
* }
|
|
715
|
+
* });
|
|
716
|
+
* });
|
|
717
|
+
* ```
|
|
718
|
+
* @example
|
|
719
|
+
* ```js
|
|
720
|
+
* // get screenpoint from view's click event
|
|
721
|
+
* viewElement.addEventListener("arcgisViewClick", async (event) => {
|
|
722
|
+
* // Search for all media elements only on included mediaLayer at the clicked location
|
|
723
|
+
* const response = await viewElement.hitTest(event.detail, {
|
|
724
|
+
* include: {mediaLayer}
|
|
725
|
+
* });
|
|
726
|
+
* // if media elements are returned from the mediaLayer, do something with results
|
|
727
|
+
* if (response.results.length){
|
|
728
|
+
* // do something
|
|
729
|
+
* console.log(response.results.length, "elements returned");
|
|
730
|
+
* }
|
|
731
|
+
* });
|
|
732
|
+
* ```
|
|
733
|
+
*/
|
|
433
734
|
hitTest(screenPoint: __esri.MapViewScreenPoint | MouseEvent, options?: __esri.MapViewHitTestOptions): Promise<__esri.HitTestResult>;
|
|
434
735
|
/**
|
|
435
736
|
* Opens the popup at the given location with content defined either explicitly with content or driven
|
|
436
737
|
* from the PopupTemplate of input features.
|
|
738
|
+
*
|
|
739
|
+
* @param options
|
|
437
740
|
*/
|
|
438
741
|
openPopup(options?: __esri.PopupViewOpenPopupOptions): Promise<void>;
|
|
439
|
-
/**
|
|
742
|
+
/**
|
|
743
|
+
* Create a screenshot of the current view.
|
|
744
|
+
*
|
|
745
|
+
* @param options
|
|
746
|
+
*/
|
|
440
747
|
takeScreenshot(options?: __esri.MapViewTakeScreenshotOptions): Promise<__esri.Screenshot>;
|
|
748
|
+
/** @param screenPoint */
|
|
441
749
|
toMap(screenPoint: __esri.MapViewScreenPoint | MouseEvent): __esri.Point;
|
|
750
|
+
/**
|
|
751
|
+
* @param point
|
|
752
|
+
* @param options
|
|
753
|
+
*/
|
|
442
754
|
toScreen(point: __esri.Point, options?: __esri.ToScreenOptions2D): __esri.MapViewScreenPoint | nullish;
|
|
443
755
|
/** Call this method to clear any fatal errors resulting from a lost WebGL context. */
|
|
444
756
|
tryFatalErrorRecovery(): Promise<void>;
|
|
@@ -446,6 +758,8 @@ export declare class ArcgisMap extends LitElement {
|
|
|
446
758
|
* `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.
|
|
447
759
|
* 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.
|
|
448
760
|
*
|
|
761
|
+
* @param callback
|
|
762
|
+
* @param errback
|
|
449
763
|
* @since 4.33
|
|
450
764
|
* @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)
|
|
451
765
|
* @example
|
|
@@ -461,170 +775,322 @@ export declare class ArcgisMap extends LitElement {
|
|
|
461
775
|
* Gets the analysis view created for the given analysis object.
|
|
462
776
|
*
|
|
463
777
|
* [Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#whenAnalysisView)
|
|
778
|
+
*
|
|
779
|
+
* @param analysis
|
|
780
|
+
* @since 4.34
|
|
464
781
|
*/
|
|
465
782
|
whenAnalysisView(analysis: __esri.ElevationProfileAnalysis): Promise<__esri.ElevationProfileAnalysisView2D>;
|
|
466
783
|
/**
|
|
467
784
|
* Gets the LayerView created on the view for the given layer.
|
|
468
785
|
*
|
|
469
786
|
* [Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#whenLayerView)
|
|
787
|
+
*
|
|
788
|
+
* @param layer
|
|
470
789
|
*/
|
|
471
790
|
whenLayerView(layer: __esri.PointCloudLayer): Promise<__esri.PointCloudLayerView>;
|
|
472
791
|
/**
|
|
473
792
|
* Gets the LayerView created on the view for the given layer.
|
|
474
793
|
*
|
|
475
794
|
* [Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#whenLayerView)
|
|
795
|
+
*
|
|
796
|
+
* @param layer
|
|
476
797
|
*/
|
|
477
798
|
whenLayerView(layer: __esri.StreamLayer): Promise<__esri.StreamLayerView>;
|
|
478
799
|
/**
|
|
479
800
|
* Gets the LayerView created on the view for the given layer.
|
|
480
801
|
*
|
|
481
802
|
* [Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#whenLayerView)
|
|
803
|
+
*
|
|
804
|
+
* @param layer
|
|
482
805
|
*/
|
|
483
806
|
whenLayerView(layer: __esri.WFSLayer): Promise<__esri.WFSLayerView>;
|
|
484
807
|
/**
|
|
485
808
|
* Gets the LayerView created on the view for the given layer.
|
|
486
809
|
*
|
|
487
810
|
* [Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#whenLayerView)
|
|
811
|
+
*
|
|
812
|
+
* @param layer
|
|
488
813
|
*/
|
|
489
814
|
whenLayerView(layer: __esri.OGCFeatureLayer): Promise<__esri.OGCFeatureLayerView>;
|
|
490
815
|
/**
|
|
491
816
|
* Gets the LayerView created on the view for the given layer.
|
|
492
817
|
*
|
|
493
818
|
* [Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#whenLayerView)
|
|
819
|
+
*
|
|
820
|
+
* @param layer
|
|
494
821
|
*/
|
|
495
822
|
whenLayerView(layer: __esri.FeatureLayer): Promise<__esri.FeatureLayerView>;
|
|
496
823
|
/**
|
|
497
824
|
* Gets the LayerView created on the view for the given layer.
|
|
498
825
|
*
|
|
499
826
|
* [Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#whenLayerView)
|
|
827
|
+
*
|
|
828
|
+
* @param layer
|
|
500
829
|
*/
|
|
501
830
|
whenLayerView(layer: __esri.CSVLayer): Promise<__esri.CSVLayerView>;
|
|
502
831
|
/**
|
|
503
832
|
* Gets the LayerView created on the view for the given layer.
|
|
504
833
|
*
|
|
505
834
|
* [Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#whenLayerView)
|
|
835
|
+
*
|
|
836
|
+
* @param layer
|
|
506
837
|
*/
|
|
507
838
|
whenLayerView(layer: __esri.GeoJSONLayer): Promise<__esri.GeoJSONLayerView>;
|
|
508
839
|
/**
|
|
509
840
|
* Gets the LayerView created on the view for the given layer.
|
|
510
841
|
*
|
|
511
842
|
* [Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#whenLayerView)
|
|
843
|
+
*
|
|
844
|
+
* @param layer
|
|
512
845
|
*/
|
|
513
846
|
whenLayerView(layer: __esri.GeoRSSLayer): Promise<__esri.GeoRSSLayerView>;
|
|
514
847
|
/**
|
|
515
848
|
* Gets the LayerView created on the view for the given layer.
|
|
516
849
|
*
|
|
517
850
|
* [Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#whenLayerView)
|
|
851
|
+
*
|
|
852
|
+
* @param layer
|
|
518
853
|
*/
|
|
519
854
|
whenLayerView(layer: __esri.GraphicsLayer): Promise<__esri.GraphicsLayerView>;
|
|
520
855
|
/**
|
|
521
856
|
* Gets the LayerView created on the view for the given layer.
|
|
522
857
|
*
|
|
523
858
|
* [Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#whenLayerView)
|
|
859
|
+
*
|
|
860
|
+
* @param layer
|
|
524
861
|
*/
|
|
525
862
|
whenLayerView(layer: __esri.ImageryLayer): Promise<__esri.ImageryLayerView>;
|
|
526
863
|
/**
|
|
527
864
|
* Gets the LayerView created on the view for the given layer.
|
|
528
865
|
*
|
|
529
866
|
* [Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#whenLayerView)
|
|
867
|
+
*
|
|
868
|
+
* @param layer
|
|
530
869
|
*/
|
|
531
870
|
whenLayerView(layer: __esri.KMLLayer): Promise<__esri.KMLLayerView>;
|
|
532
871
|
/**
|
|
533
872
|
* Gets the LayerView created on the view for the given layer.
|
|
534
873
|
*
|
|
535
874
|
* [Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#whenLayerView)
|
|
875
|
+
*
|
|
876
|
+
* @param layer
|
|
536
877
|
*/
|
|
537
878
|
whenLayerView(layer: __esri.SceneLayer): Promise<__esri.SceneLayerView>;
|
|
538
879
|
/**
|
|
539
880
|
* Gets the LayerView created on the view for the given layer.
|
|
540
881
|
*
|
|
541
882
|
* [Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#whenLayerView)
|
|
883
|
+
*
|
|
884
|
+
* @param layer
|
|
542
885
|
*/
|
|
543
886
|
whenLayerView(layer: __esri.DimensionLayer): Promise<__esri.DimensionLayerView>;
|
|
544
887
|
/**
|
|
545
888
|
* Gets the LayerView created on the view for the given layer.
|
|
546
889
|
*
|
|
547
890
|
* [Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#whenLayerView)
|
|
891
|
+
*
|
|
892
|
+
* @param layer
|
|
548
893
|
*/
|
|
549
894
|
whenLayerView(layer: __esri.MediaLayer): Promise<__esri.MediaLayerView>;
|
|
550
895
|
/**
|
|
551
896
|
* Gets the LayerView created on the view for the given layer.
|
|
552
897
|
*
|
|
553
898
|
* [Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#whenLayerView)
|
|
899
|
+
*
|
|
900
|
+
* @param layer
|
|
554
901
|
*/
|
|
555
902
|
whenLayerView(layer: __esri.ViewshedLayer): Promise<__esri.ViewshedLayerView>;
|
|
556
903
|
/**
|
|
557
904
|
* Gets the LayerView created on the view for the given layer.
|
|
558
905
|
*
|
|
559
906
|
* [Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#whenLayerView)
|
|
907
|
+
*
|
|
908
|
+
* @param layer
|
|
560
909
|
*/
|
|
561
910
|
whenLayerView(layer: __esri.LineOfSightLayer): Promise<__esri.LineOfSightLayerView>;
|
|
562
911
|
/**
|
|
563
912
|
* Gets the LayerView created on the view for the given layer.
|
|
564
913
|
*
|
|
565
914
|
* [Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#whenLayerView)
|
|
915
|
+
*
|
|
916
|
+
* @param layer
|
|
566
917
|
*/
|
|
567
918
|
whenLayerView(layer: __esri.Layer): Promise<__esri.LayerView>;
|
|
568
919
|
/**
|
|
569
920
|
* Fires when the view for an analysis is created.
|
|
570
921
|
*
|
|
571
922
|
* [Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#event-analysis-view-create)
|
|
923
|
+
*
|
|
924
|
+
* @since 4.34
|
|
572
925
|
*/
|
|
573
926
|
readonly arcgisViewAnalysisViewCreate: TargetedEvent<this, __esri.ViewAnalysisViewCreateEvent>;
|
|
574
927
|
/**
|
|
575
928
|
* Fires when an error occurs during the creation of an analysis view after an analysis is added to the view.
|
|
576
929
|
*
|
|
577
930
|
* [Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#event-analysis-view-create-error)
|
|
931
|
+
*
|
|
932
|
+
* @since 4.34
|
|
578
933
|
*/
|
|
579
934
|
readonly arcgisViewAnalysisViewCreateError: TargetedEvent<this, __esri.ViewAnalysisViewCreateErrorEvent>;
|
|
580
935
|
/**
|
|
581
936
|
* Fires after an analysis view is destroyed.
|
|
582
937
|
*
|
|
583
938
|
* [Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#event-analysis-view-destroy)
|
|
939
|
+
*
|
|
940
|
+
* @since 4.34
|
|
584
941
|
*/
|
|
585
942
|
readonly arcgisViewAnalysisViewDestroy: TargetedEvent<this, __esri.ViewAnalysisViewDestroyEvent>;
|
|
586
943
|
/**
|
|
587
|
-
* This event is
|
|
588
|
-
*
|
|
944
|
+
* This event is triggered when view-related properties change, such as [zoom](#zoom), [scale](#scale), [center](#center), [rotation](#rotation), [extent](#extent),
|
|
945
|
+
* [viewpoint](#viewpoint), or [stationary](#stationary).
|
|
946
|
+
* It reflects user interactions (e.g. panning or zooming) or programmatic updates to the view.
|
|
947
|
+
*
|
|
948
|
+
* @example
|
|
949
|
+
* ```js
|
|
950
|
+
* // get the number of features in a layer view whenever the view becomes stationary
|
|
951
|
+
* viewElement.addEventListener("arcgisViewChange", async (event) =>{
|
|
952
|
+
* if (viewElement.stationary) {
|
|
953
|
+
* // Returns number of features available for drawing in a given layer view
|
|
954
|
+
* const count = await layerView.queryFeatureCount({
|
|
955
|
+
* geometry: viewElement.extent
|
|
956
|
+
* });
|
|
957
|
+
* // use the features count
|
|
958
|
+
* }
|
|
959
|
+
* });
|
|
960
|
+
* ```
|
|
589
961
|
*/
|
|
590
962
|
readonly arcgisViewChange: TargetedEvent<this, void>;
|
|
591
|
-
/**
|
|
963
|
+
/**
|
|
964
|
+
* Fires after a user clicks on the view. This event emits slightly slower than an [arcgisViewImmediateClick](#arcgisViewImmediateClick)
|
|
965
|
+
* event to make sure that an [arcgisViewDoubleClick](#arcgisViewDoubleClick) event isn't triggered instead. The `arcgisViewImmediateClick`
|
|
966
|
+
* event can be used for responding to an `arcgisViewClick` event without delay.
|
|
967
|
+
*
|
|
968
|
+
* @example
|
|
969
|
+
* ```js
|
|
970
|
+
* // Listen for clicks on the view and perform a hit test on a feature layer
|
|
971
|
+
* viewElement.addEventListener("arcgisViewClick", (event) => {
|
|
972
|
+
* // Return hit test results from the feature layer
|
|
973
|
+
* // where it intersects the screen coordinates from the click event.
|
|
974
|
+
* // The result is a polygon representing the state that was clicked.
|
|
975
|
+
* viewElement.hitTest(event.detail).then((response) => {
|
|
976
|
+
* if (response.results.length) {
|
|
977
|
+
* const stateBoundaryPolygon = response.results.find((result) => {
|
|
978
|
+
* return result.graphic.layer === stateBoundaryFeatureLayer;
|
|
979
|
+
* }).graphic.geometry;
|
|
980
|
+
*
|
|
981
|
+
* getPolygonCentroid(stateBoundaryPolygon);
|
|
982
|
+
* }
|
|
983
|
+
* });
|
|
984
|
+
* });
|
|
985
|
+
* ```
|
|
986
|
+
*/
|
|
592
987
|
readonly arcgisViewClick: TargetedEvent<this, __esri.ViewClickEvent>;
|
|
593
|
-
/**
|
|
988
|
+
/**
|
|
989
|
+
* Fires after double-clicking on the view.
|
|
990
|
+
*
|
|
991
|
+
* @example
|
|
992
|
+
* ```js
|
|
993
|
+
* viewElement.addEventListener("arcgisViewDoubleClick", async (event) => {
|
|
994
|
+
* // Prevent the default zoom-in behavior on double-click
|
|
995
|
+
* event.detail.stopPropagation();
|
|
996
|
+
* });
|
|
997
|
+
* ```
|
|
998
|
+
*/
|
|
594
999
|
readonly arcgisViewDoubleClick: TargetedEvent<this, __esri.ViewDoubleClickEvent>;
|
|
595
1000
|
/** Fires during a pointer drag on the view. */
|
|
596
1001
|
readonly arcgisViewDrag: TargetedEvent<this, __esri.ViewDragEvent>;
|
|
597
|
-
/** Fires
|
|
1002
|
+
/** Fires after holding either a mouse button or a single finger on the view for a short amount of time. */
|
|
598
1003
|
readonly arcgisViewHold: TargetedEvent<this, __esri.ViewHoldEvent>;
|
|
599
|
-
/**
|
|
1004
|
+
/**
|
|
1005
|
+
* Fires right after a user clicks on the view. In contrast to the [arcgisViewClick](#arcgisViewClick) event, the `arcgisViewImmediateClick`
|
|
1006
|
+
* is emitted as soon as the user clicks on the view, and is not inhibited by a [arcgisViewDoubleClick](#arcgisViewDoubleClick) event.
|
|
1007
|
+
* This event is useful for interactive experiences that require feedback without delay.
|
|
1008
|
+
*
|
|
1009
|
+
* @example
|
|
1010
|
+
* ```js
|
|
1011
|
+
* viewElement.addEventListener("arcgisViewImmediateClick", async (event) => {
|
|
1012
|
+
* // Prevent the default zoom-in behavior on arcgisViewImmediateClick
|
|
1013
|
+
* event.detail.stopPropagation();
|
|
1014
|
+
* });
|
|
1015
|
+
* ```
|
|
1016
|
+
*/
|
|
600
1017
|
readonly arcgisViewImmediateClick: TargetedEvent<this, __esri.ViewImmediateClickEvent>;
|
|
601
|
-
/**
|
|
1018
|
+
/**
|
|
1019
|
+
* Fires after after two consecutive [arcgisViewImmediateClick](#arcgisViewImmediateClick) events. In contrast to [arcgisViewDoubleClick](#arcgisViewDoubleClick),
|
|
1020
|
+
* an `arcgisViewImmediateDoubleClick` cannot be prevented by use of `stopPropagation()` on the [arcgisViewImmediateClick](#arcgisViewImmediateClick)
|
|
1021
|
+
* event and can therefore be used to react to double-clicking independently of usage of the [arcgisViewImmediateClick](#arcgisViewImmediateClick) event.
|
|
1022
|
+
*/
|
|
602
1023
|
readonly arcgisViewImmediateDoubleClick: TargetedEvent<this, __esri.ViewImmediateDoubleClickEvent>;
|
|
603
|
-
/**
|
|
1024
|
+
/**
|
|
1025
|
+
* Fires after a keyboard key is pressed.
|
|
1026
|
+
*
|
|
1027
|
+
* @example
|
|
1028
|
+
* ```js
|
|
1029
|
+
* // Disable zooming with the keyboard
|
|
1030
|
+
* // Stop event propagation when `+` and `-` keys are pressed.
|
|
1031
|
+
* viewElement.addEventListener("arcgisViewKeyDown", function(event){
|
|
1032
|
+
* console.log("key-down", event);
|
|
1033
|
+
*
|
|
1034
|
+
* const prohibitedKeys = ["+", "-"];
|
|
1035
|
+
* const keyPressed = event.detail.key;
|
|
1036
|
+
* if (prohibitedKeys.indexOf(keyPressed) !== -1) {
|
|
1037
|
+
* event.detail.stopPropagation();
|
|
1038
|
+
* }
|
|
1039
|
+
* });
|
|
1040
|
+
* ```
|
|
1041
|
+
*/
|
|
604
1042
|
readonly arcgisViewKeyDown: TargetedEvent<this, __esri.ViewKeyDownEvent>;
|
|
605
|
-
/** Fires after a keyboard key is
|
|
1043
|
+
/** Fires after a keyboard key is released. */
|
|
606
1044
|
readonly arcgisViewKeyUp: TargetedEvent<this, __esri.ViewKeyUpEvent>;
|
|
607
|
-
/**
|
|
1045
|
+
/**
|
|
1046
|
+
* Fires after each layer in the map has a corresponding
|
|
1047
|
+
* [LayerView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-LayerView.html)
|
|
1048
|
+
* created and rendered in the view.
|
|
1049
|
+
*/
|
|
608
1050
|
readonly arcgisViewLayerviewCreate: TargetedEvent<this, __esri.ViewLayerviewCreateEvent>;
|
|
609
|
-
/**
|
|
1051
|
+
/**
|
|
1052
|
+
* Fires when an error occurs during the creation of a [LayerView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-LayerView.html)
|
|
1053
|
+
* after a layer has been added to the map.
|
|
1054
|
+
*/
|
|
610
1055
|
readonly arcgisViewLayerviewCreateError: TargetedEvent<this, __esri.ViewLayerviewCreateErrorEvent>;
|
|
611
|
-
/**
|
|
1056
|
+
/**
|
|
1057
|
+
* Fires after a [LayerView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-LayerView.html)
|
|
1058
|
+
* is destroyed and is no longer rendered in the view.
|
|
1059
|
+
*/
|
|
612
1060
|
readonly arcgisViewLayerviewDestroy: TargetedEvent<this, __esri.ViewLayerviewDestroyEvent>;
|
|
613
|
-
/**
|
|
1061
|
+
/**
|
|
1062
|
+
* Fires when a wheel button of a pointing device (typically a mouse) is scrolled on the view.
|
|
1063
|
+
*
|
|
1064
|
+
* @example
|
|
1065
|
+
* ```js
|
|
1066
|
+
* viewElement.addEventListener("arcgisViewMouseWheel", async (event) => {
|
|
1067
|
+
* // Prevent the default zoom-in and zoom-out behavior on arcgisViewMouseWheel
|
|
1068
|
+
* event.detail.stopPropagation();
|
|
1069
|
+
* });
|
|
1070
|
+
* ```
|
|
1071
|
+
*/
|
|
614
1072
|
readonly arcgisViewMouseWheel: TargetedEvent<this, __esri.ViewMouseWheelEvent>;
|
|
615
|
-
/**
|
|
1073
|
+
/**
|
|
1074
|
+
* Fires after a mouse button is pressed, or a finger touches the display.
|
|
1075
|
+
*
|
|
1076
|
+
* @see [Sample: Access features with hitTest](https://developers.arcgis.com/javascript/latest/sample-code/map-component-hittest/)
|
|
1077
|
+
*/
|
|
616
1078
|
readonly arcgisViewPointerDown: TargetedEvent<this, __esri.ViewPointerDownEvent>;
|
|
617
1079
|
/** Fires after a mouse cursor enters the view, or a display touch begins. */
|
|
618
1080
|
readonly arcgisViewPointerEnter: TargetedEvent<this, __esri.ViewPointerEnterEvent>;
|
|
619
1081
|
/** Fires after a mouse cursor leaves the view, or a display touch ends. */
|
|
620
1082
|
readonly arcgisViewPointerLeave: TargetedEvent<this, __esri.ViewPointerLeaveEvent>;
|
|
621
|
-
/**
|
|
1083
|
+
/**
|
|
1084
|
+
* Fires after the mouse or a finger on the display moves.
|
|
1085
|
+
*
|
|
1086
|
+
* @see [Sample: Access features with hitTest](https://developers.arcgis.com/javascript/latest/sample-code/map-component-hittest/)
|
|
1087
|
+
*/
|
|
622
1088
|
readonly arcgisViewPointerMove: TargetedEvent<this, __esri.ViewPointerMoveEvent>;
|
|
623
1089
|
/** Fires after a mouse button is released, or a display touch ends. */
|
|
624
1090
|
readonly arcgisViewPointerUp: TargetedEvent<this, __esri.ViewPointerUpEvent>;
|
|
625
1091
|
/**
|
|
626
|
-
* This event is for the `ready` property and
|
|
627
|
-
*
|
|
1092
|
+
* This event is for the `ready` property and is emitted when the view is ready.
|
|
1093
|
+
* Fires also when the [map](#map) is updated.
|
|
628
1094
|
*/
|
|
629
1095
|
readonly arcgisViewReadyChange: TargetedEvent<this, void>;
|
|
630
1096
|
private _map: __esri.Map;
|