@arcgis/map-components 5.1.0-next.0 → 5.1.0-next.10
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/README.md +1 -1
- package/dist/cdn/{37TNG76C.js → 24PK3ZLX.js} +1 -1
- package/dist/cdn/{ZURN5EZI.js → 2BJHF4JK.js} +1 -1
- package/dist/cdn/{M65HMJZA.js → 2K45WUVH.js} +1 -1
- package/dist/cdn/2MTWUJIA.js +2 -0
- package/dist/cdn/2PAAPTW5.js +2 -0
- package/dist/cdn/{UKKUFJLL.js → 33U3K3P2.js} +1 -1
- package/dist/cdn/3A7HYDQP.js +2 -0
- package/dist/cdn/3OVSVCGF.js +2 -0
- package/dist/cdn/{TPOLS4YM.js → 4IC3NWKK.js} +1 -1
- package/dist/cdn/{UKNKW6MH.js → 4PWBNKOA.js} +1 -1
- package/dist/cdn/{HH6BDERO.js → 4URF7CKU.js} +1 -1
- package/dist/cdn/{RP5SO6BA.js → 4YQLL44L.js} +1 -1
- package/dist/cdn/{42UR6TXZ.js → 5FZLG5YS.js} +1 -1
- package/dist/cdn/5LD4AU4Q.js +2 -0
- package/dist/cdn/{OSPWEZQJ.js → 5PJEJPFY.js} +1 -1
- package/dist/cdn/{TUW6NLYY.js → 5V7HEV2R.js} +1 -1
- package/dist/cdn/{FJJVAOBW.js → 67IVXIOR.js} +1 -1
- package/dist/cdn/{K27JJT2P.js → 6XJFSJGE.js} +1 -1
- package/dist/cdn/{NGKNECON.js → 7357JBTM.js} +1 -1
- package/dist/cdn/{NRV7VFJ7.js → 77ERVO5S.js} +1 -1
- package/dist/cdn/{J55YUTPM.js → 7CBBWB77.js} +1 -1
- package/dist/cdn/7DTWNSIR.js +2 -0
- package/dist/cdn/7L5TRJUA.js +2 -0
- package/dist/cdn/{2VC2VUTP.js → 7S4WE6H3.js} +1 -1
- package/dist/cdn/7WLTT4K3.js +2 -0
- package/dist/cdn/{EX22SAPL.js → 7ZCMIKP6.js} +1 -1
- package/dist/cdn/{NIUIKBRD.js → ACWGHEWO.js} +1 -1
- package/dist/cdn/{S4XGBADW.js → AIRDJCFV.js} +1 -1
- package/dist/cdn/{FQGKKJL7.js → AN2ZNLDK.js} +1 -1
- package/dist/cdn/BAPY2HFP.js +2 -0
- package/dist/cdn/{PISCYSA5.js → BB5CXHDQ.js} +1 -1
- package/dist/cdn/{HK6EWWUB.js → BM2JTRBY.js} +1 -1
- package/dist/cdn/{YC423DBS.js → BNJXI23I.js} +1 -1
- package/dist/cdn/BX7N3KYH.js +2 -0
- package/dist/cdn/{DTVW3MYT.js → CEJGZMGB.js} +1 -1
- package/dist/cdn/CKBTMA4D.js +2 -0
- package/dist/cdn/{AJHRJ5EA.js → CMWIMRU2.js} +1 -1
- package/dist/cdn/{NZAO2BVV.js → CQ2L75M3.js} +1 -1
- package/dist/cdn/{5RGFRTJS.js → CUWONRT5.js} +1 -1
- package/dist/cdn/{CC53K2CR.js → CXOYV56L.js} +1 -1
- package/dist/cdn/{NVACRYY6.js → CZE43OAC.js} +1 -1
- package/dist/cdn/D6YUW72R.js +2 -0
- package/dist/cdn/{TSPKG2WN.js → D7DDJ2QZ.js} +1 -1
- package/dist/cdn/{UVCYUIKZ.js → DLUXWET4.js} +1 -1
- package/dist/cdn/{UM2FDZJJ.js → DUT3D6UH.js} +1 -1
- package/dist/cdn/{UEW7U33S.js → DWW7KAMQ.js} +1 -1
- package/dist/cdn/{WW6L6XX4.js → E4YMNWRJ.js} +1 -1
- package/dist/cdn/{3XMPN66U.js → EPQN4FJS.js} +1 -1
- package/dist/cdn/ERTOHEVB.js +2 -0
- package/dist/cdn/EVC4MXIZ.js +2 -0
- package/dist/cdn/FANKLSAT.js +2 -0
- package/dist/cdn/{EVRFMTMV.js → FOMIDTAN.js} +1 -1
- package/dist/cdn/{HO4JUZ6N.js → FQJMTGXO.js} +1 -1
- package/dist/cdn/{64OEHFBZ.js → FTBTVD7U.js} +1 -1
- package/dist/cdn/G4A4VLTL.js +2 -0
- package/dist/cdn/{KXF2562U.js → GHA2ANJZ.js} +1 -1
- package/dist/cdn/{3DO7PVNW.js → GLNRLEZE.js} +1 -1
- package/dist/cdn/{HR2OOT3F.js → GQN4ALIE.js} +1 -1
- package/dist/cdn/{H6ILOF27.js → GS43BIES.js} +1 -1
- package/dist/cdn/{YFUI4F5L.js → GUAI5SHN.js} +1 -1
- package/dist/cdn/GXBHOVJY.js +2 -0
- package/dist/cdn/{SZ5MNKOW.js → HVI2FE73.js} +1 -1
- package/dist/cdn/{WGWNMYUH.js → I2WEEE2E.js} +1 -1
- package/dist/cdn/{XO6U6OVM.js → I3PBMKT5.js} +1 -1
- package/dist/cdn/{RCWZGU5T.js → I6ZXIPND.js} +1 -1
- package/dist/cdn/{PMQLTMQ4.js → IIPYTUR3.js} +1 -1
- package/dist/cdn/{AP2IFWYH.js → INS77MCT.js} +1 -1
- package/dist/cdn/IPNIJANM.js +2 -0
- package/dist/cdn/IQPGSWSL.js +2 -0
- package/dist/cdn/IY2G6DLG.js +2 -0
- package/dist/cdn/{2XSXH4TM.js → JC4DYMKT.js} +1 -1
- package/dist/cdn/{M4L5EDRB.js → JCV26SSG.js} +1 -1
- package/dist/cdn/{I5QTPPFJ.js → JLIZWDU5.js} +1 -1
- package/dist/cdn/{LG4PZVHS.js → JMHCIJG4.js} +1 -1
- package/dist/cdn/{556MC5SF.js → JTEJ2NHE.js} +1 -1
- package/dist/cdn/{3YA25S2J.js → KBY7C6QM.js} +1 -1
- package/dist/cdn/{5PRNT4KD.js → KG2M6IQS.js} +1 -1
- package/dist/cdn/KLBNUE5Q.js +2 -0
- package/dist/cdn/{ZVTPU2MO.js → KNJ7PME5.js} +1 -1
- package/dist/cdn/KQNQ6ITI.js +2 -0
- package/dist/cdn/{32K266S4.js → L5EGJLC4.js} +1 -1
- package/dist/cdn/{ORH27QWU.js → L6LZYPWJ.js} +1 -1
- package/dist/cdn/{R4V6HGJH.js → L7NIKN24.js} +1 -1
- package/dist/cdn/LCUXPDUW.js +2 -0
- package/dist/cdn/{WOV3LB6K.js → LLNNQ2ED.js} +1 -1
- package/dist/cdn/{XRP25NGI.js → LMV6L2OF.js} +1 -1
- package/dist/cdn/{C4DJABUI.js → LSF66JVY.js} +1 -1
- package/dist/cdn/LVMJAMRO.js +2 -0
- package/dist/cdn/{KAXJKSFB.js → LVSNYSCO.js} +1 -1
- package/dist/cdn/{52GXKBGP.js → LY735GHL.js} +1 -1
- package/dist/cdn/{QVMTO5BV.js → LZ3PMD7Z.js} +1 -1
- package/dist/cdn/{ZD25GJYW.js → N76CLHYJ.js} +1 -1
- package/dist/cdn/{YZ5ZVEPC.js → OAFAR3NG.js} +1 -1
- package/dist/cdn/{OCEXQCFT.js → OJNMPOYD.js} +1 -1
- package/dist/cdn/OKZSKR6W.js +2 -0
- package/dist/cdn/OMKVQOUI.js +2 -0
- package/dist/cdn/{EQCNO3G4.js → P4PTEXIJ.js} +1 -1
- package/dist/cdn/{7YLXQNEC.js → PESPV6VP.js} +1 -1
- package/dist/cdn/{KNAUIRT6.js → PFYZ7JRB.js} +1 -1
- package/dist/cdn/{JTFZMNCO.js → PI6UQWTD.js} +1 -1
- package/dist/cdn/{GNGZFV2C.js → POEZXWTT.js} +1 -1
- package/dist/cdn/QX27DK37.js +2 -0
- package/dist/cdn/{JLK664TB.js → QXUY4FOY.js} +1 -1
- package/dist/cdn/{T2ZF4XIZ.js → RISVXUI4.js} +1 -1
- package/dist/cdn/RWJKQEMK.js +2 -0
- package/dist/cdn/{KHM3S4Q6.js → RXFUZXUX.js} +1 -1
- package/dist/cdn/S4I3X6AX.js +2 -0
- package/dist/cdn/{KY4FMFIC.js → S52VES4H.js} +1 -1
- package/dist/cdn/{S6G6XXTM.js → SFM3XWUA.js} +1 -1
- package/dist/cdn/{YC6JWXOW.js → SKGRUNAJ.js} +1 -1
- package/dist/cdn/{C7YN3AZA.js → SPACZLHW.js} +1 -1
- package/dist/cdn/{F4HWT5H3.js → SSZMOOL6.js} +1 -1
- package/dist/cdn/{UAO23YMW.js → SZNBYDQI.js} +1 -1
- package/dist/cdn/{4363SIKC.js → TJG4UE24.js} +1 -1
- package/dist/cdn/{EENOVGOS.js → TTR6UUEQ.js} +1 -1
- package/dist/cdn/U5FUT6DD.js +2 -0
- package/dist/cdn/{MAGJWMWM.js → U5HXLA7K.js} +1 -1
- package/dist/cdn/{WJ5HD2YN.js → UDPUTCKL.js} +1 -1
- package/dist/cdn/UZ7KLWGC.js +2 -0
- package/dist/cdn/{IDDSHZVB.js → VGTTCLO3.js} +1 -1
- package/dist/cdn/VPJCFCJU.js +2 -0
- package/dist/cdn/W5T5EBL3.js +2 -0
- package/dist/cdn/XE5UPQ5E.js +2 -0
- package/dist/cdn/{FARFUCNU.js → XEOTORJP.js} +1 -1
- package/dist/cdn/{3PQT2S7Z.js → XTFD35UI.js} +1 -1
- package/dist/cdn/{LHEP4QSS.js → XWAT4IT2.js} +1 -1
- package/dist/cdn/Y6KRMZWJ.js +2 -0
- package/dist/cdn/{E2JLZZFR.js → YA6FUJR2.js} +1 -1
- package/dist/cdn/{FC6W37TT.js → YBJEMNAU.js} +1 -1
- package/dist/cdn/YR3SQWM6.js +2 -0
- package/dist/cdn/{2EJ4XRH4.js → YSDQ5VNK.js} +1 -1
- package/dist/cdn/YZZJQMH4.js +2 -0
- package/dist/cdn/Z4F6DHBB.js +2 -0
- package/dist/cdn/{WTMMFDEH.js → ZIX3WE2Q.js} +1 -1
- package/dist/cdn/assets/elevation-profile/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/AnalysisViewModel.js +106 -99
- package/dist/chunks/feature-utils.js +73 -73
- package/dist/chunks/layer-utils.js +33 -16
- package/dist/chunks/measurementUtils.js +44 -21
- package/dist/chunks/slots.js +20 -20
- package/dist/chunks/time-utils.js +24 -22
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +19 -10
- package/dist/components/arcgis-area-measurement-2d/customElement.js +95 -74
- package/dist/components/arcgis-area-measurement-2d/types.d.ts +1 -0
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +21 -19
- package/dist/components/arcgis-area-measurement-3d/customElement.js +58 -67
- package/dist/components/arcgis-area-measurement-3d/types.d.ts +1 -0
- package/dist/components/arcgis-attachments/customElement.d.ts +6 -7
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +4 -5
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +16 -16
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +127 -98
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +3 -3
- package/dist/components/arcgis-bookmarks/customElement.d.ts +19 -24
- package/dist/components/arcgis-bookmarks/types.d.ts +13 -6
- package/dist/components/arcgis-building-explorer/customElement.d.ts +15 -74
- package/dist/components/arcgis-building-explorer/customElement.js +3 -3
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +121 -72
- package/dist/components/arcgis-clipboard/customElement.d.ts +1 -1
- package/dist/components/arcgis-compass/customElement.d.ts +4 -5
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +12 -14
- package/dist/components/arcgis-daylight/customElement.d.ts +19 -20
- package/dist/components/arcgis-daylight/customElement.js +118 -119
- package/dist/components/arcgis-daylight/types.d.ts +1 -0
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +21 -19
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +62 -71
- package/dist/components/arcgis-direct-line-measurement-3d/types.d.ts +1 -0
- package/dist/components/arcgis-directional-pad/customElement.d.ts +3 -5
- package/dist/components/arcgis-directions/customElement.d.ts +9 -10
- package/dist/components/arcgis-directions/customElement.js +5 -5
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +23 -10
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +86 -65
- package/dist/components/arcgis-distance-measurement-2d/types.d.ts +1 -0
- package/dist/components/arcgis-editor/customElement.d.ts +16 -17
- package/dist/components/arcgis-editor/customElement.js +2 -2
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +31 -30
- package/dist/components/arcgis-elevation-profile/customElement.js +2 -2
- package/dist/components/arcgis-elevation-profile-statistics/customElement.js +25 -31
- package/dist/components/arcgis-expand/customElement.d.ts +7 -8
- package/dist/components/arcgis-expand/types.d.ts +1 -0
- package/dist/components/arcgis-feature/customElement.d.ts +33 -34
- package/dist/components/arcgis-feature/customElement.js +35 -35
- package/dist/components/arcgis-feature-fields/customElement.js +29 -28
- package/dist/components/arcgis-feature-form/customElement.d.ts +31 -12
- package/dist/components/arcgis-feature-form/customElement.js +2 -2
- package/dist/components/arcgis-feature-relationship/customElement.js +13 -13
- package/dist/components/arcgis-feature-table/customElement.d.ts +100 -64
- package/dist/components/arcgis-feature-table/customElement.js +12 -12
- package/dist/components/arcgis-feature-templates/customElement.d.ts +15 -13
- package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +63 -60
- package/dist/components/arcgis-feature-utility-network-associations/customElement.js +9 -9
- package/dist/components/arcgis-features/customElement.d.ts +44 -46
- package/dist/components/arcgis-features/customElement.js +43 -43
- package/dist/components/arcgis-floor-filter/customElement.d.ts +10 -13
- package/dist/components/arcgis-floor-filter/customElement.js +1 -1
- package/dist/components/arcgis-fullscreen/customElement.d.ts +1 -1
- package/dist/components/arcgis-grid-controls/customElement.d.ts +3 -3
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +36 -37
- package/dist/components/arcgis-home/customElement.d.ts +6 -8
- package/dist/components/arcgis-layer-list/customElement.d.ts +46 -47
- package/dist/components/arcgis-legend/customElement.d.ts +37 -38
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +15 -13
- package/dist/components/arcgis-link-chart/customElement.d.ts +70 -60
- package/dist/components/arcgis-link-chart/customElement.js +42 -31
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +2 -3
- package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.d.ts +7 -4
- package/dist/components/arcgis-locate/customElement.d.ts +4 -5
- package/dist/components/arcgis-map/customElement.d.ts +151 -141
- package/dist/components/arcgis-map/customElement.js +24 -13
- package/dist/components/arcgis-measurement/customElement.d.ts +6 -7
- package/dist/components/arcgis-multi-feature-form/customElement.d.ts +2 -2
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +7 -12
- package/dist/components/arcgis-navigation-toggle/customElement.js +9 -6
- package/dist/components/arcgis-navigation-toggle/types.d.ts +1 -0
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +3 -4
- package/dist/components/arcgis-paste/ClipboardMove.d.ts +3 -0
- package/dist/components/arcgis-paste/PasteViewModel.d.ts +18 -6
- package/dist/components/arcgis-paste/commands/PasteCommand.d.ts +264 -120
- package/dist/components/arcgis-paste/commands/PasteCustomCommand.d.ts +115 -114
- package/dist/components/arcgis-paste/customElement.d.ts +2 -2
- package/dist/components/arcgis-paste/customElement.js +6 -7
- package/dist/components/arcgis-popup/customElement.d.ts +33 -34
- package/dist/components/arcgis-popup/customElement.js +1 -1
- package/dist/components/arcgis-presentation/PresentationViewModel.d.ts +2 -1
- package/dist/components/arcgis-presentation/customElement.d.ts +1 -1
- package/dist/components/arcgis-print/customElement.d.ts +30 -19
- package/dist/components/arcgis-reverse-geocode-list/customElement.d.ts +13 -1
- package/dist/components/arcgis-reverse-geocode-list/customElement.js +40 -33
- package/dist/components/arcgis-scale-bar/customElement.d.ts +3 -3
- package/dist/components/arcgis-scale-bar/customElement.js +7 -7
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +8 -9
- package/dist/components/arcgis-scene/customElement.d.ts +166 -161
- package/dist/components/arcgis-scene/customElement.js +20 -9
- package/dist/components/arcgis-search/customElement.d.ts +40 -33
- package/dist/components/arcgis-search/customElement.js +20 -18
- package/dist/components/arcgis-search-result-renderer/customElement.d.ts +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +62 -18
- package/dist/components/arcgis-sketch/customElement.d.ts +56 -37
- package/dist/components/arcgis-sketch/customElement.js +20 -8
- package/dist/components/arcgis-slice/customElement.d.ts +17 -17
- package/dist/components/arcgis-slice/customElement.js +6 -6
- package/dist/components/arcgis-slice/{SliceViewModel.d.ts → types.d.ts} +1 -1
- package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.d.ts +78 -28
- package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.js +6 -6
- package/dist/components/arcgis-slider-classed-color-legacy/customElement.d.ts +31 -32
- package/dist/components/arcgis-slider-classed-size-legacy/customElement.d.ts +33 -38
- package/dist/components/arcgis-slider-color-legacy/customElement.d.ts +68 -35
- package/dist/components/arcgis-slider-color-legacy/customElement.js +8 -8
- package/dist/components/arcgis-slider-color-size-legacy/customElement.d.ts +107 -37
- package/dist/components/arcgis-slider-color-size-legacy/customElement.js +6 -6
- package/dist/components/arcgis-slider-heatmap-legacy/customElement.d.ts +8 -11
- package/dist/components/arcgis-slider-opacity-legacy/customElement.d.ts +27 -28
- package/dist/components/arcgis-slider-size-legacy/customElement.d.ts +36 -40
- package/dist/components/arcgis-snapping-controls/customElement.d.ts +2 -3
- package/dist/components/arcgis-swipe/customElement.d.ts +7 -7
- package/dist/components/arcgis-table-list/customElement.d.ts +113 -77
- package/dist/components/arcgis-time-of-day-slider/customElement.d.ts +1 -0
- package/dist/components/arcgis-time-of-day-slider/customElement.js +11 -11
- package/dist/components/arcgis-time-slider/customElement.d.ts +18 -20
- package/dist/components/arcgis-time-zone-label/customElement.d.ts +18 -8
- package/dist/components/arcgis-time-zone-label/customElement.js +39 -45
- package/dist/components/arcgis-time-zone-label/index.js +1 -2
- package/dist/components/arcgis-track/customElement.d.ts +8 -9
- package/dist/components/arcgis-utility-network-aggregated-geometry/customElement.d.ts +1 -0
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +6 -7
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +4 -5
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +5 -6
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +48 -49
- package/dist/components/arcgis-utility-network-trace-analysis/index.js +1 -1
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +30 -25
- package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +3 -0
- package/dist/components/arcgis-utility-network-trace-location/customElement.js +82 -80
- package/dist/components/arcgis-utility-network-trace-location-list/customElement.js +2 -2
- package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +3 -1
- package/dist/components/arcgis-utility-network-trace-results/customElement.js +52 -49
- package/dist/components/arcgis-utility-network-trace-results/index.js +2 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +2 -3
- package/dist/components/arcgis-value-picker-legacy/customElement.d.ts +40 -41
- package/dist/components/arcgis-value-picker-legacy/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.d.ts +4 -4
- package/dist/components/arcgis-video/customElement.d.ts +12 -12
- package/dist/components/arcgis-video-player/customElement.d.ts +6 -6
- package/dist/components/arcgis-video-player/customElement.js +2 -2
- package/dist/components/arcgis-volume-measurement/customElement.d.ts +32 -28
- package/dist/components/arcgis-volume-measurement/customElement.js +211 -211
- package/dist/components/arcgis-volume-measurement/index.js +1 -1
- package/dist/components/arcgis-volume-measurement/types.d.ts +1 -0
- package/dist/components/arcgis-weather/customElement.d.ts +18 -19
- package/dist/components/arcgis-zoom/customElement.d.ts +7 -3
- package/dist/components/types.d.ts +56 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +6 -28
- package/dist/loader.js +18 -18
- package/dist/types/lumina.d.ts +17 -38
- package/dist/types/preact.d.ts +17 -42
- package/dist/types/react.d.ts +17 -46
- package/dist/types/stencil.d.ts +17 -38
- package/package.json +5 -5
- package/dist/cdn/3GZCJE62.js +0 -2
- package/dist/cdn/4EAZ4PIQ.js +0 -2
- package/dist/cdn/4TURMTXA.js +0 -2
- package/dist/cdn/55QGHI47.js +0 -2
- package/dist/cdn/5RUIVALH.js +0 -2
- package/dist/cdn/6UX4KWBN.js +0 -2
- package/dist/cdn/7UR4M6PN.js +0 -2
- package/dist/cdn/A4UJ53JS.js +0 -2
- package/dist/cdn/AGYDL2DX.js +0 -2
- package/dist/cdn/B5XR4LXQ.js +0 -2
- package/dist/cdn/DOLELC6W.js +0 -2
- package/dist/cdn/EYNKJZG3.js +0 -2
- package/dist/cdn/I2MQQXVU.js +0 -2
- package/dist/cdn/JDZWJLJX.js +0 -2
- package/dist/cdn/KECAR2NZ.js +0 -2
- package/dist/cdn/LZFDWRYI.js +0 -2
- package/dist/cdn/M7VTEC3S.js +0 -2
- package/dist/cdn/MRE5HCIK.js +0 -2
- package/dist/cdn/MWBGBBXT.js +0 -2
- package/dist/cdn/OVWCXUJH.js +0 -2
- package/dist/cdn/PNDLNFML.js +0 -2
- package/dist/cdn/PQJAXYJ2.js +0 -2
- package/dist/cdn/RJ76OXB6.js +0 -2
- package/dist/cdn/SKW7HQZ6.js +0 -2
- package/dist/cdn/SRSYUCVL.js +0 -2
- package/dist/cdn/U3LH3AZH.js +0 -2
- package/dist/cdn/UTH3SGAS.js +0 -2
- package/dist/cdn/VJMMA6UX.js +0 -2
- package/dist/cdn/W2E5L6DS.js +0 -2
- package/dist/cdn/X6OVNOLQ.js +0 -2
- package/dist/cdn/X7YUU7TS.js +0 -2
- package/dist/cdn/XMZSFKKO.js +0 -2
- package/dist/cdn/Y53D5YAC.js +0 -2
- package/dist/cdn/YGJFZRA4.js +0 -2
- package/dist/cdn/YKTB6AFH.js +0 -2
- package/dist/cdn/YWQGP6MB.js +0 -2
- package/dist/cdn/ZMLRDNKR.js +0 -2
- package/dist/cdn/ZUTQE3OX.js +0 -2
- package/dist/components/arcgis-building-discipline-tree/customElement.d.ts +0 -14
- package/dist/components/arcgis-building-discipline-tree/index.d.ts +0 -1
- package/dist/components/arcgis-building-explorer/building-filter/BuildingLevel.d.ts +0 -20
- package/dist/components/arcgis-building-explorer/building-filter/BuildingNumericFilterViewModel.d.ts +0 -93
- package/dist/components/arcgis-building-explorer/building-filter/BuildingPhase.d.ts +0 -24
- package/dist/components/arcgis-building-explorer/support/types.d.ts +0 -11
- package/dist/components/arcgis-building-level-item/customElement.d.ts +0 -25
- package/dist/components/arcgis-building-level-item/index.d.ts +0 -1
- package/dist/components/arcgis-building-level-picker/customElement.d.ts +0 -20
- package/dist/components/arcgis-building-level-picker/index.d.ts +0 -1
- package/dist/components/arcgis-building-phase-picker/customElement.d.ts +0 -19
- package/dist/components/arcgis-building-phase-picker/index.d.ts +0 -1
- package/dist/components/arcgis-daylight/daylight-utils.d.ts +0 -8
- package/dist/components/arcgis-expand/ExpandViewModel.d.ts +0 -44
- package/dist/components/support/goTo.d.ts +0 -37
- package/dist/controllers/useArcgisLoadError.d.ts +0 -9
- package/dist/support/heading.d.ts +0 -1
- package/dist/support/measurementUtils.d.ts +0 -1
- package/dist/utils/action-utils.d.ts +0 -3
- package/dist/utils/component-utils.d.ts +0 -5
- /package/dist/components/arcgis-locate/{LocateViewModel.d.ts → types.d.ts} +0 -0
- /package/dist/components/arcgis-weather/{WeatherViewModel.d.ts → types.d.ts} +0 -0
|
@@ -8,8 +8,7 @@ import type CatalogLayerList from "@arcgis/core/widgets/CatalogLayerList";
|
|
|
8
8
|
import type Collection2 from "@arcgis/core/core/Collection.js";
|
|
9
9
|
import type ListItem2 from "@arcgis/core/widgets/LayerList/ListItem.js";
|
|
10
10
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
11
|
-
import type { ArcgisReferenceElement } from "
|
|
12
|
-
import type { IconName } from "../../utils/action-utils.js";
|
|
11
|
+
import type { ArcgisReferenceElement, IconName } from "../types.js";
|
|
13
12
|
import type { LayerListViewModelTriggerActionEvent } from "@arcgis/core/widgets/LayerList/LayerListViewModel";
|
|
14
13
|
import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.js";
|
|
15
14
|
import type { CatalogLayerListProperties } from "@arcgis/core/widgets/CatalogLayerList.js";
|
|
@@ -21,15 +20,15 @@ import type { FlowLayer } from "@arcgis/core/widgets/LayerList.js";
|
|
|
21
20
|
|
|
22
21
|
/**
|
|
23
22
|
* The Layer List provides a way to display a list of layers and switch on/off their visibility.
|
|
24
|
-
* The [listItemCreatedFunction](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-layer-list/#listItemCreatedFunction) and the [ListItem](https://developers.arcgis.com/javascript/latest/
|
|
23
|
+
* The [listItemCreatedFunction](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-layer-list/#listItemCreatedFunction) and the [ListItem](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/ListItem/) API provides access to each layer's properties, allows
|
|
25
24
|
* the developer to configure actions related to the layer, and allows the developer to add content to the item related to the layer.
|
|
26
25
|
*
|
|
27
26
|
* > **Notes**
|
|
28
27
|
* >
|
|
29
|
-
* > - The Layer List does not emit an event when the visibility of a layer changes. To respond to layer visibility changes, watch the [visible](https://developers.arcgis.com/javascript/latest/
|
|
30
|
-
* > - To hide layers in the map from the Layer List, you must set the [listMode](https://developers.arcgis.com/javascript/latest/
|
|
31
|
-
* > - When a [KnowledgeGraphLayer](https://developers.arcgis.com/javascript/latest/
|
|
32
|
-
* > - When a [CatalogLayer](https://developers.arcgis.com/javascript/latest/
|
|
28
|
+
* > - The Layer List does not emit an event when the visibility of a layer changes. To respond to layer visibility changes, watch the [visible](https://developers.arcgis.com/javascript/latest/references/core/layers/Layer/#visible) property of layers in the [allLayers](https://developers.arcgis.com/javascript/latest/references/core/Map/#allLayers) property with [reactiveUtils](https://developers.arcgis.com/javascript/latest/references/core/core/reactiveUtils/).
|
|
29
|
+
* > - To hide layers in the map from the Layer List, you must set the [listMode](https://developers.arcgis.com/javascript/latest/references/core/layers/Layer/#listMode) property on the desired layers to `hide`.
|
|
30
|
+
* > - When a [KnowledgeGraphLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/KnowledgeGraphLayer/) is present in the map, the Layer List will display the [tables](https://developers.arcgis.com/javascript/latest/references/core/layers/KnowledgeGraphLayer/#tables) as a [tableList](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-layer-list/#tableList) ListItem.
|
|
31
|
+
* > - When a [CatalogLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/CatalogLayer/) is present in the map, the Layer List will display the [dynamicGroupLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/CatalogLayer/#dynamicGroupLayer) in a [catalogLayerList](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-layer-list/#catalogLayerList) ListItem.
|
|
33
32
|
*
|
|
34
33
|
* > **Keyboard Navigation**
|
|
35
34
|
* >
|
|
@@ -42,7 +41,7 @@ export abstract class ArcgisLayerList extends LitElement {
|
|
|
42
41
|
* If true, the component will not be destroyed automatically when it is
|
|
43
42
|
* disconnected from the document. This is useful when you want to move the
|
|
44
43
|
* component to a different place on the page, or temporarily hide it. If this
|
|
45
|
-
* is set, make sure to call the [destroy()](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-layer-list/#destroy) method when you are done to
|
|
44
|
+
* is set, make sure to call the [destroy()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-layer-list/#destroy) method when you are done to
|
|
46
45
|
* prevent memory leaks.
|
|
47
46
|
*
|
|
48
47
|
* @default false
|
|
@@ -51,13 +50,13 @@ export abstract class ArcgisLayerList extends LitElement {
|
|
|
51
50
|
/** The CatalogLayerList that displays a catalog layer's dynamic group layer. */
|
|
52
51
|
get catalogLayerList(): CatalogLayerList | null | undefined;
|
|
53
52
|
/**
|
|
54
|
-
* [CatalogLayer](https://developers.arcgis.com/javascript/latest/
|
|
55
|
-
* Catalog layers will display their [CatalogLayer#dynamicGroupLayer](https://developers.arcgis.com/javascript/latest/
|
|
53
|
+
* [CatalogLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/CatalogLayer/) specific properties.
|
|
54
|
+
* Catalog layers will display their [CatalogLayer#dynamicGroupLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/CatalogLayer/#dynamicGroupLayer) as an expandable [catalogLayerList](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/#catalogLayerList) in the LayerList component.
|
|
56
55
|
* This list item will only be displayed when catalog layers with dynamic group layers are loaded in the map.
|
|
57
|
-
* These are the properties that are used to configure the [catalogLayerList](https://developers.arcgis.com/javascript/latest/
|
|
56
|
+
* These are the properties that are used to configure the [catalogLayerList](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/#catalogLayerList).
|
|
58
57
|
*
|
|
59
58
|
* @since 4.30
|
|
60
|
-
* @see [catalogLayerList](https://developers.arcgis.com/javascript/latest/
|
|
59
|
+
* @see [catalogLayerList](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/#catalogLayerList)
|
|
61
60
|
* @example
|
|
62
61
|
* ```js
|
|
63
62
|
* layerListElement.catalogOptions = {
|
|
@@ -94,7 +93,7 @@ export abstract class ArcgisLayerList extends LitElement {
|
|
|
94
93
|
*
|
|
95
94
|
* @default false
|
|
96
95
|
* @since 4.29
|
|
97
|
-
* @see [showCollapseButton](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-layer-list/#showCollapseButton)
|
|
96
|
+
* @see [showCollapseButton](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-layer-list/#showCollapseButton)
|
|
98
97
|
* @example
|
|
99
98
|
* ```js
|
|
100
99
|
* layerListElement.collapsed = true;
|
|
@@ -102,13 +101,13 @@ export abstract class ArcgisLayerList extends LitElement {
|
|
|
102
101
|
*/
|
|
103
102
|
accessor collapsed: boolean;
|
|
104
103
|
/**
|
|
105
|
-
* Indicates whether [list items](https://developers.arcgis.com/javascript/latest/
|
|
106
|
-
* MapImageLayer [MapImageLayer#sublayers](https://developers.arcgis.com/javascript/latest/
|
|
107
|
-
* Drag won't be enabled until the number of list items is equal to or greater than than the value set set in [minDragEnabledItems](https://developers.arcgis.com/javascript/latest/
|
|
104
|
+
* Indicates whether [list items](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/ListItem/) may be reordered within the list by dragging and dropping.
|
|
105
|
+
* MapImageLayer [MapImageLayer#sublayers](https://developers.arcgis.com/javascript/latest/references/core/layers/MapImageLayer/#sublayers) can be reordered only within their parent MapImageLayer and can not be dragged out as a separate layer.
|
|
106
|
+
* Drag won't be enabled until the number of list items is equal to or greater than than the value set set in [minDragEnabledItems](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/#minDragEnabledItems).
|
|
108
107
|
*
|
|
109
108
|
* @default false
|
|
110
109
|
* @since 4.29
|
|
111
|
-
* @see [minDragEnabledItems](https://developers.arcgis.com/javascript/latest/
|
|
110
|
+
* @see [minDragEnabledItems](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/#minDragEnabledItems)
|
|
112
111
|
* @example
|
|
113
112
|
* ```js
|
|
114
113
|
* layerListElement.dragEnabled = true;
|
|
@@ -116,11 +115,11 @@ export abstract class ArcgisLayerList extends LitElement {
|
|
|
116
115
|
*/
|
|
117
116
|
accessor dragEnabled: boolean;
|
|
118
117
|
/**
|
|
119
|
-
* Placeholder text used in the filter input if [visibleElements.filter](https://developers.arcgis.com/javascript/latest/
|
|
118
|
+
* Placeholder text used in the filter input if [visibleElements.filter](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/#visibleElements) is true.
|
|
120
119
|
*
|
|
121
120
|
* @default ""
|
|
122
121
|
* @since 4.29
|
|
123
|
-
* @see [showFilter](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-layer-list/#showFilter)
|
|
122
|
+
* @see [showFilter](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-layer-list/#showFilter)
|
|
124
123
|
* @example
|
|
125
124
|
* ```js
|
|
126
125
|
* layerListElement.filterPlaceholder = "Filter layers";
|
|
@@ -128,7 +127,7 @@ export abstract class ArcgisLayerList extends LitElement {
|
|
|
128
127
|
*/
|
|
129
128
|
accessor filterPlaceholder: string;
|
|
130
129
|
/**
|
|
131
|
-
* Specifies a function to handle filtering [list items](https://developers.arcgis.com/javascript/latest/
|
|
130
|
+
* Specifies a function to handle filtering [list items](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/ListItem/).
|
|
132
131
|
*
|
|
133
132
|
* @since 4.32
|
|
134
133
|
* @example
|
|
@@ -138,11 +137,11 @@ export abstract class ArcgisLayerList extends LitElement {
|
|
|
138
137
|
*/
|
|
139
138
|
accessor filterPredicate: FilterPredicate | null | undefined;
|
|
140
139
|
/**
|
|
141
|
-
* The value of the filter input if [visibleElements.filter](https://developers.arcgis.com/javascript/latest/
|
|
140
|
+
* The value of the filter input if [visibleElements.filter](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/#visibleElements) is true.
|
|
142
141
|
*
|
|
143
142
|
* @default ""
|
|
144
143
|
* @since 4.29
|
|
145
|
-
* @see [showFilter](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-layer-list/#showFilter)
|
|
144
|
+
* @see [showFilter](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-layer-list/#showFilter)
|
|
146
145
|
* @example
|
|
147
146
|
* ```js
|
|
148
147
|
* reactiveUtils.watch(
|
|
@@ -160,7 +159,7 @@ export abstract class ArcgisLayerList extends LitElement {
|
|
|
160
159
|
*
|
|
161
160
|
* @default 2
|
|
162
161
|
* @since 4.29
|
|
163
|
-
* @see [showHeading](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-layer-list/#showHeading)
|
|
162
|
+
* @see [showHeading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-layer-list/#showHeading)
|
|
164
163
|
* @example
|
|
165
164
|
* ```js
|
|
166
165
|
* layerListElement.headingLevel = 3;
|
|
@@ -168,7 +167,7 @@ export abstract class ArcgisLayerList extends LitElement {
|
|
|
168
167
|
*/
|
|
169
168
|
accessor headingLevel: HeadingLevel;
|
|
170
169
|
/**
|
|
171
|
-
* Indicates whether to display the [LayerList#catalogLayerList](https://developers.arcgis.com/javascript/latest/
|
|
170
|
+
* Indicates whether to display the [LayerList#catalogLayerList](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/#catalogLayerList).
|
|
172
171
|
*
|
|
173
172
|
* @default false
|
|
174
173
|
* @since 5.0
|
|
@@ -192,14 +191,14 @@ export abstract class ArcgisLayerList extends LitElement {
|
|
|
192
191
|
get icon(): Icon["icon"];
|
|
193
192
|
set icon(value: IconName);
|
|
194
193
|
/**
|
|
195
|
-
* [KnowledgeGraphLayer](https://developers.arcgis.com/javascript/latest/
|
|
196
|
-
* Knowledge graph layers will display [KnowledgeGraphLayer#tables](https://developers.arcgis.com/javascript/latest/
|
|
197
|
-
* as an expandable [tableList](https://developers.arcgis.com/javascript/latest/
|
|
194
|
+
* [KnowledgeGraphLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/KnowledgeGraphLayer/) specific properties.
|
|
195
|
+
* Knowledge graph layers will display [KnowledgeGraphLayer#tables](https://developers.arcgis.com/javascript/latest/references/core/layers/KnowledgeGraphLayer/#tables)
|
|
196
|
+
* as an expandable [tableList](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/#tableList) in the LayerList component.
|
|
198
197
|
* This tables list item will only be displayed when knowledge graph layers with tables are loaded in the map.
|
|
199
|
-
* These are the properties that are used to configure the [tableList](https://developers.arcgis.com/javascript/latest/
|
|
198
|
+
* These are the properties that are used to configure the [tableList](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/#tableList).
|
|
200
199
|
*
|
|
201
200
|
* @since 4.30
|
|
202
|
-
* @see [tableList](https://developers.arcgis.com/javascript/latest/
|
|
201
|
+
* @see [tableList](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/#tableList)
|
|
203
202
|
* @example
|
|
204
203
|
* ```js
|
|
205
204
|
* layerListElement.knowledgeGraphOptions = {
|
|
@@ -238,10 +237,10 @@ export abstract class ArcgisLayerList extends LitElement {
|
|
|
238
237
|
*/
|
|
239
238
|
accessor label: string;
|
|
240
239
|
/**
|
|
241
|
-
* A function that executes each time a [ListItem](https://developers.arcgis.com/javascript/latest/
|
|
240
|
+
* A function that executes each time a [ListItem](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/ListItem/) is created.
|
|
242
241
|
* Use this function to add actions and panels to list items, and to override
|
|
243
242
|
* the default settings of a list item. Actions can be added to list items
|
|
244
|
-
* using the [ListItem#actionsSections](https://developers.arcgis.com/javascript/latest/
|
|
243
|
+
* using the [ListItem#actionsSections](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/ListItem/#actionsSections)
|
|
245
244
|
* property of the ListItem.
|
|
246
245
|
*
|
|
247
246
|
* @since 4.4
|
|
@@ -275,11 +274,11 @@ export abstract class ArcgisLayerList extends LitElement {
|
|
|
275
274
|
*/
|
|
276
275
|
accessor listItemCreatedFunction: ListItemModifier | null | undefined;
|
|
277
276
|
/**
|
|
278
|
-
* The minimum number of list items required to enable drag and drop reordering with [dragEnabled](https://developers.arcgis.com/javascript/latest/
|
|
277
|
+
* The minimum number of list items required to enable drag and drop reordering with [dragEnabled](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/#dragEnabled).
|
|
279
278
|
*
|
|
280
279
|
* @default 2
|
|
281
280
|
* @since 4.29
|
|
282
|
-
* @see [dragEnabled](https://developers.arcgis.com/javascript/latest/
|
|
281
|
+
* @see [dragEnabled](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/#dragEnabled)
|
|
283
282
|
* @example
|
|
284
283
|
* ```js
|
|
285
284
|
* layerListElement.dragEnabled = true;
|
|
@@ -288,11 +287,11 @@ export abstract class ArcgisLayerList extends LitElement {
|
|
|
288
287
|
*/
|
|
289
288
|
accessor minDragEnabledItems: number;
|
|
290
289
|
/**
|
|
291
|
-
* The minimum number of list items required to display the [visibleElements.filter](https://developers.arcgis.com/javascript/latest/
|
|
290
|
+
* The minimum number of list items required to display the [visibleElements.filter](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/LayerListVisibleElements/) input box.
|
|
292
291
|
*
|
|
293
292
|
* @default 10
|
|
294
293
|
* @since 4.29
|
|
295
|
-
* @see [showFilter](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-layer-list/#showFilter)
|
|
294
|
+
* @see [showFilter](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-layer-list/#showFilter)
|
|
296
295
|
* @example
|
|
297
296
|
* ```js
|
|
298
297
|
* layerListElement.showFilter = true;
|
|
@@ -301,15 +300,15 @@ export abstract class ArcgisLayerList extends LitElement {
|
|
|
301
300
|
*/
|
|
302
301
|
accessor minFilterItems: number;
|
|
303
302
|
/**
|
|
304
|
-
* A collection of [Layer](https://developers.arcgis.com/javascript/latest/
|
|
305
|
-
* in a [catalogLayerList](https://developers.arcgis.com/javascript/latest/
|
|
303
|
+
* A collection of [Layer](https://developers.arcgis.com/javascript/latest/references/core/layers/Layer/)s that are opened
|
|
304
|
+
* in a [catalogLayerList](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/#catalogLayerList) or [tableList](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/#tableList) flow item.
|
|
306
305
|
* This property is useful for backing out of the catalog layer list or table list
|
|
307
306
|
* programmatically to the parent layer list.
|
|
308
307
|
*
|
|
309
308
|
* @default []
|
|
310
309
|
* @since 4.31
|
|
311
|
-
* @see [catalogLayerList](https://developers.arcgis.com/javascript/latest/
|
|
312
|
-
* @see [tableList](https://developers.arcgis.com/javascript/latest/
|
|
310
|
+
* @see [catalogLayerList](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/#catalogLayerList)
|
|
311
|
+
* @see [tableList](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/#tableList)
|
|
313
312
|
* @example
|
|
314
313
|
* ```js
|
|
315
314
|
* // back out of the catalog layer list to the main layer list
|
|
@@ -326,15 +325,15 @@ export abstract class ArcgisLayerList extends LitElement {
|
|
|
326
325
|
*/
|
|
327
326
|
accessor referenceElement: ArcgisReferenceElement | string | undefined;
|
|
328
327
|
/**
|
|
329
|
-
* A collection of selected [ListItem](https://developers.arcgis.com/javascript/latest/
|
|
328
|
+
* A collection of selected [ListItem](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/ListItem/)s representing operational layers
|
|
330
329
|
* selected by the user.
|
|
331
330
|
*
|
|
332
|
-
* @see [selectionMode](https://developers.arcgis.com/javascript/latest/
|
|
331
|
+
* @see [selectionMode](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/#selectionMode)
|
|
333
332
|
*/
|
|
334
333
|
accessor selectedItems: Collection2<ListItem2>;
|
|
335
334
|
/**
|
|
336
335
|
* Specifies the selection mode.
|
|
337
|
-
* Selected items are available in the [selectedItems](https://developers.arcgis.com/javascript/latest/
|
|
336
|
+
* Selected items are available in the [selectedItems](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/#selectedItems) property.
|
|
338
337
|
*
|
|
339
338
|
* | Value | Description |
|
|
340
339
|
* | ----- | ----------- |
|
|
@@ -345,13 +344,13 @@ export abstract class ArcgisLayerList extends LitElement {
|
|
|
345
344
|
*
|
|
346
345
|
* @default "none"
|
|
347
346
|
* @since 4.29
|
|
348
|
-
* @see [selectedItems](https://developers.arcgis.com/javascript/latest/
|
|
347
|
+
* @see [selectedItems](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/#selectedItems)
|
|
349
348
|
* @example
|
|
350
349
|
* ```js
|
|
351
350
|
* layerListElement.selectionMode = "multiple";
|
|
352
351
|
* ```
|
|
353
352
|
*/
|
|
354
|
-
accessor selectionMode: "
|
|
353
|
+
accessor selectionMode: "multiple" | "single" | "none" | "single-persist";
|
|
355
354
|
/**
|
|
356
355
|
* Indicates whether to display a close button in the header.
|
|
357
356
|
*
|
|
@@ -374,21 +373,21 @@ export abstract class ArcgisLayerList extends LitElement {
|
|
|
374
373
|
*/
|
|
375
374
|
accessor showErrors: boolean;
|
|
376
375
|
/**
|
|
377
|
-
* Indicates whether to display a filter input box when then number of list items is equal to or greater than the value set in [LayerList#minFilterItems](https://developers.arcgis.com/javascript/latest/
|
|
376
|
+
* Indicates whether to display a filter input box when then number of list items is equal to or greater than the value set in [LayerList#minFilterItems](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/#minFilterItems), allowing users to filter layers by their title.
|
|
378
377
|
*
|
|
379
378
|
* @default false
|
|
380
379
|
* @since 5.0
|
|
381
380
|
*/
|
|
382
381
|
accessor showFilter: boolean;
|
|
383
382
|
/**
|
|
384
|
-
* Indicates whether to display the layer list heading. The heading text is "Layer List". The heading level can be set with the [LayerList#headingLevel](https://developers.arcgis.com/javascript/latest/
|
|
383
|
+
* Indicates whether to display the layer list heading. The heading text is "Layer List". The heading level can be set with the [LayerList#headingLevel](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/#headingLevel).
|
|
385
384
|
*
|
|
386
385
|
* @default false
|
|
387
386
|
* @since 5.0
|
|
388
387
|
*/
|
|
389
388
|
accessor showHeading: boolean;
|
|
390
389
|
/**
|
|
391
|
-
* Indicates whether temporary layer indicators will be displayed for layers with [Layer#persistenceEnabled](https://developers.arcgis.com/javascript/latest/
|
|
390
|
+
* Indicates whether temporary layer indicators will be displayed for layers with [Layer#persistenceEnabled](https://developers.arcgis.com/javascript/latest/references/core/layers/Layer/#persistenceEnabled) set to `false`. A [temporary icon](https://developers.arcgis.com/calcite-design-system/icons/?icon=temporary&library=Calcite%20UI&query=temporary) will be displayed on the near side of the layer title.
|
|
392
391
|
*
|
|
393
392
|
* @default false
|
|
394
393
|
* @since 5.0
|
|
@@ -3,16 +3,15 @@ import type LinkChartView from "@arcgis/core/views/LinkChartView.js";
|
|
|
3
3
|
import type Collection2 from "@arcgis/core/core/Collection.js";
|
|
4
4
|
import type ActiveLayerInfo2 from "@arcgis/core/widgets/Legend/support/ActiveLayerInfo.js";
|
|
5
5
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
6
|
-
import type { HeadingLevel } from "
|
|
7
|
-
import type { ArcgisReferenceElement } from "../../utils/component-utils.js";
|
|
6
|
+
import type { ArcgisReferenceElement, HeadingLevel } from "../types.js";
|
|
8
7
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
9
8
|
import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.js";
|
|
10
9
|
import type { LayerInfo } from "@arcgis/core/widgets/types.js";
|
|
11
10
|
import type { LegendViewModelState } from "@arcgis/core/widgets/Legend/LegendViewModel.js";
|
|
12
11
|
|
|
13
12
|
/**
|
|
14
|
-
* The Legend component displays the symbols and labels used to represent layers in a [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/) or [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/).
|
|
15
|
-
* Only layers and sublayers visible in the view are shown, unless [ignoreLayerVisibility](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-legend/#ignoreLayerVisibility) is set to `true`.
|
|
13
|
+
* The Legend component displays the symbols and labels used to represent layers in a [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/) or [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/).
|
|
14
|
+
* Only layers and sublayers visible in the view are shown, unless [ignoreLayerVisibility](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-legend/#ignoreLayerVisibility) is set to `true`.
|
|
16
15
|
*
|
|
17
16
|
* The legend automatically updates when:
|
|
18
17
|
* - the visibility of a layer or sublayer changes
|
|
@@ -23,21 +22,21 @@ import type { LegendViewModelState } from "@arcgis/core/widgets/Legend/LegendVie
|
|
|
23
22
|
* ## Known Limitations
|
|
24
23
|
*
|
|
25
24
|
* * Currently, the legend component does not support the following layer types:
|
|
26
|
-
* [ElevationLayer](https://developers.arcgis.com/javascript/latest/
|
|
27
|
-
* [GraphicsLayer](https://developers.arcgis.com/javascript/latest/
|
|
28
|
-
* [IntegratedMeshLayer](https://developers.arcgis.com/javascript/latest/
|
|
29
|
-
* [KMLLayer](https://developers.arcgis.com/javascript/latest/
|
|
30
|
-
* [MapNotesLayer](https://developers.arcgis.com/javascript/latest/
|
|
31
|
-
* [OpenStreetMapLayer](https://developers.arcgis.com/javascript/latest/
|
|
32
|
-
* [VectorTileLayer](https://developers.arcgis.com/javascript/latest/
|
|
33
|
-
* [VideoLayer](https://developers.arcgis.com/javascript/latest/
|
|
34
|
-
* [WebTileLayer](https://developers.arcgis.com/javascript/latest/
|
|
35
|
-
* * [Symbol3D](https://developers.arcgis.com/javascript/latest/
|
|
36
|
-
* [symbol](https://developers.arcgis.com/javascript/latest/
|
|
37
|
-
* * [DictionaryRenderer](https://developers.arcgis.com/javascript/latest/
|
|
38
|
-
* * [TrackInfo](https://developers.arcgis.com/javascript/latest/
|
|
39
|
-
* * CIM Symbol [primitiveOverride](https://developers.arcgis.com/javascript/latest/
|
|
40
|
-
* * RasterStretchRenderer [dynamicRangeAdjustment](https://developers.arcgis.com/javascript/latest/
|
|
25
|
+
* [ElevationLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/ElevationLayer/),
|
|
26
|
+
* [GraphicsLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/GraphicsLayer/),
|
|
27
|
+
* [IntegratedMeshLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/IntegratedMeshLayer/),
|
|
28
|
+
* [KMLLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/KMLLayer/),
|
|
29
|
+
* [MapNotesLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/MapNotesLayer/),
|
|
30
|
+
* [OpenStreetMapLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/OpenStreetMapLayer/),
|
|
31
|
+
* [VectorTileLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/VectorTileLayer/),
|
|
32
|
+
* [VideoLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/VideoLayer/), and
|
|
33
|
+
* [WebTileLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/WebTileLayer/).
|
|
34
|
+
* * [Symbol3D](https://developers.arcgis.com/javascript/latest/references/core/symbols/Symbol3D/) with more than one
|
|
35
|
+
* [symbol](https://developers.arcgis.com/javascript/latest/references/core/symbols/Symbol3DLayer/) are not supported.
|
|
36
|
+
* * [DictionaryRenderer](https://developers.arcgis.com/javascript/latest/references/core/renderers/DictionaryRenderer/) is not supported.
|
|
37
|
+
* * [TrackInfo](https://developers.arcgis.com/javascript/latest/references/core/layers/support/TrackInfo/) is not supported.
|
|
38
|
+
* * CIM Symbol [primitiveOverride](https://developers.arcgis.com/javascript/latest/references/core/symbols/CIMSymbol/#PrimitiveOverride) is not supported.
|
|
39
|
+
* * RasterStretchRenderer [dynamicRangeAdjustment](https://developers.arcgis.com/javascript/latest/references/core/renderers/RasterStretchRenderer/#dynamicRangeAdjustment) is not supported.
|
|
41
40
|
*
|
|
42
41
|
* ## Various examples of legends based on renderer type.
|
|
43
42
|
*
|
|
@@ -76,9 +75,9 @@ import type { LegendViewModelState } from "@arcgis/core/widgets/Legend/LegendVie
|
|
|
76
75
|
*
|
|
77
76
|
* ## Legend labels
|
|
78
77
|
*
|
|
79
|
-
* Legend text is directly controlled through the [layer](https://developers.arcgis.com/javascript/latest/
|
|
78
|
+
* Legend text is directly controlled through the [layer](https://developers.arcgis.com/javascript/latest/references/core/layers/Layer/) and [renderer](https://developers.arcgis.com/javascript/latest/references/core/renderers/Renderer/) properties. For example, `layer.title` is directly used by the legend to present a layer's symbology to the end user. To override this text, you can directly update `layer.title`.
|
|
80
79
|
*
|
|
81
|
-
* Furthermore, you can control date and number formatting in Legend by using the [FieldConfiguration](https://developers.arcgis.com/javascript/latest/
|
|
80
|
+
* Furthermore, you can control date and number formatting in Legend by using the [FieldConfiguration](https://developers.arcgis.com/javascript/latest/references/core/layers/support/FieldConfiguration/) formatting options on the layer. As an alternative to this, you can override Legend text via the renderer's properties. For example, the renderer may have a [legendOptions](https://developers.arcgis.com/javascript/latest/references/core/renderers/ClassBreaksRenderer/#legendOptions) property (or a label property in the case of visual variable stops or UniqueValueInfos) that can be used to override default legend text describing the renderer element in question. The [Update legend text sample](https://developers.arcgis.com/javascript/latest/sample-code/legend-update/) provides an example of overriding legend text via the renderer.
|
|
82
81
|
*
|
|
83
82
|
* Note that when you override legend text, all formatting and localization that would otherwise be dynamically applied to labels will no longer apply.
|
|
84
83
|
*
|
|
@@ -90,28 +89,28 @@ import type { LegendViewModelState } from "@arcgis/core/widgets/Legend/LegendVie
|
|
|
90
89
|
*/
|
|
91
90
|
export abstract class ArcgisLegend extends LitElement {
|
|
92
91
|
/**
|
|
93
|
-
* Collection of [ActiveLayerInfo](https://developers.arcgis.com/javascript/latest/
|
|
92
|
+
* Collection of [ActiveLayerInfo](https://developers.arcgis.com/javascript/latest/references/core/widgets/Legend/support/ActiveLayerInfo/) objects used by the legend view to
|
|
94
93
|
* display data in the legend. The legend component watches this property to hide or display the layer's legend when
|
|
95
|
-
* an [ActiveLayerInfo](https://developers.arcgis.com/javascript/latest/
|
|
94
|
+
* an [ActiveLayerInfo](https://developers.arcgis.com/javascript/latest/references/core/widgets/Legend/support/ActiveLayerInfo/) is removed from or added to this collection.
|
|
96
95
|
*/
|
|
97
96
|
accessor activeLayerInfos: Collection2<ActiveLayerInfo2>;
|
|
98
97
|
/**
|
|
99
98
|
* If true, the component will not be destroyed automatically when it is
|
|
100
99
|
* disconnected from the document. This is useful when you want to move the
|
|
101
100
|
* component to a different place on the page, or temporarily hide it. If this
|
|
102
|
-
* is set, make sure to call the [destroy()](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-legend/#destroy) method when you are done to
|
|
101
|
+
* is set, make sure to call the [destroy()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-legend/#destroy) method when you are done to
|
|
103
102
|
* prevent memory leaks.
|
|
104
103
|
*
|
|
105
104
|
* @default false
|
|
106
105
|
*/
|
|
107
106
|
accessor autoDestroyDisabled: boolean;
|
|
108
107
|
/**
|
|
109
|
-
* Indicates whether to show the [Basemap](https://developers.arcgis.com/javascript/latest/
|
|
110
|
-
* `true` and specify [layerInfos](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-legend/#layerInfos) that include the basemap layers, the basemap will be displayed in the legend.
|
|
108
|
+
* Indicates whether to show the [Basemap](https://developers.arcgis.com/javascript/latest/references/core/Basemap/) layers in the Legend. If you set this property to
|
|
109
|
+
* `true` and specify [layerInfos](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-legend/#layerInfos) that include the basemap layers, the basemap will be displayed in the legend.
|
|
111
110
|
*
|
|
112
111
|
* > **Known limitation:**
|
|
113
112
|
* >
|
|
114
|
-
* > [VectorTileLayers](https://developers.arcgis.com/javascript/latest/
|
|
113
|
+
* > [VectorTileLayers](https://developers.arcgis.com/javascript/latest/references/core/layers/VectorTileLayer/) in the basemap are not currently supported in the legend.
|
|
115
114
|
* > This includes most Esri basemaps such as "Streets", "Topographic", "Navigation", and others that use vector tiles.
|
|
116
115
|
*
|
|
117
116
|
* @default false
|
|
@@ -128,7 +127,7 @@ export abstract class ArcgisLegend extends LitElement {
|
|
|
128
127
|
*/
|
|
129
128
|
accessor basemapLegendVisible: boolean;
|
|
130
129
|
/**
|
|
131
|
-
* Indicates the layout of the legend when the [legendStyle](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-legend/#legendStyle) is set to the string value of `"card"`.
|
|
130
|
+
* Indicates the layout of the legend when the [legendStyle](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-legend/#legendStyle) is set to the string value of `"card"`.
|
|
132
131
|
* The layout determines how the legend's content is arranged.
|
|
133
132
|
*
|
|
134
133
|
* [](https://developers.arcgis.com/javascript/latest/sample-code/legend-card/)
|
|
@@ -174,7 +173,7 @@ export abstract class ArcgisLegend extends LitElement {
|
|
|
174
173
|
* To hide layers completely from the legend, you should set the `legendEnabled` property of the layer to `false`.
|
|
175
174
|
*
|
|
176
175
|
* @default false
|
|
177
|
-
* @see [ignoreLayerVisibility](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-legend/#ignoreLayerVisibility)
|
|
176
|
+
* @see [ignoreLayerVisibility](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-legend/#ignoreLayerVisibility)
|
|
178
177
|
* @example
|
|
179
178
|
* Layers not displayed in the current map extent will not be shown in the legend
|
|
180
179
|
*
|
|
@@ -200,11 +199,11 @@ export abstract class ArcgisLegend extends LitElement {
|
|
|
200
199
|
* Determines whether to respect the properties of the layers in the map that control the legend's visibility (`minScale`, `maxScale`, `legendEnabled`).
|
|
201
200
|
* By default, a layer's legend elements **will not render** in the legend given the following conditions:
|
|
202
201
|
*
|
|
203
|
-
* - The layer's [legendEnabled](https://developers.arcgis.com/javascript/latest/
|
|
202
|
+
* - The layer's [legendEnabled](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/#legendEnabled) property
|
|
204
203
|
* is set to `false`.
|
|
205
204
|
* - If the view's scale is outside the visibility range
|
|
206
|
-
* defined by the layer's [minScale](https://developers.arcgis.com/javascript/latest/
|
|
207
|
-
* [maxScale](https://developers.arcgis.com/javascript/latest/
|
|
205
|
+
* defined by the layer's [minScale](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/#minScale) and
|
|
206
|
+
* [maxScale](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/#maxScale) properties.
|
|
208
207
|
*
|
|
209
208
|
* When the `ignoreLayerVisibility` property of the legend is set to `true`, the legend elements for each
|
|
210
209
|
* layer in the map will always display, thus disregarding the `minScale`, `maxScale`,
|
|
@@ -212,7 +211,7 @@ export abstract class ArcgisLegend extends LitElement {
|
|
|
212
211
|
*
|
|
213
212
|
* @default false
|
|
214
213
|
* @since 4.34
|
|
215
|
-
* @see [hideLayersNotInCurrentView](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-legend/#hideLayersNotInCurrentView)
|
|
214
|
+
* @see [hideLayersNotInCurrentView](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-legend/#hideLayersNotInCurrentView)
|
|
216
215
|
* @example
|
|
217
216
|
* Always displays legend elements for the map's layers regardless of their minScale, maxScale, and legendEnabled properties.
|
|
218
217
|
*
|
|
@@ -234,7 +233,7 @@ export abstract class ArcgisLegend extends LitElement {
|
|
|
234
233
|
/**
|
|
235
234
|
* Specifies a subset of the layers to display in the legend. This includes any basemap layers
|
|
236
235
|
* you want to be visible in the legend. If this property is not set, all layers in the map will display in the legend, including
|
|
237
|
-
* basemap layers if [basemapLegendVisible](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-legend/#basemapLegendVisible) is `true`. Objects in this array are defined with the properties in the example below.
|
|
236
|
+
* basemap layers if [basemapLegendVisible](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-legend/#basemapLegendVisible) is `true`. Objects in this array are defined with the properties in the example below.
|
|
238
237
|
*
|
|
239
238
|
* @example
|
|
240
239
|
* Only show a specific sublayer in the legend
|
|
@@ -261,7 +260,7 @@ export abstract class ArcgisLegend extends LitElement {
|
|
|
261
260
|
* [](https://developers.arcgis.com/javascript/latest/sample-code/legend-card/)
|
|
262
261
|
*
|
|
263
262
|
* @default "classic"
|
|
264
|
-
* @see [cardStyleLayout](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-legend/#cardStyleLayout)
|
|
263
|
+
* @see [cardStyleLayout](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-legend/#cardStyleLayout)
|
|
265
264
|
* @example
|
|
266
265
|
* Renders the legend in the card style with a stack layout
|
|
267
266
|
*
|
|
@@ -415,12 +414,12 @@ export abstract class ArcgisLegend extends LitElement {
|
|
|
415
414
|
accessor referenceElement: ArcgisReferenceElement | string | undefined;
|
|
416
415
|
/**
|
|
417
416
|
* If a layer uses a unique value render, only features that satisfy the layer's
|
|
418
|
-
* [definition](https://developers.arcgis.com/javascript/latest/
|
|
417
|
+
* [definition](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/#definitionExpression)
|
|
419
418
|
* will be displayed in the legend when set to true.
|
|
420
419
|
*
|
|
421
420
|
* @default false
|
|
422
421
|
* @since 4.30
|
|
423
|
-
* @see [definitionExpression](https://developers.arcgis.com/javascript/latest/
|
|
422
|
+
* @see [definitionExpression](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/#definitionExpression)
|
|
424
423
|
* @example
|
|
425
424
|
* Only display features that satisfy the layer's definitionExpression.
|
|
426
425
|
*
|
|
@@ -443,7 +442,7 @@ export abstract class ArcgisLegend extends LitElement {
|
|
|
443
442
|
* The view associated with the component.
|
|
444
443
|
* > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the arcgis-legend component will be associated with a map or scene component rather than using the `view` property.
|
|
445
444
|
*/
|
|
446
|
-
accessor view:
|
|
445
|
+
accessor view: LinkChartView | MapViewOrSceneView | null | undefined;
|
|
447
446
|
/** Permanently destroy the component. */
|
|
448
447
|
destroy(): Promise<void>;
|
|
449
448
|
/** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
import type SceneView from "@arcgis/core/views/SceneView.js";
|
|
3
3
|
import type LineOfSightAnalysis from "@arcgis/core/analysis/LineOfSightAnalysis.js";
|
|
4
4
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
5
|
-
import type { ArcgisReferenceElement } from "
|
|
5
|
+
import type { ArcgisReferenceElement } from "../types.js";
|
|
6
6
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
7
7
|
import type { Icon as Icon } from "@esri/calcite-components/components/calcite-icon";
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* The Line Of Sight component is a 3D analysis tool that allows you to perform
|
|
11
|
-
* [line of sight visibility analysis](https://developers.arcgis.com/javascript/latest/
|
|
12
|
-
* in a [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/). Visibility between a given observer and multiple target points is calculated against the currently
|
|
11
|
+
* [line of sight visibility analysis](https://developers.arcgis.com/javascript/latest/references/core/analysis/LineOfSightAnalysis/)
|
|
12
|
+
* in a [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/). Visibility between a given observer and multiple target points is calculated against the currently
|
|
13
13
|
* displayed content in the view, including the ground, integrated meshes, and 3D objects such as buildings or trees.
|
|
14
14
|
*
|
|
15
15
|
* 
|
|
@@ -20,17 +20,17 @@ import type { Icon as Icon } from "@esri/calcite-components/components/calcite-i
|
|
|
20
20
|
* the target or the observer is not in the view.
|
|
21
21
|
*
|
|
22
22
|
* When creating a new line of sight analysis, the first click in the Scene creates the
|
|
23
|
-
* [observer](https://developers.arcgis.com/javascript/latest/
|
|
24
|
-
* and subsequent clicks place the [targets](https://developers.arcgis.com/javascript/latest/
|
|
23
|
+
* [observer](https://developers.arcgis.com/javascript/latest/references/core/analysis/LineOfSightAnalysisObserver/)
|
|
24
|
+
* and subsequent clicks place the [targets](https://developers.arcgis.com/javascript/latest/references/core/analysis/LineOfSightAnalysisTarget/).
|
|
25
25
|
* Both the observer and target points can be moved by dragging. Additionally, the target points can be removed with a right click.
|
|
26
26
|
*
|
|
27
27
|
* **Known limitation**
|
|
28
28
|
*
|
|
29
|
-
* Line Of Sight is only supported in a 3D [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/) component.
|
|
29
|
+
* Line Of Sight is only supported in a 3D [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/) component.
|
|
30
30
|
*
|
|
31
31
|
* **See also**
|
|
32
32
|
*
|
|
33
|
-
* - [LineOfSightAnalysis](https://developers.arcgis.com/javascript/latest/
|
|
33
|
+
* - [LineOfSightAnalysis](https://developers.arcgis.com/javascript/latest/references/core/analysis/LineOfSightAnalysis/)
|
|
34
34
|
* - [Sample - Line of sight component](https://developers.arcgis.com/javascript/latest/sample-code/line-of-sight/)
|
|
35
35
|
* - [Sample - Analysis objects](https://developers.arcgis.com/javascript/latest/sample-code/analysis-objects/)
|
|
36
36
|
*
|
|
@@ -54,13 +54,13 @@ export abstract class ArcgisLineOfSight extends LitElement {
|
|
|
54
54
|
continueAnalysis: string;
|
|
55
55
|
}>;
|
|
56
56
|
/**
|
|
57
|
-
* The [LineOfSightAnalysis](https://developers.arcgis.com/javascript/latest/
|
|
57
|
+
* The [LineOfSightAnalysis](https://developers.arcgis.com/javascript/latest/references/core/analysis/LineOfSightAnalysis/)
|
|
58
58
|
* created or modified by the component.
|
|
59
59
|
*
|
|
60
|
-
* When connecting the Line Of Sight component to the [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/)
|
|
60
|
+
* When connecting the Line Of Sight component to the [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/)
|
|
61
61
|
* component, it automatically creates an empty analysis and adds it to the Scene's
|
|
62
|
-
* [analyses](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#analyses) collection.
|
|
63
|
-
* You can then wait for the [LineOfSightAnalysisView3D](https://developers.arcgis.com/javascript/latest/
|
|
62
|
+
* [analyses](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#analyses) collection.
|
|
63
|
+
* You can then wait for the [LineOfSightAnalysisView3D](https://developers.arcgis.com/javascript/latest/references/core/views/3d/analysis/LineOfSightAnalysisView3D/)
|
|
64
64
|
* to be created before accessing the analysis results.
|
|
65
65
|
*
|
|
66
66
|
* ```js
|
|
@@ -84,7 +84,7 @@ export abstract class ArcgisLineOfSight extends LitElement {
|
|
|
84
84
|
* ```
|
|
85
85
|
* Whenever the component is destroyed, the analysis is automatically removed from the collection.
|
|
86
86
|
*
|
|
87
|
-
* Alternatively, a programmatically created [LineOfSightAnalysis](https://developers.arcgis.com/javascript/latest/
|
|
87
|
+
* Alternatively, a programmatically created [LineOfSightAnalysis](https://developers.arcgis.com/javascript/latest/references/core/analysis/LineOfSightAnalysis/)
|
|
88
88
|
* can be provided to the component.
|
|
89
89
|
* Then, the application itself needs to add it to and later remove it from the analyses collection of the Scene component.
|
|
90
90
|
*
|
|
@@ -128,7 +128,7 @@ export abstract class ArcgisLineOfSight extends LitElement {
|
|
|
128
128
|
* If true, the component will not be destroyed automatically when it is
|
|
129
129
|
* disconnected from the document. This is useful when you want to move the
|
|
130
130
|
* component to a different place on the page, or temporarily hide it. If this
|
|
131
|
-
* is set, make sure to call the [destroy()](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-line-of-sight/#destroy) method when you are done to
|
|
131
|
+
* is set, make sure to call the [destroy()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-line-of-sight/#destroy) method when you are done to
|
|
132
132
|
* prevent memory leaks.
|
|
133
133
|
*
|
|
134
134
|
* @default false
|
|
@@ -145,6 +145,7 @@ export abstract class ArcgisLineOfSight extends LitElement {
|
|
|
145
145
|
* If true, the button that ends the current placement will be hidden.
|
|
146
146
|
*
|
|
147
147
|
* @default false
|
|
148
|
+
* @since 5.0
|
|
148
149
|
*/
|
|
149
150
|
accessor hideDoneButton: boolean;
|
|
150
151
|
/**
|
|
@@ -158,6 +159,7 @@ export abstract class ArcgisLineOfSight extends LitElement {
|
|
|
158
159
|
* Indicates whether the component's visualization is hidden in the view.
|
|
159
160
|
*
|
|
160
161
|
* @default false
|
|
162
|
+
* @since 5.0
|
|
161
163
|
*/
|
|
162
164
|
accessor hideVisualization: boolean;
|
|
163
165
|
/**
|