@arcgis/map-components 5.0.0-next.4 → 5.0.0-next.42
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/{X2CAGYVV.js → 26AHC2O2.js} +2 -2
- package/dist/cdn/2GBU6RER.js +4 -0
- package/dist/cdn/{5ANKWYXX.js → 2ILPQ67E.js} +2 -2
- package/dist/cdn/2MQRYPJ7.js +4 -0
- package/dist/cdn/2PBPGYQT.js +4 -0
- package/dist/cdn/2TWHOD2A.js +4 -0
- package/dist/cdn/{BQJGJY6O.js → 2Z6QMMLC.js} +2 -2
- package/dist/cdn/{NILWGXLW.js → 3CISAILB.js} +2 -2
- package/dist/cdn/3GPIZCDK.js +4 -0
- package/dist/cdn/{DZXKOK24.js → 3RHK6GTA.js} +2 -2
- package/dist/cdn/{LN4NTJE5.js → 3XC5LLXH.js} +2 -2
- package/dist/cdn/3XMBO5YY.js +4 -0
- package/dist/cdn/{5ENT7TDL.js → 3ZHHI45D.js} +2 -2
- package/dist/cdn/{FQLBPHYZ.js → 437E7NEA.js} +2 -2
- package/dist/cdn/{XIRC4FZS.js → 44SEE53C.js} +2 -2
- package/dist/cdn/45BXB5A6.js +4 -0
- package/dist/cdn/46KCKCOD.js +4 -0
- package/dist/cdn/{23WG7RNB.js → 4CQX3PLJ.js} +2 -2
- package/dist/cdn/{7T7FHAAN.js → 4KZLTJJS.js} +2 -2
- package/dist/cdn/4LPAQNXP.js +4 -0
- package/dist/cdn/{P33VJA5V.js → 4MACVYVC.js} +2 -2
- package/dist/cdn/{P5JD5EAY.js → 4OFHSL6U.js} +2 -2
- package/dist/cdn/4RHDNXY4.js +4 -0
- package/dist/cdn/{IZJQ7VXF.js → 4T7FDEA3.js} +2 -2
- package/dist/cdn/{55S5XI5F.js → 5CEMGETK.js} +2 -2
- package/dist/cdn/{MJS7QXLQ.js → 5FTT3XDM.js} +2 -2
- package/dist/cdn/5KBC4PPX.js +4 -0
- package/dist/cdn/{7MDHOUFP.js → 5NXKMET3.js} +2 -2
- package/dist/cdn/5OP3S2YF.js +4 -0
- package/dist/cdn/5Q3LGBS5.js +4 -0
- package/dist/cdn/5W7XVVDR.js +4 -0
- package/dist/cdn/{MYW4EK3Z.js → 5ZT4TQ3T.js} +2 -2
- package/dist/cdn/{33ZEUWYM.js → 6APP6V3L.js} +2 -2
- package/dist/cdn/6HJ2NZNY.js +4 -0
- package/dist/cdn/6IEVTK2B.js +4 -0
- package/dist/cdn/6NN57V7S.js +4 -0
- package/dist/cdn/{JTTJ2YTN.js → 6SSRETHN.js} +2 -2
- package/dist/cdn/{HYDF3AIL.js → 6UDLWZO2.js} +2 -2
- package/dist/cdn/6YAASOET.js +4 -0
- package/dist/cdn/{L6DBLCPT.js → 6ZGQIMMH.js} +2 -2
- package/dist/cdn/{32YGUC2B.js → 76Q3ONI6.js} +2 -2
- package/dist/cdn/7I6XS4TQ.js +4 -0
- package/dist/cdn/A4I4QSH2.js +4 -0
- package/dist/cdn/ADGLJZIX.js +4 -0
- package/dist/cdn/{66ZKQ6QF.js → AFJY54O3.js} +2 -2
- package/dist/cdn/AHY5XPKW.js +4 -0
- package/dist/cdn/{5E6WEIL7.js → AOUI523S.js} +2 -2
- package/dist/cdn/{7CFKZWL5.js → AVEHWX6I.js} +2 -2
- package/dist/cdn/B5BYUALU.js +4 -0
- package/dist/cdn/{TNRR3XIP.js → B6VRNPR2.js} +2 -2
- package/dist/cdn/BD4QOQZE.js +4 -0
- package/dist/cdn/BFSCFSIM.js +4 -0
- package/dist/cdn/{26KAYELZ.js → BG3JTK7N.js} +2 -2
- package/dist/cdn/BI57R3B2.js +4 -0
- package/dist/cdn/{IHSOHQXE.js → BJYEKGN3.js} +2 -2
- package/dist/cdn/{ORQSSCQA.js → BMHZ6TWW.js} +2 -2
- package/dist/cdn/BQYS7G2M.js +4 -0
- package/dist/cdn/BYSL4JOQ.js +4 -0
- package/dist/cdn/{33MUHF7N.js → CAZIKY36.js} +2 -2
- package/dist/cdn/{JXRXECOI.js → CNZZZ66N.js} +2 -2
- package/dist/cdn/{VFAQJQEE.js → CQ5C4ELA.js} +2 -2
- package/dist/cdn/{IEXJD3D4.js → CV5QXH2T.js} +2 -2
- package/dist/cdn/CY6XYBBM.js +4 -0
- package/dist/cdn/D4DQXZBW.js +4 -0
- package/dist/cdn/D7XFDQLP.js +4 -0
- package/dist/cdn/{LTRE4ZJ5.js → DBIQ26ZR.js} +2 -2
- package/dist/cdn/{KVIACQ62.js → DGOAY54B.js} +2 -2
- package/dist/cdn/DJSHEU4G.js +4 -0
- package/dist/cdn/DN2MJK3M.js +4 -0
- package/dist/cdn/{HVROLASF.js → DQJNHWBD.js} +2 -2
- package/dist/cdn/DVLFHXKL.js +4 -0
- package/dist/cdn/DVRBN7DE.js +9 -0
- package/dist/cdn/{MBCS4MR7.js → DYAY77PO.js} +1 -1
- package/dist/cdn/{K4EQK6CI.js → E3ZK7TDE.js} +2 -2
- package/dist/cdn/{JQVETO2T.js → E4NHF63K.js} +2 -2
- package/dist/cdn/{QUY5MCYH.js → E5UVTEYA.js} +2 -2
- package/dist/cdn/ECXGQUM3.js +4 -0
- package/dist/cdn/EDGCFF35.js +4 -0
- package/dist/cdn/EFDBCIEV.js +4 -0
- package/dist/cdn/EFRYTIW3.js +4 -0
- package/dist/cdn/EHHF4YYL.js +4 -0
- package/dist/cdn/EHPZCNYR.js +4 -0
- package/dist/cdn/EK62S644.js +4 -0
- package/dist/cdn/{KW3OBSZ5.js → ELLLP244.js} +2 -2
- package/dist/cdn/EXYL4YNF.js +5 -0
- package/dist/cdn/{25OZNZDG.js → FCYPGVH7.js} +2 -2
- package/dist/cdn/FEVFQBPL.js +4 -0
- package/dist/cdn/FHP73FEY.js +4 -0
- package/dist/cdn/FL2ZAN56.js +4 -0
- package/dist/cdn/FVFTTJG4.js +4 -0
- package/dist/cdn/{DKAOOTL4.js → G7KJ7D5A.js} +2 -2
- package/dist/cdn/GCRBNUCG.js +4 -0
- package/dist/cdn/GGRGVCZ7.js +4 -0
- package/dist/cdn/{QM6B45PL.js → GHDEQERX.js} +2 -2
- package/dist/cdn/GPO5C4BV.js +4 -0
- package/dist/cdn/{AHK5STNI.js → H2LK6MDC.js} +2 -2
- package/dist/cdn/HEHKE6UM.js +4 -0
- package/dist/cdn/{ZRPU3SBV.js → HEZYPQZV.js} +2 -2
- package/dist/cdn/HSVI4BWE.js +4 -0
- package/dist/cdn/IDMM442T.js +4 -0
- package/dist/cdn/IIGKWJ7S.js +4 -0
- package/dist/cdn/INOZNR4P.js +4 -0
- package/dist/cdn/{SNABPZ4O.js → IQS4NP5Z.js} +2 -2
- package/dist/cdn/{7CMEKVXO.js → ITRBSG2R.js} +2 -2
- package/dist/cdn/IW4LGHXW.js +4 -0
- package/dist/cdn/IYMOKALO.js +4 -0
- package/dist/cdn/{K6S23FUD.js → J27HDYLO.js} +2 -2
- package/dist/cdn/{ZOZJ5PTC.js → J4VC7PFX.js} +2 -2
- package/dist/cdn/JEFM43GG.js +4 -0
- package/dist/cdn/JIFNA3O2.js +4 -0
- package/dist/cdn/{SIOAS4LN.js → JJW6FPHK.js} +2 -2
- package/dist/cdn/{W5RSFWDM.js → JTZRZHJJ.js} +2 -2
- package/dist/cdn/KGKEHE75.js +4 -0
- package/dist/cdn/{QJD2AOIJ.js → KP2VXBZX.js} +2 -2
- package/dist/cdn/KRV2USFI.js +4 -0
- package/dist/cdn/KU345RFS.js +4 -0
- package/dist/cdn/L3XIAKHE.js +4 -0
- package/dist/cdn/{PB5PBGVA.js → L54ULRBO.js} +2 -2
- package/dist/cdn/L6EPNSRC.js +4 -0
- package/dist/cdn/LLAAPKSJ.js +4 -0
- package/dist/cdn/LMD7QABD.js +4 -0
- package/dist/cdn/M3J6TN6V.js +4 -0
- package/dist/cdn/MD4RC6UO.js +4 -0
- package/dist/cdn/MLSRYW22.js +4 -0
- package/dist/cdn/MNHUWJPQ.js +4 -0
- package/dist/cdn/MOVRO726.js +4 -0
- package/dist/cdn/{QTYA6J2M.js → N45B7VZR.js} +2 -2
- package/dist/cdn/{SSF3GGRT.js → N5HVW72C.js} +2 -2
- package/dist/cdn/{LJXXNHM2.js → N6WGN3RH.js} +1 -1
- package/dist/cdn/N7K5TOAX.js +4 -0
- package/dist/cdn/{64QCM6E6.js → NANEJQWS.js} +2 -2
- package/dist/cdn/{IDPYPTKP.js → NH4WWDD6.js} +2 -2
- package/dist/cdn/{ZDV73SRA.js → NHVJLZVD.js} +2 -2
- package/dist/cdn/NJTTUKWX.js +4 -0
- package/dist/cdn/{W26K55Z3.js → NQSUUQJQ.js} +1 -1
- package/dist/cdn/{PPNF4MWG.js → OMKZBE4M.js} +2 -2
- package/dist/cdn/OPGQ3L32.js +4 -0
- package/dist/cdn/OQARHWHE.js +4 -0
- package/dist/cdn/ORD7LUG6.js +4 -0
- package/dist/cdn/{SYIYMPYO.js → OYJA7CVC.js} +2 -2
- package/dist/cdn/{5Y6AWZVI.js → P4PB7BMM.js} +1 -1
- package/dist/cdn/{4RMNOKZA.js → PD3YYS4P.js} +2 -2
- package/dist/cdn/PE7KMZEL.js +4 -0
- package/dist/cdn/{ITHKDNIT.js → PKO4NC2F.js} +2 -2
- package/dist/cdn/PMS2HSPL.js +4 -0
- package/dist/cdn/PR3SEAO3.js +4 -0
- package/dist/cdn/{NO7SHMLW.js → PZKGXDMH.js} +2 -2
- package/dist/cdn/Q4OL3MEK.js +4 -0
- package/dist/cdn/QAGS4LWK.js +4 -0
- package/dist/cdn/QDD72ULE.js +4 -0
- package/dist/cdn/QL22DAF3.js +4 -0
- package/dist/cdn/QOZJIIQV.js +4 -0
- package/dist/cdn/R44NES4T.js +4 -0
- package/dist/cdn/{FBF3422A.js → RCWUF6S4.js} +1 -1
- package/dist/cdn/RHZQM6A7.js +4 -0
- package/dist/cdn/RKN2TC6V.js +4 -0
- package/dist/cdn/{BU6OEMRF.js → RMLTRD2N.js} +2 -2
- package/dist/cdn/S3PC3JER.js +4 -0
- package/dist/cdn/SEZYH7ML.js +4 -0
- package/dist/cdn/SF7H6CC6.js +4 -0
- package/dist/cdn/{ELTTDD6I.js → SJDGMPA5.js} +2 -2
- package/dist/cdn/{ET53A7BD.js → SKLZL553.js} +2 -2
- package/dist/cdn/SKTK5FAR.js +4 -0
- package/dist/cdn/SOWZBXEP.js +4 -0
- package/dist/cdn/SRKOBPVJ.js +4 -0
- package/dist/cdn/SUYINKJG.js +4 -0
- package/dist/cdn/{H626OGEY.js → SWUABRSU.js} +2 -2
- package/dist/cdn/SX72KDE5.js +4 -0
- package/dist/cdn/T4KQMTU7.js +4 -0
- package/dist/cdn/TAV3RSBJ.js +4 -0
- package/dist/cdn/{644O2ZN3.js → TGA6P5QO.js} +1 -1
- package/dist/cdn/TH7TMHYX.js +4 -0
- package/dist/cdn/TJBUEBH6.js +4 -0
- package/dist/cdn/TL6HI6RS.js +4 -0
- package/dist/cdn/{3MOQYDDW.js → TMN7O6FJ.js} +2 -2
- package/dist/cdn/{ASCEZXVS.js → TWB5UE56.js} +2 -2
- package/dist/cdn/TXW5C7FV.js +4 -0
- package/dist/cdn/{GS75XXLE.js → U2YLERNW.js} +2 -2
- package/dist/cdn/UDSHZ4NK.js +4 -0
- package/dist/cdn/{DZJMGWFN.js → UFE2CTJD.js} +1 -1
- package/dist/cdn/UG4E2Y7P.js +4 -0
- package/dist/cdn/{YHV3NIO3.js → UGACUYY4.js} +1 -1
- package/dist/cdn/UK6V3N2R.js +4 -0
- package/dist/cdn/{5HDE6VZW.js → UKATBWRY.js} +2 -2
- package/dist/cdn/{OMZW5BFB.js → UQQL7D47.js} +2 -2
- package/dist/cdn/V24YNO43.js +4 -0
- package/dist/cdn/{HNTUWDN6.js → VAUPQJ24.js} +2 -2
- package/dist/cdn/{Z3GEIPVJ.js → VBQVICHI.js} +2 -2
- package/dist/cdn/VHQBX2CA.js +4 -0
- package/dist/cdn/{I33MLFDO.js → VIWRO3O7.js} +2 -2
- package/dist/cdn/VJUPFUYX.js +4 -0
- package/dist/cdn/{IHCNH2DN.js → VULZ3GVO.js} +2 -2
- package/dist/cdn/VUPAZ7FL.js +4 -0
- package/dist/cdn/W2UVOZ3H.js +4 -0
- package/dist/cdn/WCBGBBR4.js +4 -0
- package/dist/cdn/WE5URTYS.js +4 -0
- package/dist/cdn/{OWE7LN6J.js → WEUQ6XDA.js} +2 -2
- package/dist/cdn/WHW2YMIZ.js +4 -0
- package/dist/cdn/WQCWKDXR.js +4 -0
- package/dist/cdn/WTQ2766V.js +4 -0
- package/dist/cdn/{XHMPJYVP.js → WWTVT4BW.js} +2 -2
- package/dist/cdn/X3KXNIAK.js +4 -0
- package/dist/cdn/{GX6OS5WM.js → X6J2XYNW.js} +2 -2
- package/dist/cdn/{LIOCNLWV.js → X6NBUB7T.js} +2 -2
- package/dist/cdn/{ZQDZFMSQ.js → X72OYGLZ.js} +2 -2
- package/dist/cdn/XARPZTKD.js +4 -0
- package/dist/cdn/{4KQASVVE.js → XHD5C33K.js} +2 -2
- package/dist/cdn/{QVTN5NUW.js → XJGCAD24.js} +2 -2
- package/dist/cdn/{EXEKXFQP.js → XMVEZY6F.js} +1 -1
- package/dist/cdn/XNEKHNCW.js +4 -0
- package/dist/cdn/XQSYK7VD.js +4 -0
- package/dist/cdn/{7NWMMMFI.js → XRTHTHLN.js} +1 -1
- package/dist/cdn/{NTOKEBO7.js → XY6K5AAY.js} +2 -2
- package/dist/cdn/XZSFGWD2.js +4 -0
- package/dist/cdn/YIQYFEGK.js +4 -0
- package/dist/cdn/YMI3HQT6.js +4 -0
- package/dist/cdn/YNFFKZOP.js +4 -0
- package/dist/cdn/{PIOIDAJB.js → YW2ZTN2B.js} +2 -2
- package/dist/cdn/ZCI6GPV5.js +4 -0
- package/dist/cdn/ZISA556T.js +4 -0
- package/dist/cdn/{3SHRP7XO.js → ZQZOPER3.js} +2 -2
- package/dist/cdn/{AZTXI743.js → ZUCXXPW2.js} +2 -2
- package/dist/cdn/{YCQPBQWG.js → ZUVQ4I5R.js} +2 -2
- package/dist/cdn/{BKA4G57B.js → ZXUWT2XA.js} +2 -2
- package/dist/cdn/assets/area-measurement-2d/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/elevation-profile/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/utility-network-subnetwork-info/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/utility-network-trace-location/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/utility-network-trace-location-list/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/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 +40 -36
- package/dist/chunks/action-utils.js +1 -1
- package/dist/chunks/async-utils.js +80 -62
- package/dist/chunks/basemap-gallery-resources.js +1 -1
- package/dist/chunks/chart-utils.js +1 -1
- package/dist/chunks/chartCommon.js +1 -1
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/createCloseEvent.js +1 -1
- package/dist/chunks/esri-main.js +2 -2
- package/dist/chunks/feature-utils.js +152 -107
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/handle.js +14 -0
- package/dist/chunks/heading.js +1 -1
- package/dist/chunks/layer-list.js +1 -1
- package/dist/chunks/legacyIcon.js +1 -1
- package/dist/chunks/maybe.js +1 -1
- package/dist/chunks/measurementUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/screenLocation.js +1 -1
- package/dist/chunks/slots.js +7 -7
- package/dist/chunks/svgUtils.js +1 -1
- package/dist/chunks/univariateUtils.js +1 -1
- package/dist/chunks/useArcgisViewReadyError.js +91 -0
- 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 +11 -16
- package/dist/chunks/utils2.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/AreaMeasurement2dViewModel.d.ts +39 -0
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +71 -55
- 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 +8 -9
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +3 -3
- package/dist/components/arcgis-area-measurement-3d/customElement.js +30 -31
- package/dist/components/arcgis-attachments/customElement.d.ts +6 -6
- package/dist/components/arcgis-attachments/customElement.js +6 -6
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +4 -4
- package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +4 -4
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +5 -5
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +4 -4
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/customElement.d.ts +17 -7
- 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 +6 -6
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +5 -5
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
- 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 +55 -56
- package/dist/components/arcgis-coordinate-conversion/customElement.js +91 -82
- package/dist/components/arcgis-daylight/customElement.d.ts +119 -56
- package/dist/components/arcgis-daylight/customElement.js +154 -157
- 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 +9 -10
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +3 -13
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +42 -50
- package/dist/components/arcgis-directional-pad/customElement.d.ts +3 -3
- package/dist/components/arcgis-directional-pad/customElement.js +2 -2
- package/dist/components/arcgis-directions/customElement.d.ts +4 -4
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/DistanceMeasurement2dViewModel.d.ts +38 -0
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +70 -51
- 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 +29 -7
- package/dist/components/arcgis-editor/customElement.js +4 -4
- package/dist/components/{arcgis-elevation-profile-next → arcgis-elevation-profile}/ElevationProfileViewModel.d.ts +17 -6
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +108 -73
- package/dist/components/arcgis-elevation-profile/customElement.js +573 -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 +13 -12
- package/dist/components/arcgis-expand/customElement.js +153 -52
- package/dist/components/arcgis-feature/customElement.d.ts +20 -24
- package/dist/components/arcgis-feature/customElement.js +90 -77
- package/dist/components/arcgis-feature/index.d.ts +1 -0
- package/dist/components/arcgis-feature/index.js +1 -0
- package/dist/components/arcgis-feature-attachments/customElement.d.ts +2 -0
- package/dist/components/arcgis-feature-attachments/customElement.js +8 -8
- package/dist/components/arcgis-feature-content/customElement.js +2 -2
- package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
- package/dist/components/arcgis-feature-expression/customElement.js +1 -1
- package/dist/components/arcgis-feature-fields/customElement.d.ts +4 -0
- package/dist/components/arcgis-feature-fields/customElement.js +36 -32
- package/dist/components/arcgis-feature-form/customElement.d.ts +4 -4
- package/dist/components/arcgis-feature-form/customElement.js +2 -2
- package/dist/components/arcgis-feature-media/customElement.d.ts +1 -2
- package/dist/components/arcgis-feature-media/customElement.js +179 -178
- package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.d.ts +11 -10
- 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 +23 -0
- package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +123 -0
- package/dist/components/arcgis-feature-utility-network-association-list/index.d.ts +8 -0
- package/dist/components/arcgis-feature-utility-network-association-list/index.js +8 -0
- package/dist/components/arcgis-feature-utility-network-associations/customElement.d.ts +73 -0
- package/dist/components/arcgis-feature-utility-network-associations/customElement.js +506 -0
- package/dist/components/arcgis-feature-utility-network-associations/index.d.ts +8 -0
- package/dist/components/arcgis-feature-utility-network-associations/index.js +8 -0
- package/dist/components/arcgis-features/customElement.d.ts +29 -14
- package/dist/components/arcgis-features/customElement.js +8 -8
- package/dist/components/arcgis-floor-filter/customElement.d.ts +4 -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 +4 -4
- package/dist/components/arcgis-grid-controls/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +3 -3
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.d.ts +4 -4
- 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 +5 -5
- 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 +19 -4
- package/dist/components/arcgis-legend/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-color-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.js +12 -12
- package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +9 -9
- package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +10 -10
- package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.js +5 -5
- package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +9 -9
- package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
- package/dist/components/arcgis-legend-relationship-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-spike-ramp/customElement.js +4 -4
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +3 -3
- package/dist/components/arcgis-line-of-sight/customElement.js +28 -27
- package/dist/components/arcgis-link-chart/customElement.d.ts +73 -8
- package/dist/components/arcgis-link-chart/customElement.js +22 -27
- package/dist/components/arcgis-link-chart/index.d.ts +2 -0
- package/dist/components/arcgis-link-chart/index.js +2 -0
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +4 -4
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.d.ts +2 -2
- package/dist/components/arcgis-locate/customElement.js +2 -2
- package/dist/components/arcgis-map/customElement.d.ts +479 -64
- package/dist/components/arcgis-map/customElement.js +28 -33
- package/dist/components/arcgis-map/index.d.ts +2 -0
- package/dist/components/arcgis-map/index.js +2 -0
- package/dist/components/arcgis-measurement/customElement.d.ts +4 -4
- package/dist/components/arcgis-measurement/customElement.js +1 -1
- package/dist/components/arcgis-measurement-content/customElement.js +1 -1
- 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 +2 -2
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-popup/customElement.d.ts +50 -20
- package/dist/components/arcgis-popup/customElement.js +72 -72
- package/dist/components/arcgis-print/customElement.d.ts +3 -3
- package/dist/components/arcgis-print/customElement.js +1 -1
- package/dist/components/arcgis-print/utils.d.ts +1 -2
- package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
- package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
- package/dist/components/arcgis-print-export-button/customElement.js +1 -1
- package/dist/components/arcgis-print-exported-link/customElement.js +38 -48
- package/dist/components/arcgis-print-exports-panel/customElement.js +4 -4
- package/dist/components/arcgis-print-format-select/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
- 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 +17 -15
- package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.d.ts +3 -3
- package/dist/components/arcgis-scale-bar/customElement.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +5 -4
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.d.ts +66 -11
- package/dist/components/arcgis-scene/customElement.js +25 -30
- package/dist/components/arcgis-scene/index.d.ts +2 -0
- package/dist/components/arcgis-scene/index.js +2 -0
- package/dist/components/arcgis-search/customElement.d.ts +19 -21
- package/dist/components/arcgis-search/customElement.js +1 -1
- package/dist/components/arcgis-search-result-renderer/customElement.d.ts +2 -0
- package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +8 -8
- package/dist/components/arcgis-shadow-cast/customElement.js +2 -2
- package/dist/components/arcgis-sketch/customElement.d.ts +28 -11
- package/dist/components/arcgis-sketch/customElement.js +18 -10
- package/dist/components/arcgis-slice/customElement.d.ts +3 -3
- 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 +5 -3
- package/dist/components/arcgis-swipe/customElement.js +2 -2
- package/dist/components/arcgis-table-list/customElement.d.ts +7 -5
- package/dist/components/arcgis-table-list/customElement.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.d.ts +5 -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 +3 -3
- package/dist/components/arcgis-track/customElement.js +2 -2
- package/dist/components/arcgis-unit-select/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-association-list/customElement.d.ts +27 -0
- package/dist/components/arcgis-utility-network-association-list/customElement.js +110 -0
- package/dist/components/arcgis-utility-network-association-list/index.d.ts +4 -0
- package/dist/components/arcgis-utility-network-association-list/index.js +4 -0
- package/dist/components/arcgis-utility-network-association-list/types.d.ts +2 -0
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +70 -26
- package/dist/components/arcgis-utility-network-associations/customElement.js +3 -3
- package/dist/components/arcgis-utility-network-result-feature-list/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-subnetwork-info/customElement.d.ts +20 -0
- package/dist/components/arcgis-utility-network-subnetwork-info/customElement.js +36 -0
- package/dist/components/arcgis-utility-network-subnetwork-info/index.d.ts +1 -0
- package/dist/components/arcgis-utility-network-subnetwork-info/index.js +1 -0
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +6 -4
- 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 +38 -52
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +17 -7
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +241 -62
- package/dist/components/arcgis-utility-network-trace-inputs/index.d.ts +7 -2
- package/dist/components/arcgis-utility-network-trace-inputs/index.js +7 -2
- package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +56 -0
- package/dist/components/arcgis-utility-network-trace-location/customElement.js +250 -0
- package/dist/components/arcgis-utility-network-trace-location/index.d.ts +4 -0
- package/dist/components/arcgis-utility-network-trace-location/index.js +4 -0
- package/dist/components/arcgis-utility-network-trace-location-list/customElement.d.ts +21 -0
- package/dist/components/arcgis-utility-network-trace-location-list/customElement.js +75 -0
- package/dist/components/arcgis-utility-network-trace-location-list/index.d.ts +9 -0
- package/dist/components/arcgis-utility-network-trace-location-list/index.js +9 -0
- package/dist/components/arcgis-utility-network-trace-results/customElement.js +2 -2
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +5 -5
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +2 -2
- package/dist/components/arcgis-value-picker/customElement.d.ts +3 -3
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.d.ts +2 -2
- package/dist/components/arcgis-version-management/customElement.js +2 -2
- package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-list/customElement.js +42 -27
- package/dist/components/arcgis-version-management-version-list/index.d.ts +2 -1
- package/dist/components/arcgis-version-management-version-list/index.js +2 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
- package/dist/components/arcgis-video/customElement.d.ts +4 -4
- package/dist/components/arcgis-video/customElement.js +1 -1
- package/dist/components/arcgis-video-player/customElement.d.ts +4 -4
- 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-weather/LabeledSlider.d.ts +3 -2
- package/dist/components/arcgis-weather/customElement.d.ts +18 -2
- package/dist/components/arcgis-weather/customElement.js +150 -132
- package/dist/components/arcgis-zoom/customElement.d.ts +2 -2
- 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 +11 -1
- package/dist/controllers/useArcgisLoadError.d.ts +27 -0
- package/dist/controllers/useArcgisViewReadyError.d.ts +17 -0
- package/dist/docs/api.json +3260 -3124
- package/dist/docs/docs.json +2768 -2485
- package/dist/docs/vscode.css-custom-data.json +16 -16
- package/dist/docs/vscode.html-custom-data.json +307 -488
- package/dist/docs/web-types.json +929 -963
- package/dist/index.d.ts +39 -40
- package/dist/index.js +1 -1
- package/dist/loader.js +28 -25
- package/dist/support/AnalysisViewModel.d.ts +2 -1
- package/dist/support/handle.d.ts +1 -1
- package/dist/support/measurementUtils.d.ts +2 -2
- package/dist/support/slots.d.ts +1 -1
- package/dist/types/lumina.d.ts +41 -29
- package/dist/types/preact.d.ts +44 -31
- package/dist/types/preact10.d.ts +47 -33
- package/dist/types/react.d.ts +47 -33
- package/dist/types/stencil.d.ts +41 -29
- package/dist/utils/async-utils.d.ts +19 -0
- package/dist/utils/feature-utils.d.ts +16 -1
- package/dist/utils/highlight-utils.d.ts +22 -0
- package/dist/utils/layer-utils.d.ts +4 -0
- package/package.json +5 -5
- package/dist/cdn/2BCLISGV.js +0 -4
- package/dist/cdn/2E2OTBP3.js +0 -4
- package/dist/cdn/2PQU44IE.js +0 -4
- package/dist/cdn/2TWS5YI6.js +0 -4
- package/dist/cdn/2X4FSJKI.js +0 -9
- package/dist/cdn/2XCV2CMA.js +0 -4
- package/dist/cdn/3CEZU4WQ.js +0 -4
- package/dist/cdn/3OQFJFII.js +0 -4
- package/dist/cdn/4AOQKZRQ.js +0 -4
- package/dist/cdn/4IMJQEWN.js +0 -4
- package/dist/cdn/4OEMJ2SD.js +0 -4
- package/dist/cdn/4XGQ26JG.js +0 -4
- package/dist/cdn/56OWPQVV.js +0 -4
- package/dist/cdn/5D2VWK66.js +0 -4
- package/dist/cdn/5FPDA2I6.js +0 -4
- package/dist/cdn/5FTBHJXN.js +0 -4
- package/dist/cdn/5N7KH7NZ.js +0 -4
- package/dist/cdn/5WLAQODX.js +0 -4
- package/dist/cdn/654H67QV.js +0 -4
- package/dist/cdn/66SUBFJS.js +0 -4
- package/dist/cdn/7BWGDUUQ.js +0 -4
- package/dist/cdn/7FS7KAGQ.js +0 -4
- package/dist/cdn/7UXSP6EE.js +0 -4
- package/dist/cdn/A7VZPANO.js +0 -4
- package/dist/cdn/AHVNWN6T.js +0 -4
- package/dist/cdn/AIJCNZRM.js +0 -4
- package/dist/cdn/ATK4EQ7U.js +0 -4
- package/dist/cdn/AWUVSJ4I.js +0 -4
- package/dist/cdn/B37SLAFV.js +0 -4
- package/dist/cdn/BHEWYFQY.js +0 -4
- package/dist/cdn/BKP4BYDJ.js +0 -4
- package/dist/cdn/BNHSOSCM.js +0 -4
- package/dist/cdn/BRTX4VDL.js +0 -4
- package/dist/cdn/BV332IWQ.js +0 -4
- package/dist/cdn/C6L47PCN.js +0 -4
- package/dist/cdn/CIVNL54M.js +0 -4
- package/dist/cdn/CQCD3WDG.js +0 -4
- package/dist/cdn/CSTMQZDP.js +0 -4
- package/dist/cdn/CXN7GCTD.js +0 -4
- package/dist/cdn/DJZCJD3T.js +0 -4
- package/dist/cdn/EC7NTTMA.js +0 -4
- package/dist/cdn/EFIRKPF3.js +0 -4
- package/dist/cdn/ELKVQQ7D.js +0 -4
- package/dist/cdn/F37SOOSB.js +0 -4
- package/dist/cdn/FAXTY5SS.js +0 -4
- package/dist/cdn/FYE7EKEC.js +0 -4
- package/dist/cdn/G5TZUCV3.js +0 -4
- package/dist/cdn/GJQ7PMB7.js +0 -4
- package/dist/cdn/GQJE5OUE.js +0 -4
- package/dist/cdn/GXI7P7XS.js +0 -4
- package/dist/cdn/H32W2DCZ.js +0 -4
- package/dist/cdn/H756UUMB.js +0 -4
- package/dist/cdn/HIOSPYNQ.js +0 -4
- package/dist/cdn/HQ44YTSF.js +0 -4
- package/dist/cdn/HY6634VN.js +0 -4
- package/dist/cdn/HYWMDLRY.js +0 -4
- package/dist/cdn/IA33VMUG.js +0 -4
- package/dist/cdn/IOOPHFHT.js +0 -4
- package/dist/cdn/J6GKTNWR.js +0 -4
- package/dist/cdn/JJ55OQED.js +0 -4
- package/dist/cdn/JK6DTNWT.js +0 -4
- package/dist/cdn/JLV2VBC5.js +0 -4
- package/dist/cdn/JT75CZUB.js +0 -4
- package/dist/cdn/K4BFKFZ2.js +0 -4
- package/dist/cdn/KDDEVH4U.js +0 -4
- package/dist/cdn/KLTVZHQA.js +0 -4
- package/dist/cdn/KNCA3SKI.js +0 -4
- package/dist/cdn/L5BT6RA6.js +0 -4
- package/dist/cdn/LRUCJZCF.js +0 -4
- package/dist/cdn/LUS46PJS.js +0 -4
- package/dist/cdn/LUU3MMZC.js +0 -4
- package/dist/cdn/LYTR47EO.js +0 -4
- package/dist/cdn/M5YYA3DP.js +0 -4
- package/dist/cdn/MHAOD5LL.js +0 -4
- package/dist/cdn/MRRTLF3Q.js +0 -4
- package/dist/cdn/NCTKCIMH.js +0 -4
- package/dist/cdn/NK7W7H3O.js +0 -4
- package/dist/cdn/NNBM4MJM.js +0 -4
- package/dist/cdn/NVCA4IBX.js +0 -4
- package/dist/cdn/NZP5SLEC.js +0 -4
- package/dist/cdn/OAKEOF5Z.js +0 -4
- package/dist/cdn/OXTE6NQP.js +0 -4
- package/dist/cdn/PN4NYC47.js +0 -4
- package/dist/cdn/PXZVIBO5.js +0 -4
- package/dist/cdn/QI2PIRGR.js +0 -4
- package/dist/cdn/QJKG2O2J.js +0 -4
- package/dist/cdn/QL7ZKKVM.js +0 -4
- package/dist/cdn/QTUINRMA.js +0 -4
- package/dist/cdn/QTX44MPH.js +0 -4
- package/dist/cdn/R2VYYTEB.js +0 -4
- package/dist/cdn/RZTPBL5M.js +0 -5
- package/dist/cdn/S6CCVUTN.js +0 -4
- package/dist/cdn/S6KWWLV3.js +0 -4
- package/dist/cdn/SEUXPSM6.js +0 -4
- package/dist/cdn/SEXAUJM5.js +0 -4
- package/dist/cdn/STJFX7RM.js +0 -4
- package/dist/cdn/SXHYCAIT.js +0 -4
- package/dist/cdn/T54DV4QC.js +0 -4
- package/dist/cdn/TQBIJGQS.js +0 -4
- package/dist/cdn/TYPX5QRF.js +0 -4
- package/dist/cdn/TYQGVZYI.js +0 -4
- package/dist/cdn/UJZ5JH6J.js +0 -4
- package/dist/cdn/V4N5GGFQ.js +0 -4
- package/dist/cdn/VMCP5ODS.js +0 -4
- package/dist/cdn/VPRPVNFB.js +0 -4
- package/dist/cdn/VT6EJ2WP.js +0 -4
- package/dist/cdn/VZHLFLNT.js +0 -4
- package/dist/cdn/WCHCFMJJ.js +0 -4
- package/dist/cdn/WGSCKAJJ.js +0 -4
- package/dist/cdn/WJCYWE3O.js +0 -4
- package/dist/cdn/YCX7GC7L.js +0 -4
- package/dist/cdn/Z2M5WQBL.js +0 -4
- package/dist/cdn/ZAVOAP6R.js +0 -4
- package/dist/cdn/ZB6HNUVW.js +0 -4
- package/dist/cdn/ZGKPCMCL.js +0 -4
- package/dist/cdn/ZWCA7RTD.js +0 -4
- package/dist/cdn/ZYF3EM6X.js +0 -4
- package/dist/cdn/assets/elevation-profile-next/t9n/messages.en.json +0 -1
- package/dist/chunks/uiController.js +0 -45
- 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-version-management-version-item/customElement.d.ts +0 -22
- package/dist/components/arcgis-version-management-version-item/customElement.js +0 -30
- package/dist/components/arcgis-version-management-version-item/index.d.ts +0 -5
- package/dist/components/arcgis-version-management-version-item/index.js +0 -5
- 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
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
2
|
/// <reference path="../../index.d.ts" />
|
|
3
|
-
import { default as Collection } from '@arcgis/core/core/Collection.js';
|
|
4
3
|
import { default as MapView } from '@arcgis/core/views/MapView.js';
|
|
5
4
|
import { default as WebMap } from '@arcgis/core/WebMap.js';
|
|
6
5
|
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
7
6
|
import { Use } from '@arcgis/lumina/controllers';
|
|
8
7
|
import { nil } from '@arcgis/toolkit/type';
|
|
8
|
+
import { default as Collection } from '@arcgis/core/core/Collection.js';
|
|
9
|
+
import { LoadErrorSource } from '../../controllers/useArcgisLoadError';
|
|
9
10
|
|
|
10
|
-
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">,
|
|
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")> & {
|
|
11
12
|
autoDestroyDisabled: boolean;
|
|
12
13
|
destroy: () => Promise<void>;
|
|
13
14
|
}) => WebMap;
|
|
14
|
-
declare const useMapView: (component: LitElement & Omit<Pick<MapView, "
|
|
15
|
+
declare const useMapView: (component: LitElement & Omit<Pick<MapView, "rotation" | "center" | "analyses" | "map" | "aria" | "background" | "basemapView" | "constraints" | "extent" | "fatalError" | "floors" | "graphics" | "highlights" | "highlightOptions" | "navigation" | "padding" | "popup" | "resizeAlign" | "scale" | "spatialReference" | "spatialReferenceLocked" | "theme" | "timeExtent" | "timeZone" | "viewpoint" | "zoom" | "widthBreakpoint" | "animation" | "animationsEnabled" | "attributionVisible" | "breakpoints" | "container" | "displayFilterEnabled" | "heightBreakpoint" | "popupEnabled" | "ui">, "widthBreakpoint" | "animation" | "animationsEnabled" | "attributionVisible" | "breakpoints" | "container" | "displayFilterEnabled" | "heightBreakpoint" | "popupEnabled" | "ui" | ("destroyed" | "initialized" | "declaredClass" | "set" | "watch" | "addHandles" | "removeHandles" | "hasHandles")> & {
|
|
15
16
|
autoDestroyDisabled: boolean;
|
|
16
17
|
destroy: () => Promise<void>;
|
|
17
18
|
}) => MapView;
|
|
@@ -19,18 +20,49 @@ declare const useMapView: (component: LitElement & Omit<Pick<MapView, "map" | "a
|
|
|
19
20
|
* The ArcGIS Map component is used to add 2D maps to web applications. For 3D maps, use the
|
|
20
21
|
* [ArcGIS Scene component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/).
|
|
21
22
|
*
|
|
22
|
-
*
|
|
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.
|
|
23
30
|
*
|
|
24
31
|
* ```html
|
|
25
32
|
* <arcgis-map item-id="05e015c5f0314db9a487a9b46cb37eca"></arcgis-map>
|
|
26
33
|
* ```
|
|
27
34
|
*
|
|
28
|
-
*
|
|
35
|
+
* ##### 2. Setting Map component attributes directly
|
|
36
|
+
* Define the Map component using attributes like [basemap](#basemap), [center](#center), and [zoom](#zoom) directly.
|
|
29
37
|
*
|
|
30
38
|
* ```html
|
|
31
39
|
* <arcgis-map basemap="satellite" center="-154.88, 19.46" zoom="15"></arcgis-map>
|
|
32
40
|
* ```
|
|
33
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
|
+
*
|
|
34
66
|
* Other components can be added and connected to the Map component.
|
|
35
67
|
*
|
|
36
68
|
* ```html
|
|
@@ -67,17 +99,65 @@ declare const useMapView: (component: LitElement & Omit<Pick<MapView, "map" | "a
|
|
|
67
99
|
* @slot [top-end] - Slot for components positioned at the top-end (top-right in LTR, top-left in RTL).
|
|
68
100
|
* @slot [bottom-start] - Slot for components positioned at the bottom-start (bottom-left in LTR, bottom-right in RTL).
|
|
69
101
|
* @slot [bottom-end] - Slot for components positioned at the bottom-end (bottom-right in LTR, bottom-left in RTL).
|
|
102
|
+
* @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.
|
|
70
103
|
*/
|
|
71
104
|
export declare class ArcgisMap extends LitElement {
|
|
72
|
-
/**
|
|
105
|
+
/**
|
|
106
|
+
* Fires when a ArcgisMap fails to load or if one of its dependencies fails to load (e.g., basemap, ground, layers).
|
|
107
|
+
*
|
|
108
|
+
* @since 4.34
|
|
109
|
+
* @see [loadErrorSources](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/#loadErrorSources)
|
|
110
|
+
* @example
|
|
111
|
+
* ```js
|
|
112
|
+
* viewElement.addEventListener("arcgisLoadError", () => {
|
|
113
|
+
* console.log(viewElement.loadErrorSources);
|
|
114
|
+
* });
|
|
115
|
+
* ```
|
|
116
|
+
*/
|
|
117
|
+
readonly arcgisLoadError: TargetedEvent<this>;
|
|
118
|
+
/**
|
|
119
|
+
* Fires if the view encounters a content or rendering error.
|
|
120
|
+
*
|
|
121
|
+
* @since 4.34
|
|
122
|
+
* @example
|
|
123
|
+
* ```js
|
|
124
|
+
* viewElement.addEventListener("arcgisViewReadyError", () => {
|
|
125
|
+
* // handle error
|
|
126
|
+
* });
|
|
127
|
+
* ```
|
|
128
|
+
*/
|
|
129
|
+
readonly arcgisViewReadyError: TargetedEvent<this>;
|
|
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. */
|
|
73
131
|
readonly view: MapView;
|
|
74
132
|
/**
|
|
75
|
-
*
|
|
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.
|
|
76
143
|
*
|
|
77
|
-
*
|
|
144
|
+
* @since 4.34
|
|
145
|
+
* @default false
|
|
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).
|
|
150
|
+
*
|
|
151
|
+
* @since 4.34
|
|
78
152
|
*/
|
|
79
153
|
get aria(): __esri.MapView["aria"];
|
|
80
154
|
set aria(value: __esri.MapView["aria"]);
|
|
155
|
+
/**
|
|
156
|
+
* The attribution items displayed in the view's attribution.
|
|
157
|
+
*
|
|
158
|
+
* @since 5.0
|
|
159
|
+
*/
|
|
160
|
+
get attributionItems(): __esri.MapView["attributionItems"];
|
|
81
161
|
/**
|
|
82
162
|
* Collection containing a flat list of all the created LayerViews
|
|
83
163
|
* related to the basemap, operational layers, and group layers in this view.
|
|
@@ -87,6 +167,8 @@ export declare class ArcgisMap extends LitElement {
|
|
|
87
167
|
* A collection of analyses associated with the view.
|
|
88
168
|
*
|
|
89
169
|
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View2D.html#analyses)
|
|
170
|
+
*
|
|
171
|
+
* @since 4.34
|
|
90
172
|
*/
|
|
91
173
|
analyses: Collection<__esri.Analysis>;
|
|
92
174
|
/**
|
|
@@ -100,8 +182,7 @@ export declare class ArcgisMap extends LitElement {
|
|
|
100
182
|
*/
|
|
101
183
|
autoDestroyDisabled: boolean;
|
|
102
184
|
/**
|
|
103
|
-
* The background color of the
|
|
104
|
-
* even if the user set it previously.
|
|
185
|
+
* The background color of the Map component.
|
|
105
186
|
*
|
|
106
187
|
* @default null
|
|
107
188
|
*/
|
|
@@ -121,32 +202,98 @@ export declare class ArcgisMap extends LitElement {
|
|
|
121
202
|
basemapView: __esri.BasemapView;
|
|
122
203
|
/**
|
|
123
204
|
* Represents the view's center point; when setting the center, you may pass a
|
|
124
|
-
* esri
|
|
125
|
-
* a longitude/latitude pair (`"-100.4593, 36.9014"
|
|
126
|
-
* Setting the center immediately changes the current view.
|
|
127
|
-
*
|
|
205
|
+
* [Point](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Point.html) instance, numbers representing
|
|
206
|
+
* a longitude/latitude pair (`[-100.4593, 36.9014]`), or a string attribute representing a longitude/latitude pair ("-100.4593, 36.9014").
|
|
207
|
+
* Setting the `center` immediately changes the current view. For animating the view, see this component's [goTo()](#goTo) method.
|
|
208
|
+
*
|
|
209
|
+
* The returned [Point](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Point.html) object is always
|
|
210
|
+
* in the spatial reference of the view and may be modified internally.
|
|
211
|
+
* To persist the returned object, create a clone using [clone()](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Point.html#clone) method.
|
|
212
|
+
*
|
|
213
|
+
* **Notes**
|
|
214
|
+
*
|
|
215
|
+
* * If the spatial reference of `center` set in the constructor does not match the [spatialReference](#spatialReference) of the view, then the
|
|
216
|
+
* [projectOperator](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-operators-projectOperator.html) will be loaded dynamically.
|
|
217
|
+
* * At runtime, the [projectOperator](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-operators-projectOperator.html) must be
|
|
218
|
+
* [loaded](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-operators-projectOperator.html#load) when
|
|
219
|
+
* setting the `center` to a spatial reference that doesn't match the view spatial reference. You can check if the projectOperator is
|
|
220
|
+
* loaded prior to setting the center by calling [isLoaded()](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-operators-projectOperator.html#isLoaded)
|
|
221
|
+
* method. If it is not yet loaded, you can call [load()](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-operators-projectOperator.html#load) method.
|
|
222
|
+
*
|
|
223
|
+
* @example
|
|
224
|
+
* ```html
|
|
225
|
+
* <arcgis-map zoom="4" center="-98, 39"></arcgis-map>
|
|
226
|
+
* ```
|
|
227
|
+
* @example
|
|
228
|
+
* ```js
|
|
229
|
+
* // Sets the initial center point of the map component to lon/lat coordinates
|
|
230
|
+
* // lon/lat will be projected to match the spatial reference of the view
|
|
231
|
+
* const viewElement = document.querySelector("arcgis-map");
|
|
232
|
+
* viewElement.center = [-98, 39]; // lon, lat
|
|
233
|
+
* ```
|
|
234
|
+
* @example
|
|
235
|
+
* ```js
|
|
236
|
+
* // Updates the view's center point to a pre-determined Point object
|
|
237
|
+
* let centerPoint = new Point({
|
|
238
|
+
* x: 12804.24,
|
|
239
|
+
* y: -1894032.09,
|
|
240
|
+
* spatialReference: {
|
|
241
|
+
* wkid: view.spatialReference // wkid 2027
|
|
242
|
+
* }
|
|
243
|
+
* });
|
|
244
|
+
* const viewElement = document.querySelector("arcgis-map");
|
|
245
|
+
* view.center = centerPoint;
|
|
246
|
+
* ```
|
|
247
|
+
* @example
|
|
248
|
+
* ```js
|
|
249
|
+
* // the point's spatialReference does not match the view's spatialReference
|
|
250
|
+
* // the projectOperator will be used to project the point to match
|
|
251
|
+
* // the view's spatialReference
|
|
252
|
+
* const centerPoint = new Point({
|
|
253
|
+
* x: -8746995,
|
|
254
|
+
* y: 4352308,
|
|
255
|
+
* spatialReference: {
|
|
256
|
+
* wkid: 8857
|
|
257
|
+
* }
|
|
258
|
+
* });
|
|
259
|
+
* if (!projectOperator.isLoaded()) {
|
|
260
|
+
* await projectOperator.load();
|
|
261
|
+
* }
|
|
262
|
+
* const viewElement = document.querySelector("arcgis-map");
|
|
263
|
+
* viewElement.center = centerPoint;
|
|
264
|
+
* ```
|
|
128
265
|
*/
|
|
129
266
|
get center(): __esri.MapView["center"];
|
|
130
267
|
set center(newValue: __esri.MapView["center"] | nil | number[] | string);
|
|
131
|
-
/** Specifies constraints to scale, zoom, and rotation that may be applied to the
|
|
268
|
+
/** Specifies constraints to scale, zoom, and rotation that may be applied to the map. */
|
|
132
269
|
constraints: __esri.View2DConstraints;
|
|
133
270
|
/**
|
|
134
|
-
* Indicates whether layer's
|
|
271
|
+
* Indicates whether a layer's `displayFilterInfo` is honored when rendering layers in the view.
|
|
135
272
|
* If `false`, display filters are ignored and all features are rendered.
|
|
136
273
|
*
|
|
137
274
|
* @default false
|
|
138
275
|
*/
|
|
139
276
|
displayFilterDisabled: boolean;
|
|
140
277
|
/**
|
|
141
|
-
* The extent represents the visible portion of a map within the view as an instance of esri
|
|
278
|
+
* The extent represents the visible portion of a map within the view as an instance of [Extent](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Extent.html).
|
|
142
279
|
* Setting the extent immediately changes the view without animation. To animate
|
|
143
|
-
* the view, see this component's goTo() method.
|
|
280
|
+
* the view, see this component's [goTo()](#goTo) method.
|
|
144
281
|
* When the view is rotated, the extent does not update to include the newly visible portions of the map.
|
|
282
|
+
*
|
|
283
|
+
* **Notes**
|
|
284
|
+
*
|
|
285
|
+
* * If the spatial reference of `extent` set does not match the [spatialReference](#spatialReference) of the view, then the
|
|
286
|
+
* [projectOperator](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-operators-projectOperator.html) will be loaded dynamically.
|
|
287
|
+
* * At runtime, the [projectOperator](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-operators-projectOperator.html)
|
|
288
|
+
* must be [loaded](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-operators-projectOperator.html#load) when
|
|
289
|
+
* setting the `extent` to a spatial reference that doesn't match the view spatial reference. You can check if the projectOperator is
|
|
290
|
+
* loaded prior to setting the extent by calling [isLoaded()](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-operators-projectOperator.html#isLoaded)
|
|
291
|
+
* method. If it is not yet loaded, you can call the [load](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-operators-projectOperator.html#load) method.
|
|
145
292
|
*/
|
|
146
293
|
get extent(): __esri.MapView["extent"];
|
|
147
294
|
set extent(newValue: __esri.MapView["extent"]);
|
|
148
295
|
/** A rejected view indicates a fatal error making it unable to display. */
|
|
149
|
-
fatalError:
|
|
296
|
+
fatalError: __esri.Error | nullish;
|
|
150
297
|
/**
|
|
151
298
|
* Applies a display filter on the view for a specific set of floor levels.
|
|
152
299
|
* It can filter the map display on floor-aware layers by zero or more level IDs.
|
|
@@ -173,8 +320,33 @@ export declare class ArcgisMap extends LitElement {
|
|
|
173
320
|
get ground(): typeof this._map.ground;
|
|
174
321
|
set ground(value: __esri.Ground | string);
|
|
175
322
|
/**
|
|
176
|
-
*
|
|
177
|
-
*
|
|
323
|
+
* Represents a collection of [HighlightOptions](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-support-HighlightOptions.html)
|
|
324
|
+
* objects which can be used to highlight features throughout an application. Highlighting works by applying highlight options to one or
|
|
325
|
+
* more features. You can configure these options (such as color or opacity) to define how a feature will be visually
|
|
326
|
+
* emphasized.
|
|
327
|
+
*
|
|
328
|
+
* A maximum of six [HighlightOptions](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-support-HighlightOptions.html)
|
|
329
|
+
* objects are supported in the collection, and they can be added, removed, and reordered freely. Their order in the collection determines priority, with the last
|
|
330
|
+
* object having the highest priority. If you apply more than one highlight to a feature, the one that is last within
|
|
331
|
+
* the collection will be applied. The [HighlightOptions](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-support-HighlightOptions.html)
|
|
332
|
+
* object must be part of this collection in order to be applied to features.
|
|
333
|
+
*
|
|
334
|
+
* To highlight a feature, use the [highlight()](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-FeatureLayerView.html#highlight)
|
|
335
|
+
* method on the relevant [LayerView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-LayerView.html) instance. To apply specific
|
|
336
|
+
* [HighlightOptions](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-support-HighlightOptions.html), include the
|
|
337
|
+
* [name](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-support-HighlightOptions.html#name) in the `highlight()` method's `options` parameter.
|
|
338
|
+
* If no `name` is provided, the feature will use the `default` highlight options.
|
|
339
|
+
*
|
|
340
|
+
* The table below shows the default highlight options in the View's highlights collection if the collection has not
|
|
341
|
+
* been modified:
|
|
342
|
+
*
|
|
343
|
+
* | Highlight options name | Description | Default settings |
|
|
344
|
+
* | ---------------------- | ----------- | ---------------- |
|
|
345
|
+
* | default | The default highlight options. Used when `layerView.highlight()` is called without specifying any particular highlight options. | ` { name: "default", color: "cyan", haloOpacity: 1, fillOpacity: 0.25, shadowColor: "black", shadowOpacity: 0.4, shadowDifference: 0.2}` |
|
|
346
|
+
* | temporary | The temporary highlight options, pre-configured for common use cases such as hovering over a feature in the view. | `{ name: "temporary", color: "yellow", haloOpacity: 1, fillOpacity: 0.25, shadowColor: "black", shadowOpacity: 0.4, shadowDifference: 0.2 }` |
|
|
347
|
+
*
|
|
348
|
+
* @see [Sample: Highlight features by geometry](https://developers.arcgis.com/javascript/latest/sample-code/highlight-features-by-geometry/)
|
|
349
|
+
* @see [Sample: Highlight point features](https://developers.arcgis.com/javascript/latest/sample-code/highlight-point-features/)
|
|
178
350
|
*/
|
|
179
351
|
highlights: Collection<__esri.HighlightOptions>;
|
|
180
352
|
/**
|
|
@@ -184,7 +356,7 @@ export declare class ArcgisMap extends LitElement {
|
|
|
184
356
|
*/
|
|
185
357
|
highlightOptions: __esri.HighlightOptions;
|
|
186
358
|
/**
|
|
187
|
-
*
|
|
359
|
+
* Indicates whether the view is being interacted with (for example, when panning or via an interactive tool).
|
|
188
360
|
*
|
|
189
361
|
* @default false
|
|
190
362
|
*/
|
|
@@ -200,14 +372,14 @@ export declare class ArcgisMap extends LitElement {
|
|
|
200
372
|
set itemId(newValue: nil | string);
|
|
201
373
|
/**
|
|
202
374
|
* A collection containing a hierarchical list of all the created
|
|
203
|
-
* esri
|
|
204
|
-
* esri
|
|
375
|
+
* [LayerView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-LayerView.html)s of the
|
|
376
|
+
* [operational layers](https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html#layers) in the map.
|
|
205
377
|
*/
|
|
206
378
|
readonly layerViews: Collection<__esri.LayerView>;
|
|
207
379
|
/** The magnifier allows for showing a portion of the view as a magnifier image on top of the view. */
|
|
208
380
|
readonly magnifier: __esri.Magnifier;
|
|
209
|
-
/** An instance of a esri
|
|
210
|
-
map: __esri.Map
|
|
381
|
+
/** An instance of a [Map](https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html) object to display in the view. */
|
|
382
|
+
map: nullish | __esri.Map;
|
|
211
383
|
/**
|
|
212
384
|
* Indication whether the view is being navigated (for example when panning).
|
|
213
385
|
*
|
|
@@ -233,14 +405,22 @@ export declare class ArcgisMap extends LitElement {
|
|
|
233
405
|
*/
|
|
234
406
|
popup: nullish | __esri.Popup;
|
|
235
407
|
/**
|
|
236
|
-
* Controls whether the popup opens when users click on the view.
|
|
408
|
+
* Controls whether the popup opens automatically when users click on the view.
|
|
237
409
|
*
|
|
238
410
|
* @default false
|
|
239
411
|
*/
|
|
240
412
|
popupDisabled: boolean;
|
|
241
413
|
/**
|
|
242
|
-
* When `true`, this property indicates whether the view successfully satisfied all dependencies,
|
|
243
|
-
*
|
|
414
|
+
* When `true`, this property indicates whether the [view](#view) has successfully satisfied all dependencies, signaling that the following conditions are met:
|
|
415
|
+
*
|
|
416
|
+
* * The view has a [map](#map). If [map](#map)
|
|
417
|
+
* is a [WebMap](https://developers.arcgis.com/javascript/latest/api-reference/esri-WebMap.html), then the map
|
|
418
|
+
* must be [loaded](https://developers.arcgis.com/javascript/latest/api-reference/esri-WebMap.html#loaded).
|
|
419
|
+
* * The view has a [spatialReference](#spatialReference), a [center](#center), and a [scale](#scale).
|
|
420
|
+
* These also can be inferred by setting an [extent](#extent).
|
|
421
|
+
*
|
|
422
|
+
* When a view becomes ready it will resolve itself and invoke
|
|
423
|
+
* the callback defined in [viewOnReady()](#viewOnReady) where code can execute on a working view.
|
|
244
424
|
*
|
|
245
425
|
* @default false
|
|
246
426
|
*/
|
|
@@ -252,7 +432,7 @@ export declare class ArcgisMap extends LitElement {
|
|
|
252
432
|
*
|
|
253
433
|
* @default "center"
|
|
254
434
|
*/
|
|
255
|
-
resizeAlign: "
|
|
435
|
+
resizeAlign: "center" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | "left" | "right" | "top" | "bottom";
|
|
256
436
|
/**
|
|
257
437
|
* Represents the current value of one pixel in the unit of the view's spatialReference.
|
|
258
438
|
* The value of resolution is calculated by dividing the view's extent width
|
|
@@ -272,20 +452,67 @@ export declare class ArcgisMap extends LitElement {
|
|
|
272
452
|
rotation: number;
|
|
273
453
|
/**
|
|
274
454
|
* Represents the map scale at the center of the view. Setting the scale immediately changes the view. For animating
|
|
275
|
-
* the view, see this component's goTo() method.
|
|
455
|
+
* the view, see this component's [goTo()](#goTo) method.
|
|
276
456
|
*/
|
|
277
457
|
get scale(): number;
|
|
278
458
|
set scale(newValue: number);
|
|
279
459
|
/**
|
|
280
|
-
* The spatial reference of the view.
|
|
281
|
-
*
|
|
282
|
-
*
|
|
283
|
-
*
|
|
460
|
+
* The spatial reference of the view. This indicates the projected or geographic coordinate system used to locate geographic features in the map.
|
|
461
|
+
* You can change the spatialReference of the view after it is initialized by either directly changing
|
|
462
|
+
* this property, or by changing the basemap from the [Basemap Gallery](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-basemap-gallery/)
|
|
463
|
+
* and [Basemap Toggle](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-basemap-toggle/) components.
|
|
464
|
+
* Set [spatialReferenceLocked](#spatialReferenceLocked) property to `true` to prevent users from changing the view's spatial reference at runtime.
|
|
465
|
+
*
|
|
466
|
+
* Prior to changing the spatial reference, check if the [projectOperator](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-operators-projectOperator.html)
|
|
467
|
+
* is loaded by calling [projectOperator.isLoaded()](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-operators-projectOperator.html#isLoaded) method.
|
|
468
|
+
* If it is not yet loaded, call [projectOperator.load()](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-operators-projectOperator.html#load) method.
|
|
469
|
+
* If the `projectOperator` is not loaded, the view's [center](#center) will default to `[0, 0]` in the new spatial reference of the view and a console error will be thrown.
|
|
470
|
+
*
|
|
471
|
+
* **Notes**
|
|
472
|
+
*
|
|
473
|
+
* * [LayerViews](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-LayerView.html) not compatible with the view's spatial reference
|
|
474
|
+
* are not displayed. In such case, the layer view's [suspended](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-LayerView.html#suspended)
|
|
475
|
+
* property is `true` and [spatialReferenceSupported](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-LayerView.html#spatialReferenceSupported)
|
|
476
|
+
* property is `false`.
|
|
477
|
+
* * When setting view's spatial reference, the [center](#center), [extent](#extent) or [viewpoint.targetGeometry](#viewpoint) properties are projected to the new spatial
|
|
478
|
+
* reference. The [scale](#scale) and [rotation](#rotation) properties are adjusted to keep the content of the map at the same size and orientation on screen.
|
|
479
|
+
* * To ensure [TileLayers](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-TileLayer.html) and
|
|
480
|
+
* [VectorTileLayers](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-VectorTileLayer.html)
|
|
481
|
+
* are displayed in a [basemap](#basemap) correctly, the spatialReference of the view must be set match their
|
|
482
|
+
* [tileInfo's](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-TileInfo.html) spatial reference.
|
|
483
|
+
* * Switching spatial reference with an [imageCoordinateSystem](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-SpatialReference.html#imageCoordinateSystem)
|
|
484
|
+
* is not supported.
|
|
485
|
+
*
|
|
486
|
+
* @name spatialReference
|
|
487
|
+
* @instance
|
|
488
|
+
* @type {module:esri/geometry/SpatialReference}
|
|
489
|
+
* @autocast
|
|
490
|
+
* @see [spatialReferenceLocked](#spatialReferenceLocked)
|
|
491
|
+
* @example
|
|
492
|
+
* ```js
|
|
493
|
+
* const viewElement = document.querySelector("arcgis-map");
|
|
494
|
+
* // check if the projectOperator is loaded
|
|
495
|
+
* if (!projectOperator.isLoaded()) {
|
|
496
|
+
* // load the projectOperator if it is not loaded
|
|
497
|
+
* projectOperator.load().then(() => {
|
|
498
|
+
* // change the spatial reference of the map component to equal earth projection
|
|
499
|
+
* viewElement.spatialReference = new SpatialReference({
|
|
500
|
+
* wkid: 54035 //equal earth projection
|
|
501
|
+
* });
|
|
502
|
+
* });
|
|
503
|
+
* } else {
|
|
504
|
+
* // the projectOperator is already loaded.
|
|
505
|
+
* // change the spatial reference of the view to equal earth projection
|
|
506
|
+
* viewElement.spatialReference = new SpatialReference({
|
|
507
|
+
* wkid: 54035 //equal earth projection
|
|
508
|
+
* });
|
|
509
|
+
* }
|
|
510
|
+
* ```
|
|
284
511
|
* @default null
|
|
285
512
|
*/
|
|
286
513
|
spatialReference: __esri.SpatialReference;
|
|
287
514
|
/**
|
|
288
|
-
* Indicates if the map's spatialReference can be changed after it is ready.
|
|
515
|
+
* Indicates if the map's [spatialReference](#spatialReference) can be changed after it is ready.
|
|
289
516
|
* The default is `false`, indicating the map's spatialReference can be changed at runtime.
|
|
290
517
|
* When true, basemaps with spatial references that do not match the map's spatial reference
|
|
291
518
|
* will be disabled in [arcgis-basemap-gallery](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-basemap-gallery/) and [arcgis-basemap-toggle](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-basemap-toggle/) components and the map's spatialReference cannot be changed at runtime.
|
|
@@ -307,8 +534,7 @@ export declare class ArcgisMap extends LitElement {
|
|
|
307
534
|
*/
|
|
308
535
|
readonly suspended: boolean;
|
|
309
536
|
/**
|
|
310
|
-
* This property specifies the base colors used by some
|
|
311
|
-
* and components to render graphics and labels.
|
|
537
|
+
* This property specifies the base colors used by some components to render graphics and labels.
|
|
312
538
|
*
|
|
313
539
|
* @default null
|
|
314
540
|
*/
|
|
@@ -340,7 +566,7 @@ export declare class ArcgisMap extends LitElement {
|
|
|
340
566
|
/**
|
|
341
567
|
* Represents the current view as a Viewpoint or point of observation on the view.
|
|
342
568
|
* Setting the viewpoint immediately changes the current view. For animating
|
|
343
|
-
* the view, see this component's goTo() method.
|
|
569
|
+
* the view, see this component's [goTo()](#goTo) method.
|
|
344
570
|
*/
|
|
345
571
|
get viewpoint(): __esri.Viewpoint;
|
|
346
572
|
set viewpoint(newValue: __esri.Viewpoint);
|
|
@@ -350,20 +576,25 @@ export declare class ArcgisMap extends LitElement {
|
|
|
350
576
|
*
|
|
351
577
|
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View2D.html#visibleArea)
|
|
352
578
|
*/
|
|
353
|
-
readonly visibleArea:
|
|
579
|
+
readonly visibleArea: __esri.Polygon | nullish;
|
|
354
580
|
/**
|
|
355
|
-
* Represents the level of detail (LOD) at the center of the
|
|
356
|
-
* A zoom level (or scale) is a number that defines how large or small the contents of a map appear in a
|
|
581
|
+
* Represents the level of detail (LOD) at the center of the map.
|
|
582
|
+
* A zoom level (or scale) is a number that defines how large or small the contents of a map appear in a Map component.
|
|
357
583
|
* Zoom level is a number usually between 0 (global view) and 23 (very detailed view) and is used as a shorthand for predetermined scale values.
|
|
358
|
-
* A value of -1 means the
|
|
359
|
-
* When setting the zoom value, the
|
|
360
|
-
* MapView can display maps with different projections at a full range of scales, and so use the scale property on this component rather than zoom level.
|
|
584
|
+
* A value of -1 means the map has no LODs.
|
|
585
|
+
* When setting the zoom value, the component converts it to the corresponding scale, or interpolates it if the zoom is a fractional number.
|
|
361
586
|
*
|
|
362
|
-
* Setting the zoom immediately changes the current view. For animating the view, see this component's goTo() method.
|
|
587
|
+
* Setting the zoom immediately changes the current view. For animating the view, see this component's [goTo()](#goTo) method.
|
|
363
588
|
* Setting this property in conjunction with `center` is a convenient way to set the initial extent of the view.
|
|
364
589
|
*/
|
|
365
590
|
get zoom(): number;
|
|
366
591
|
set zoom(newValue: number);
|
|
592
|
+
/**
|
|
593
|
+
* An array of objects that encountered an error while loading the component or any of its dependencies (e.g., basemap, ground, layers, tables). You may inspect the errors by accessing each object's `loadError` property.
|
|
594
|
+
*
|
|
595
|
+
* @since 4.34
|
|
596
|
+
*/
|
|
597
|
+
loadErrorSources?: LoadErrorSource[];
|
|
367
598
|
/**
|
|
368
599
|
* @deprecated
|
|
369
600
|
* since 4.33, use `element.map.add(layer)` instead.
|
|
@@ -398,7 +629,74 @@ export declare class ArcgisMap extends LitElement {
|
|
|
398
629
|
destroy(): Promise<void>;
|
|
399
630
|
/** Sets the view to a given target. */
|
|
400
631
|
goTo(target: __esri.GoToTarget2D, options?: __esri.GoToOptions2D): Promise<unknown>;
|
|
401
|
-
/**
|
|
632
|
+
/**
|
|
633
|
+
* Returns [hit test results](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#HitTestResult)
|
|
634
|
+
* from each layer that intersects the specified screen coordinates. The results are
|
|
635
|
+
* organized as an array of objects containing different [result types](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#HitTestResult).
|
|
636
|
+
*
|
|
637
|
+
* 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
|
|
638
|
+
* made on intersecting features: [FeatureLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html),
|
|
639
|
+
* [CatalogLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-CatalogLayer.html),
|
|
640
|
+
* [CSVLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-CSVLayer.html),
|
|
641
|
+
* [GeoJSONLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-GeoJSONLayer.html),
|
|
642
|
+
* [GeoRSSLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-GeoRSSLayer.html),
|
|
643
|
+
* [GraphicsLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-GraphicsLayer.html),
|
|
644
|
+
* [KMLLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-KMLLayer.html),
|
|
645
|
+
* [MapNotesLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-MapNotesLayer.html),
|
|
646
|
+
* [OGCFeatureLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-OGCFeatureLayer.html),
|
|
647
|
+
* [StreamLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-StreamLayer.html),
|
|
648
|
+
* [SubtypeSublayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-SubtypeSublayer.html),
|
|
649
|
+
* [VectorTileLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-VectorTileLayer.html), and
|
|
650
|
+
* [WFSLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-WFSLayer.html).
|
|
651
|
+
*
|
|
652
|
+
* The [ParquetLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-ParquetLayer.html) hit result returns only the topmost feature
|
|
653
|
+
* when the hit occurs on overlapping features in a ParquetLayer.
|
|
654
|
+
*
|
|
655
|
+
* The [VectorTileLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-VectorTileLayer.html) hit test result contains an array of objects containing
|
|
656
|
+
* a [graphic](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#GraphicHit).
|
|
657
|
+
* 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)
|
|
658
|
+
* 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).
|
|
659
|
+
* 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).
|
|
660
|
+
* Otherwise, the graphic's geometry is `null`.
|
|
661
|
+
*
|
|
662
|
+
* 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.
|
|
663
|
+
* 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.
|
|
664
|
+
*
|
|
665
|
+
* If the [polygon](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Polygon.html) feature's symbol
|
|
666
|
+
* [style](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-SimpleFillSymbol.html#style) is set to `none`, the hitTest method will not
|
|
667
|
+
* 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
|
|
668
|
+
* [color](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-SimpleFillSymbol.html#color) to a transparent color instead.
|
|
669
|
+
*
|
|
670
|
+
* @example
|
|
671
|
+
* ```js
|
|
672
|
+
* viewElement.addEventListener("arcgisViewClick", (event) => {
|
|
673
|
+
* viewElement.hitTest(event.detail).then((response) => {
|
|
674
|
+
* const result = response.results[0];
|
|
675
|
+
* if (result?.type === "graphic") {
|
|
676
|
+
* const { longitude, latitude } = result.mapPoint;
|
|
677
|
+
* console.log(`Hit graphic at (${longitude}, ${latitude})`, result.graphic);
|
|
678
|
+
* } else {
|
|
679
|
+
* console.log("Did not hit any graphic");
|
|
680
|
+
* }
|
|
681
|
+
* });
|
|
682
|
+
* });
|
|
683
|
+
* ```
|
|
684
|
+
* @example
|
|
685
|
+
* ```js
|
|
686
|
+
* // get screenpoint from view's click event
|
|
687
|
+
* viewElement.addEventListener("arcgisViewClick", async (event) => {
|
|
688
|
+
* // Search for all media elements only on included mediaLayer at the clicked location
|
|
689
|
+
* const response = await viewElement.hitTest(event.detail, {
|
|
690
|
+
* include: {mediaLayer}
|
|
691
|
+
* });
|
|
692
|
+
* // if media elements are returned from the mediaLayer, do something with results
|
|
693
|
+
* if (response.results.length){
|
|
694
|
+
* // do something
|
|
695
|
+
* console.log(response.results.length, "elements returned");
|
|
696
|
+
* }
|
|
697
|
+
* });
|
|
698
|
+
* ```
|
|
699
|
+
*/
|
|
402
700
|
hitTest(screenPoint: __esri.MapViewScreenPoint | MouseEvent, options?: __esri.MapViewHitTestOptions): Promise<__esri.HitTestResult>;
|
|
403
701
|
/**
|
|
404
702
|
* Opens the popup at the given location with content defined either explicitly with content or driven
|
|
@@ -430,6 +728,8 @@ export declare class ArcgisMap extends LitElement {
|
|
|
430
728
|
* Gets the analysis view created for the given analysis object.
|
|
431
729
|
*
|
|
432
730
|
* [Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#whenAnalysisView)
|
|
731
|
+
*
|
|
732
|
+
* @since 4.34
|
|
433
733
|
*/
|
|
434
734
|
whenAnalysisView(analysis: __esri.ElevationProfileAnalysis): Promise<__esri.ElevationProfileAnalysisView2D>;
|
|
435
735
|
/**
|
|
@@ -538,62 +838,177 @@ export declare class ArcgisMap extends LitElement {
|
|
|
538
838
|
* Fires when the view for an analysis is created.
|
|
539
839
|
*
|
|
540
840
|
* [Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#event-analysis-view-create)
|
|
841
|
+
*
|
|
842
|
+
* @since 4.34
|
|
541
843
|
*/
|
|
542
844
|
readonly arcgisViewAnalysisViewCreate: TargetedEvent<this, __esri.ViewAnalysisViewCreateEvent>;
|
|
543
845
|
/**
|
|
544
846
|
* Fires when an error occurs during the creation of an analysis view after an analysis is added to the view.
|
|
545
847
|
*
|
|
546
848
|
* [Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#event-analysis-view-create-error)
|
|
849
|
+
*
|
|
850
|
+
* @since 4.34
|
|
547
851
|
*/
|
|
548
852
|
readonly arcgisViewAnalysisViewCreateError: TargetedEvent<this, __esri.ViewAnalysisViewCreateErrorEvent>;
|
|
549
853
|
/**
|
|
550
854
|
* Fires after an analysis view is destroyed.
|
|
551
855
|
*
|
|
552
856
|
* [Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#event-analysis-view-destroy)
|
|
857
|
+
*
|
|
858
|
+
* @since 4.34
|
|
553
859
|
*/
|
|
554
860
|
readonly arcgisViewAnalysisViewDestroy: TargetedEvent<this, __esri.ViewAnalysisViewDestroyEvent>;
|
|
555
861
|
/**
|
|
556
|
-
* This event is
|
|
557
|
-
*
|
|
862
|
+
* This event is triggered when view-related properties change, such as [zoom](#zoom), [scale](#scale), [center](#center), [rotation](#rotation), [extent](#extent),
|
|
863
|
+
* [viewpoint](#viewpoint), or [stationary](#stationary).
|
|
864
|
+
* It reflects user interactions (e.g. panning or zooming) or programmatic updates to the view.
|
|
865
|
+
*
|
|
866
|
+
* @example
|
|
867
|
+
* ```js
|
|
868
|
+
* // get the number of features in a layer view whenever the view becomes stationary
|
|
869
|
+
* viewElement.addEventListener("arcgisViewChange", async (event) =>{
|
|
870
|
+
* if (viewElement.stationary) {
|
|
871
|
+
* // Returns number of features available for drawing in a given layer view
|
|
872
|
+
* const count = await layerView.queryFeatureCount({
|
|
873
|
+
* geometry: viewElement.extent
|
|
874
|
+
* });
|
|
875
|
+
* // use the features count
|
|
876
|
+
* }
|
|
877
|
+
* });
|
|
878
|
+
* ```
|
|
558
879
|
*/
|
|
559
880
|
readonly arcgisViewChange: TargetedEvent<this, void>;
|
|
560
|
-
/**
|
|
881
|
+
/**
|
|
882
|
+
* Fires after a user clicks on the view. This event emits slightly slower than an [arcgisViewImmediateClick](#arcgisViewImmediateClick)
|
|
883
|
+
* event to make sure that an [arcgisViewDoubleClick](#arcgisViewDoubleClick) event isn't triggered instead. The `arcgisViewImmediateClick`
|
|
884
|
+
* event can be used for responding to an `arcgisViewClick` event without delay.
|
|
885
|
+
*
|
|
886
|
+
* @example
|
|
887
|
+
* ```js
|
|
888
|
+
* // Listen for clicks on the view and perform a hit test on a feature layer
|
|
889
|
+
* viewElement.addEventListener("arcgisViewClick", (event) => {
|
|
890
|
+
* // Return hit test results from the feature layer
|
|
891
|
+
* // where it intersects the screen coordinates from the click event.
|
|
892
|
+
* // The result is a polygon representing the state that was clicked.
|
|
893
|
+
* viewElement.hitTest(event.detail).then((response) => {
|
|
894
|
+
* if (response.results.length) {
|
|
895
|
+
* const stateBoundaryPolygon = response.results.find((result) => {
|
|
896
|
+
* return result.graphic.layer === stateBoundaryFeatureLayer;
|
|
897
|
+
* }).graphic.geometry;
|
|
898
|
+
*
|
|
899
|
+
* getPolygonCentroid(stateBoundaryPolygon);
|
|
900
|
+
* }
|
|
901
|
+
* });
|
|
902
|
+
* });
|
|
903
|
+
* ```
|
|
904
|
+
*/
|
|
561
905
|
readonly arcgisViewClick: TargetedEvent<this, __esri.ViewClickEvent>;
|
|
562
|
-
/**
|
|
906
|
+
/**
|
|
907
|
+
* Fires after double-clicking on the view.
|
|
908
|
+
*
|
|
909
|
+
* @example
|
|
910
|
+
* ```js
|
|
911
|
+
* viewElement.addEventListener("arcgisViewDoubleClick", async (event) => {
|
|
912
|
+
* // Prevent the default zoom-in behavior on double-click
|
|
913
|
+
* event.detail.stopPropagation();
|
|
914
|
+
* });
|
|
915
|
+
* ```
|
|
916
|
+
*/
|
|
563
917
|
readonly arcgisViewDoubleClick: TargetedEvent<this, __esri.ViewDoubleClickEvent>;
|
|
564
918
|
/** Fires during a pointer drag on the view. */
|
|
565
919
|
readonly arcgisViewDrag: TargetedEvent<this, __esri.ViewDragEvent>;
|
|
566
|
-
/** Fires
|
|
920
|
+
/** Fires after holding either a mouse button or a single finger on the view for a short amount of time. */
|
|
567
921
|
readonly arcgisViewHold: TargetedEvent<this, __esri.ViewHoldEvent>;
|
|
568
|
-
/**
|
|
922
|
+
/**
|
|
923
|
+
* Fires right after a user clicks on the view. In contrast to the [arcgisViewClick](#arcgisViewClick) event, the `arcgisViewImmediateClick`
|
|
924
|
+
* is emitted as soon as the user clicks on the view, and is not inhibited by a [arcgisViewDoubleClick](#arcgisViewDoubleClick) event.
|
|
925
|
+
* This event is useful for interactive experiences that require feedback without delay.
|
|
926
|
+
*
|
|
927
|
+
* @example
|
|
928
|
+
* ```js
|
|
929
|
+
* viewElement.addEventListener("arcgisViewImmediateClick", async (event) => {
|
|
930
|
+
* // Prevent the default zoom-in behavior on arcgisViewImmediateClick
|
|
931
|
+
* event.detail.stopPropagation();
|
|
932
|
+
* });
|
|
933
|
+
* ```
|
|
934
|
+
*/
|
|
569
935
|
readonly arcgisViewImmediateClick: TargetedEvent<this, __esri.ViewImmediateClickEvent>;
|
|
570
|
-
/**
|
|
936
|
+
/**
|
|
937
|
+
* Fires after after two consecutive [arcgisViewImmediateClick](#arcgisViewImmediateClick) events. In contrast to [arcgisViewDoubleClick](#arcgisViewDoubleClick),
|
|
938
|
+
* an `arcgisViewImmediateDoubleClick` cannot be prevented by use of `stopPropagation()` on the [arcgisViewImmediateClick](#arcgisViewImmediateClick)
|
|
939
|
+
* event and can therefore be used to react to double-clicking independently of usage of the [arcgisViewImmediateClick](#arcgisViewImmediateClick) event.
|
|
940
|
+
*/
|
|
571
941
|
readonly arcgisViewImmediateDoubleClick: TargetedEvent<this, __esri.ViewImmediateDoubleClickEvent>;
|
|
572
|
-
/**
|
|
942
|
+
/**
|
|
943
|
+
* Fires after a keyboard key is pressed.
|
|
944
|
+
*
|
|
945
|
+
* @example
|
|
946
|
+
* ```js
|
|
947
|
+
* // Disable zooming with the keyboard
|
|
948
|
+
* // Stop event propagation when `+` and `-` keys are pressed.
|
|
949
|
+
* viewElement.addEventListener("arcgisViewKeyDown", function(event){
|
|
950
|
+
* console.log("key-down", event);
|
|
951
|
+
*
|
|
952
|
+
* const prohibitedKeys = ["+", "-"];
|
|
953
|
+
* const keyPressed = event.detail.key;
|
|
954
|
+
* if (prohibitedKeys.indexOf(keyPressed) !== -1) {
|
|
955
|
+
* event.detail.stopPropagation();
|
|
956
|
+
* }
|
|
957
|
+
* });
|
|
958
|
+
* ```
|
|
959
|
+
*/
|
|
573
960
|
readonly arcgisViewKeyDown: TargetedEvent<this, __esri.ViewKeyDownEvent>;
|
|
574
|
-
/** Fires after a keyboard key is
|
|
961
|
+
/** Fires after a keyboard key is released. */
|
|
575
962
|
readonly arcgisViewKeyUp: TargetedEvent<this, __esri.ViewKeyUpEvent>;
|
|
576
|
-
/**
|
|
963
|
+
/**
|
|
964
|
+
* Fires after each layer in the map has a corresponding
|
|
965
|
+
* [LayerView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-LayerView.html)
|
|
966
|
+
* created and rendered in the view.
|
|
967
|
+
*/
|
|
577
968
|
readonly arcgisViewLayerviewCreate: TargetedEvent<this, __esri.ViewLayerviewCreateEvent>;
|
|
578
|
-
/**
|
|
969
|
+
/**
|
|
970
|
+
* Fires when an error occurs during the creation of a [LayerView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-LayerView.html)
|
|
971
|
+
* after a layer has been added to the map.
|
|
972
|
+
*/
|
|
579
973
|
readonly arcgisViewLayerviewCreateError: TargetedEvent<this, __esri.ViewLayerviewCreateErrorEvent>;
|
|
580
|
-
/**
|
|
974
|
+
/**
|
|
975
|
+
* Fires after a [LayerView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-LayerView.html)
|
|
976
|
+
* is destroyed and is no longer rendered in the view.
|
|
977
|
+
*/
|
|
581
978
|
readonly arcgisViewLayerviewDestroy: TargetedEvent<this, __esri.ViewLayerviewDestroyEvent>;
|
|
582
|
-
/**
|
|
979
|
+
/**
|
|
980
|
+
* Fires when a wheel button of a pointing device (typically a mouse) is scrolled on the view.
|
|
981
|
+
*
|
|
982
|
+
* @example
|
|
983
|
+
* ```js
|
|
984
|
+
* viewElement.addEventListener("arcgisViewMouseWheel", async (event) => {
|
|
985
|
+
* // Prevent the default zoom-in and zoom-out behavior on arcgisViewMouseWheel
|
|
986
|
+
* event.detail.stopPropagation();
|
|
987
|
+
* });
|
|
988
|
+
* ```
|
|
989
|
+
*/
|
|
583
990
|
readonly arcgisViewMouseWheel: TargetedEvent<this, __esri.ViewMouseWheelEvent>;
|
|
584
|
-
/**
|
|
991
|
+
/**
|
|
992
|
+
* Fires after a mouse button is pressed, or a finger touches the display.
|
|
993
|
+
*
|
|
994
|
+
* @see [Sample: Access features with hitTest](https://developers.arcgis.com/javascript/latest/sample-code/map-component-hittest/)
|
|
995
|
+
*/
|
|
585
996
|
readonly arcgisViewPointerDown: TargetedEvent<this, __esri.ViewPointerDownEvent>;
|
|
586
997
|
/** Fires after a mouse cursor enters the view, or a display touch begins. */
|
|
587
998
|
readonly arcgisViewPointerEnter: TargetedEvent<this, __esri.ViewPointerEnterEvent>;
|
|
588
999
|
/** Fires after a mouse cursor leaves the view, or a display touch ends. */
|
|
589
1000
|
readonly arcgisViewPointerLeave: TargetedEvent<this, __esri.ViewPointerLeaveEvent>;
|
|
590
|
-
/**
|
|
1001
|
+
/**
|
|
1002
|
+
* Fires after the mouse or a finger on the display moves.
|
|
1003
|
+
*
|
|
1004
|
+
* @see [Sample: Access features with hitTest](https://developers.arcgis.com/javascript/latest/sample-code/map-component-hittest/)
|
|
1005
|
+
*/
|
|
591
1006
|
readonly arcgisViewPointerMove: TargetedEvent<this, __esri.ViewPointerMoveEvent>;
|
|
592
1007
|
/** Fires after a mouse button is released, or a display touch ends. */
|
|
593
1008
|
readonly arcgisViewPointerUp: TargetedEvent<this, __esri.ViewPointerUpEvent>;
|
|
594
1009
|
/**
|
|
595
|
-
* This event is for the `ready` property and
|
|
596
|
-
*
|
|
1010
|
+
* This event is for the `ready` property and is emitted when the view is ready.
|
|
1011
|
+
* Fires also when the [map](#map) is updated.
|
|
597
1012
|
*/
|
|
598
1013
|
readonly arcgisViewReadyChange: TargetedEvent<this, void>;
|
|
599
1014
|
private _map: __esri.Map;
|