@arcgis/map-components 5.1.0-next.10 → 5.1.0-next.11
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/{CZE43OAC.js → 22EPKDUJ.js} +1 -1
- package/dist/cdn/2AYGSNEO.js +2 -0
- package/dist/cdn/{YSDQ5VNK.js → 2EJ4XRH4.js} +1 -1
- package/dist/cdn/{FOMIDTAN.js → 2NOL7QIE.js} +1 -1
- package/dist/cdn/{24PK3ZLX.js → 37TNG76C.js} +1 -1
- package/dist/cdn/{GLNRLEZE.js → 3DO7PVNW.js} +1 -1
- package/dist/cdn/{EPQN4FJS.js → 3XMPN66U.js} +1 -1
- package/dist/cdn/{KBY7C6QM.js → 3YA25S2J.js} +1 -1
- package/dist/cdn/{5FZLG5YS.js → 42UR6TXZ.js} +1 -1
- package/dist/cdn/4EAZ4PIQ.js +2 -0
- package/dist/cdn/{3FSARSVN.js → 4JCY4NHX.js} +1 -1
- package/dist/cdn/{JTEJ2NHE.js → 556MC5SF.js} +1 -1
- package/dist/cdn/{7L5TRJUA.js → 5ITF7Q7U.js} +1 -1
- package/dist/cdn/5LBJB4MP.js +2 -0
- package/dist/cdn/{CUWONRT5.js → 5RGFRTJS.js} +1 -1
- package/dist/cdn/{EYW7YQF6.js → 63N5ERFL.js} +1 -1
- package/dist/cdn/{UZ7KLWGC.js → 63P5VYGP.js} +1 -1
- package/dist/cdn/{FTBTVD7U.js → 64OEHFBZ.js} +1 -1
- package/dist/cdn/{2PAAPTW5.js → 6CGPJGIB.js} +1 -1
- package/dist/cdn/{AN2ZNLDK.js → 6F6VOBIA.js} +1 -1
- package/dist/cdn/{BEXRPBHT.js → 6RKD6GFP.js} +1 -1
- package/dist/cdn/{I6ZXIPND.js → 7JQZBAFA.js} +1 -1
- package/dist/cdn/{PESPV6VP.js → 7YLXQNEC.js} +1 -1
- package/dist/cdn/A2JO7DWO.js +2 -0
- package/dist/cdn/{D7DDJ2QZ.js → A44ZCOCX.js} +2 -2
- package/dist/cdn/A4UJ53JS.js +2 -0
- package/dist/cdn/{S52VES4H.js → A7JPWYKR.js} +1 -1
- package/dist/cdn/{GS43BIES.js → AEYZDEAH.js} +1 -1
- package/dist/cdn/{CMWIMRU2.js → AJHRJ5EA.js} +1 -1
- package/dist/cdn/{INS77MCT.js → AP2IFWYH.js} +1 -1
- package/dist/cdn/{CKBTMA4D.js → B3ANLEZW.js} +1 -1
- package/dist/cdn/{OAFAR3NG.js → BUOIT34V.js} +1 -1
- package/dist/cdn/{BNJXI23I.js → C24SOTLL.js} +1 -1
- package/dist/cdn/{LSF66JVY.js → C4DJABUI.js} +1 -1
- package/dist/cdn/{SPACZLHW.js → C7YN3AZA.js} +1 -1
- package/dist/cdn/{CXOYV56L.js → CC53K2CR.js} +1 -1
- package/dist/cdn/{6ZNO34O5.js → CCKYOWZO.js} +1 -1
- package/dist/cdn/{7DTWNSIR.js → CTSWZC3O.js} +1 -1
- package/dist/cdn/{BX7N3KYH.js → CVBNRF34.js} +1 -1
- package/dist/cdn/D27YXH3W.js +2 -0
- package/dist/cdn/{Y6KRMZWJ.js → DINM6JDS.js} +1 -1
- package/dist/cdn/{CEJGZMGB.js → DTVW3MYT.js} +1 -1
- package/dist/cdn/{TTR6UUEQ.js → EENOVGOS.js} +1 -1
- package/dist/cdn/EGN3YTD6.js +2 -0
- package/dist/cdn/{YZZJQMH4.js → EM7YCHTU.js} +1 -1
- package/dist/cdn/{P4PTEXIJ.js → EQCNO3G4.js} +1 -1
- package/dist/cdn/{7ZCMIKP6.js → EX22SAPL.js} +1 -1
- package/dist/cdn/{SSZMOOL6.js → F4HWT5H3.js} +1 -1
- package/dist/cdn/{ERTOHEVB.js → FB6YQKF2.js} +1 -1
- package/dist/cdn/{ACWGHEWO.js → FYTMMPPG.js} +1 -1
- package/dist/cdn/{POEZXWTT.js → GNGZFV2C.js} +1 -1
- package/dist/cdn/{LCUXPDUW.js → GY5226CJ.js} +1 -1
- package/dist/cdn/{QX27DK37.js → HB3W3CO5.js} +1 -1
- package/dist/cdn/{3A7HYDQP.js → HE6QV4XG.js} +1 -1
- package/dist/cdn/{J7ZNOOZ4.js → HEAH7MYD.js} +1 -1
- package/dist/cdn/{4URF7CKU.js → HH6BDERO.js} +1 -1
- package/dist/cdn/{QLPUP6A3.js → HHJN3Q6G.js} +1 -1
- package/dist/cdn/{FQJMTGXO.js → HO4JUZ6N.js} +1 -1
- package/dist/cdn/{JLIZWDU5.js → I5QTPPFJ.js} +1 -1
- package/dist/cdn/{VGTTCLO3.js → IDDSHZVB.js} +1 -1
- package/dist/cdn/{7CBBWB77.js → J55YUTPM.js} +1 -1
- package/dist/cdn/{6XJFSJGE.js → K27JJT2P.js} +1 -1
- package/dist/cdn/{LVSNYSCO.js → KAXJKSFB.js} +1 -1
- package/dist/cdn/{RXFUZXUX.js → KHM3S4Q6.js} +1 -1
- package/dist/cdn/{PFYZ7JRB.js → KNAUIRT6.js} +1 -1
- package/dist/cdn/{IY2G6DLG.js → KY2UAUNI.js} +1 -1
- package/dist/cdn/{JMHCIJG4.js → LG4PZVHS.js} +1 -1
- package/dist/cdn/{XWAT4IT2.js → LHEP4QSS.js} +1 -1
- package/dist/cdn/{KQNQ6ITI.js → LZQCXN6A.js} +1 -1
- package/dist/cdn/{JCV26SSG.js → M4L5EDRB.js} +1 -1
- package/dist/cdn/{2K45WUVH.js → M65HMJZA.js} +1 -1
- package/dist/cdn/{U5HXLA7K.js → MAGJWMWM.js} +1 -1
- package/dist/cdn/{XTFD35UI.js → MDCB7SO4.js} +1 -1
- package/dist/cdn/{KLBNUE5Q.js → N3BD4UQD.js} +1 -1
- package/dist/cdn/{7357JBTM.js → NGKNECON.js} +1 -1
- package/dist/cdn/NHMOFXEE.js +2 -0
- package/dist/cdn/{YR3SQWM6.js → NRBM3YR6.js} +1 -1
- package/dist/cdn/{77ERVO5S.js → NRV7VFJ7.js} +1 -1
- package/dist/cdn/{YBJEMNAU.js → NSGDR7V5.js} +1 -1
- package/dist/cdn/{CQ2L75M3.js → NZAO2BVV.js} +1 -1
- package/dist/cdn/{OJNMPOYD.js → OCEXQCFT.js} +1 -1
- package/dist/cdn/{FANKLSAT.js → OD5DHUHZ.js} +1 -1
- package/dist/cdn/{L6LZYPWJ.js → ORH27QWU.js} +1 -1
- package/dist/cdn/{5PJEJPFY.js → OSPWEZQJ.js} +1 -1
- package/dist/cdn/{BB5CXHDQ.js → PISCYSA5.js} +1 -1
- package/dist/cdn/{IIPYTUR3.js → PMQLTMQ4.js} +1 -1
- package/dist/cdn/PZC5TBXA.js +2 -0
- package/dist/cdn/{GHA2ANJZ.js → QJOQNSYB.js} +1 -1
- package/dist/cdn/{LZ3PMD7Z.js → QVMTO5BV.js} +1 -1
- package/dist/cdn/{L7NIKN24.js → R4V6HGJH.js} +1 -1
- package/dist/cdn/R7BJHEHH.js +2 -0
- package/dist/cdn/{4YQLL44L.js → RP5SO6BA.js} +1 -1
- package/dist/cdn/{JC4DYMKT.js → RRXH4CSV.js} +1 -1
- package/dist/cdn/{D6YUW72R.js → RSSYGNJQ.js} +1 -1
- package/dist/cdn/{7S4WE6H3.js → RUB6EORR.js} +1 -1
- package/dist/cdn/{CIUAWIL5.js → S4NUCPRQ.js} +2 -2
- package/dist/cdn/{SFM3XWUA.js → S6G6XXTM.js} +1 -1
- package/dist/cdn/{HVI2FE73.js → SZ5MNKOW.js} +1 -1
- package/dist/cdn/{RISVXUI4.js → T2ZF4XIZ.js} +1 -1
- package/dist/cdn/{U5FUT6DD.js → TP6I2LJO.js} +1 -1
- package/dist/cdn/{4IC3NWKK.js → TPOLS4YM.js} +1 -1
- package/dist/cdn/{5V7HEV2R.js → TUW6NLYY.js} +1 -1
- package/dist/cdn/{KG2M6IQS.js → U4QW6VHU.js} +1 -1
- package/dist/cdn/{SZNBYDQI.js → UAO23YMW.js} +1 -1
- package/dist/cdn/{LY735GHL.js → UHFSSX2G.js} +1 -1
- package/dist/cdn/{33U3K3P2.js → UKKUFJLL.js} +1 -1
- package/dist/cdn/{4PWBNKOA.js → UKNKW6MH.js} +1 -1
- package/dist/cdn/{DUT3D6UH.js → UM2FDZJJ.js} +1 -1
- package/dist/cdn/{DLUXWET4.js → UNX4CKAF.js} +1 -1
- package/dist/cdn/{5LD4AU4Q.js → VNOZYJLP.js} +1 -1
- package/dist/cdn/{OMKVQOUI.js → VU3SJK5Z.js} +1 -1
- package/dist/cdn/{I2WEEE2E.js → WGWNMYUH.js} +1 -1
- package/dist/cdn/{LLNNQ2ED.js → WOV3LB6K.js} +1 -1
- package/dist/cdn/{ZIX3WE2Q.js → WTMMFDEH.js} +1 -1
- package/dist/cdn/{E4YMNWRJ.js → WW6L6XX4.js} +1 -1
- package/dist/cdn/{AIRDJCFV.js → XCAWRUM6.js} +1 -1
- package/dist/cdn/{BAPY2HFP.js → XMSGTOUV.js} +1 -1
- package/dist/cdn/XMZSFKKO.js +2 -0
- package/dist/cdn/{LMV6L2OF.js → XRP25NGI.js} +1 -1
- package/dist/cdn/{ILPNFQWH.js → XW72RT5D.js} +1 -1
- package/dist/cdn/{RWJKQEMK.js → XXZ3CKTX.js} +1 -1
- package/dist/cdn/{ZHINQNZ2.js → Y6IN6NEC.js} +1 -1
- package/dist/cdn/{AFU3S7KW.js → YC5JACID.js} +1 -1
- package/dist/cdn/{SKGRUNAJ.js → YC6JWXOW.js} +1 -1
- package/dist/cdn/{GUAI5SHN.js → YFUI4F5L.js} +1 -1
- package/dist/cdn/{N76CLHYJ.js → ZD25GJYW.js} +1 -1
- package/dist/cdn/{67IVXIOR.js → ZD5FJHIQ.js} +1 -1
- package/dist/cdn/{UDPUTCKL.js → ZM2YXU7Y.js} +1 -1
- package/dist/cdn/{2BJHF4JK.js → ZURN5EZI.js} +1 -1
- package/dist/cdn/{KNJ7PME5.js → ZVTPU2MO.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/useArcgisViewReadyError.js +7 -7
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +5 -5
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +7 -7
- package/dist/components/arcgis-building-explorer/customElement.d.ts +1 -1
- package/dist/components/arcgis-daylight/customElement.d.ts +13 -13
- package/dist/components/arcgis-daylight/customElement.js +2 -1
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +7 -7
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +5 -5
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +8 -8
- package/dist/components/arcgis-feature-fields/customElement.js +7 -7
- package/dist/components/arcgis-features/customElement.d.ts +28 -28
- package/dist/components/arcgis-legend/customElement.d.ts +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +5 -5
- package/dist/components/arcgis-link-chart/customElement.d.ts +1 -1
- package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.js +13 -13
- package/dist/components/arcgis-map/customElement.d.ts +4 -4
- package/dist/components/arcgis-measurement/customElement.d.ts +3 -3
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +1 -1
- package/dist/components/arcgis-popup/customElement.d.ts +34 -34
- package/dist/components/arcgis-scene/customElement.d.ts +2 -2
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +7 -7
- package/dist/components/arcgis-slice/customElement.d.ts +4 -4
- package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.d.ts +58 -77
- package/dist/components/arcgis-slider-classed-color-legacy/customElement.d.ts +25 -30
- package/dist/components/arcgis-slider-classed-size-legacy/customElement.d.ts +22 -24
- package/dist/components/arcgis-slider-color-legacy/customElement.d.ts +54 -75
- package/dist/components/arcgis-slider-color-size-legacy/customElement.d.ts +48 -63
- package/dist/components/arcgis-slider-heatmap-legacy/customElement.d.ts +3 -3
- package/dist/components/arcgis-slider-opacity-legacy/customElement.d.ts +51 -68
- package/dist/components/arcgis-slider-size-legacy/customElement.d.ts +49 -64
- package/dist/components/arcgis-time-zone-label/customElement.d.ts +6 -29
- package/dist/components/arcgis-time-zone-label/customElement.js +15 -48
- package/dist/components/arcgis-time-zone-label/index.js +1 -1
- package/dist/components/arcgis-track/customElement.d.ts +1 -1
- package/dist/components/arcgis-value-picker-legacy/customElement.d.ts +10 -10
- package/dist/components/arcgis-video-player/customElement.d.ts +1 -1
- package/dist/components/arcgis-volume-measurement/customElement.d.ts +4 -4
- package/dist/components/arcgis-volume-measurement/customElement.js +1 -1
- package/dist/components/arcgis-weather/customElement.d.ts +5 -5
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/loader.js +1 -1
- package/dist/types/lumina.d.ts +1 -2
- package/dist/types/preact.d.ts +1 -2
- package/dist/types/react.d.ts +1 -2
- package/dist/types/stencil.d.ts +1 -2
- package/package.json +4 -4
- package/dist/cdn/23UYZVTW.js +0 -2
- package/dist/cdn/CKNH5OMJ.js +0 -2
- package/dist/cdn/FEQLUSM2.js +0 -2
- package/dist/cdn/G4A4VLTL.js +0 -2
- package/dist/cdn/GQN4ALIE.js +0 -2
- package/dist/cdn/I3PBMKT5.js +0 -2
- package/dist/cdn/IPNIJANM.js +0 -2
- package/dist/cdn/LVMJAMRO.js +0 -2
- package/dist/cdn/MW73TE2N.js +0 -2
- package/dist/cdn/OKZSKR6W.js +0 -2
- package/dist/cdn/VPJCFCJU.js +0 -2
- /package/dist/cdn/{UQ7E33T4.js → 2SQUOXWG.js} +0 -0
- /package/dist/cdn/{KAJ3U6DP.js → 3GVHNIXM.js} +0 -0
- /package/dist/cdn/{E2KWMQKQ.js → 3NF4UU3S.js} +0 -0
- /package/dist/cdn/{PHF2XKSK.js → 43UMYTXQ.js} +0 -0
- /package/dist/cdn/{CHDRBZNL.js → 47T624VO.js} +0 -0
- /package/dist/cdn/{X5H6ZUFX.js → 4NBXFFTY.js} +0 -0
- /package/dist/cdn/{DDI363AI.js → 5IPPKC3M.js} +0 -0
- /package/dist/cdn/{LCXF3AKY.js → 6JUTQDKC.js} +0 -0
- /package/dist/cdn/{YMU5IPMP.js → 6QPD32WT.js} +0 -0
- /package/dist/cdn/{M6TJN2I5.js → 7LEGS7EX.js} +0 -0
- /package/dist/cdn/{ORP3ZND2.js → AQG5RIV3.js} +0 -0
- /package/dist/cdn/{W5XM52J7.js → B3I4OKDQ.js} +0 -0
- /package/dist/cdn/{RCD5UKTW.js → BFHBS4MR.js} +0 -0
- /package/dist/cdn/{CRR65TKV.js → D3X7R3GD.js} +0 -0
- /package/dist/cdn/{7FMJZURP.js → DYC6OHKG.js} +0 -0
- /package/dist/cdn/{5OB4E5PR.js → DZG4EA6U.js} +0 -0
- /package/dist/cdn/{W5B5LTGN.js → ELF2SE5K.js} +0 -0
- /package/dist/cdn/{UVZZX6YP.js → FHSXSYA6.js} +0 -0
- /package/dist/cdn/{BQIH5T3S.js → FRWY77LH.js} +0 -0
- /package/dist/cdn/{ZFFBK3VO.js → FYVM32GJ.js} +0 -0
- /package/dist/cdn/{B7IYR676.js → GVW4OIR5.js} +0 -0
- /package/dist/cdn/{FPD3STSJ.js → H6LWU2FC.js} +0 -0
- /package/dist/cdn/{DEOCASGG.js → HEBLEJCT.js} +0 -0
- /package/dist/cdn/{OSRAPPNR.js → IDITPQDC.js} +0 -0
- /package/dist/cdn/{DWZIXPJ4.js → J3F5FPMC.js} +0 -0
- /package/dist/cdn/{YP3JKXC4.js → JMZA4GQB.js} +0 -0
- /package/dist/cdn/{JDPQMOEW.js → JPDYVHUZ.js} +0 -0
- /package/dist/cdn/{PUOWH3YL.js → KNFAPO3C.js} +0 -0
- /package/dist/cdn/{W2Q7NWBG.js → LEC4CIVO.js} +0 -0
- /package/dist/cdn/{JMDNJPNT.js → NCTWDKYG.js} +0 -0
- /package/dist/cdn/{RDW2NJPR.js → PDCUZMSB.js} +0 -0
- /package/dist/cdn/{76ESM6B2.js → RJTABGPK.js} +0 -0
- /package/dist/cdn/{2ZL4CF6P.js → SPXZXKMH.js} +0 -0
- /package/dist/cdn/{HZTWWEVM.js → TRPYDMNK.js} +0 -0
- /package/dist/cdn/{YHVFARHN.js → UYDFCELQ.js} +0 -0
- /package/dist/cdn/{55VMVXRK.js → V2D4QTRR.js} +0 -0
- /package/dist/cdn/{QAXR4LT6.js → WBZEEY5N.js} +0 -0
- /package/dist/cdn/{YDJGMRV3.js → WG5RPCHL.js} +0 -0
- /package/dist/cdn/{ZLIZCBGT.js → WL4J6REN.js} +0 -0
- /package/dist/cdn/{GB42YXHR.js → XJQRAKJ6.js} +0 -0
- /package/dist/cdn/{L4WRYSKZ.js → YGJ7NPDT.js} +0 -0
- /package/dist/cdn/{V3M37NHT.js → ZJ36DBTH.js} +0 -0
|
@@ -10,7 +10,7 @@ import type { Icon as Icon } from "@esri/calcite-components/components/calcite-i
|
|
|
10
10
|
import type { SystemOrLengthUnit } from "@arcgis/core/core/units.js";
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
|
-
* The Distance Measurement 2D component can be added to
|
|
13
|
+
* The Distance Measurement 2D component can be added to an [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/)
|
|
14
14
|
* component to calculate and display the length of a polyline.
|
|
15
15
|
*
|
|
16
16
|
* How distances are computed depends on the scene's spatial reference.
|
|
@@ -26,9 +26,9 @@ export abstract class ArcgisDistanceMeasurement2d extends LitElement {
|
|
|
26
26
|
* The [DistanceMeasurementAnalysis](https://developers.arcgis.com/javascript/latest/references/core/analysis/DistanceMeasurementAnalysis/)
|
|
27
27
|
* created or modified by the component.
|
|
28
28
|
*
|
|
29
|
-
* When connecting the Distance Measurement 2D component to the [
|
|
29
|
+
* When connecting the Distance Measurement 2D component to the [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/)
|
|
30
30
|
* component, it automatically creates an empty analysis and adds it to the Map's
|
|
31
|
-
* [analyses](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#analyses) collection.
|
|
31
|
+
* [arcgis-map.analyses](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#analyses) collection.
|
|
32
32
|
* You can then wait for the [DistanceMeasurementAnalysisView2D](https://developers.arcgis.com/javascript/latest/references/core/views/2d/analysis/DistanceMeasurementAnalysisView2D/)
|
|
33
33
|
* to be created before accessing the analysis results.
|
|
34
34
|
*
|
|
@@ -180,13 +180,13 @@ export abstract class ArcgisDistanceMeasurement2d extends LitElement {
|
|
|
180
180
|
get state(): DistanceMeasurement2DState;
|
|
181
181
|
/**
|
|
182
182
|
* Unit system (imperial, metric) or specific unit used for displaying the distance values. Possible values are listed in
|
|
183
|
-
* [unitOptions](
|
|
183
|
+
* [unitOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-distance-measurement-2d/#unitOptions).
|
|
184
184
|
*/
|
|
185
185
|
accessor unit: SystemOrLengthUnit;
|
|
186
186
|
/**
|
|
187
187
|
* List of available units and unit systems (imperial, metric) that are shown in the component's dropdown.
|
|
188
188
|
* By default, the following units are included: `metric`, `imperial`, `inches`, `feet`, `us-feet`, `yards`, `miles`, `nautical-miles`, `meters`, `kilometers`.
|
|
189
|
-
* Possible [unit](
|
|
189
|
+
* Possible [unit](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-distance-measurement-2d/#unit) values can only be a subset of this list.
|
|
190
190
|
*/
|
|
191
191
|
accessor unitOptions: Array<SystemOrLengthUnit>;
|
|
192
192
|
/**
|
|
@@ -20,14 +20,14 @@ import type { SystemOrLengthUnit } from "@arcgis/core/core/units.js";
|
|
|
20
20
|
*
|
|
21
21
|
* [](https://developers.arcgis.com/javascript/latest/sample-code/elevation-profile/)
|
|
22
22
|
*
|
|
23
|
-
* The component can visualize multiple profile lines, depending on whether it is used in
|
|
23
|
+
* The component can visualize multiple profile lines, depending on whether it is used in an [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/) component or an [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/) component and on the available elevation source data:
|
|
24
24
|
*
|
|
25
|
-
* * [**ElevationProfileLineGround**](https://developers.arcgis.com/javascript/latest/references/core/analysis/ElevationProfile/ElevationProfileLineGround/): represents a profile line that uses elevation from [
|
|
25
|
+
* * [**ElevationProfileLineGround**](https://developers.arcgis.com/javascript/latest/references/core/analysis/ElevationProfile/ElevationProfileLineGround/): represents a profile line that uses elevation from [arcgis-map.ground](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#ground) of the connected Map or Scene component. The profile recomputes automatically when ground layers are added, removed, or their visibility changes.
|
|
26
26
|
* * [**ElevationProfileLineInput**](https://developers.arcgis.com/javascript/latest/references/core/analysis/ElevationProfile/ElevationProfileLineInput/): represents a profile line that reads elevation from the analysis geometry itself; typically used for polylines with z values. If the line lacks z values but is displayed with a non-draped elevation mode, a profile is still computed. If `elevationInfo` is set to `on-the-ground`, elevation comes from the Ground (when ground layers are present). An elevation offset can be applied. In a Map this requires client-side graphics that already contain z values.
|
|
27
27
|
* * [**ElevationProfileLineQuery**](https://developers.arcgis.com/javascript/latest/references/core/analysis/ElevationProfile/ElevationProfileLineQuery/): represents a profile line that samples elevation from the elevation source set in the [source](https://developers.arcgis.com/javascript/latest/references/core/analysis/ElevationProfile/ElevationProfileLineQuery/#source) property. The elevation source can be an [ElevationLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/ElevationLayer/) or an object with a method called `queryElevation` that has the same signature as [queryElevation()](https://developers.arcgis.com/javascript/latest/references/core/layers/ElevationLayer/#queryElevation).
|
|
28
28
|
* * [**ElevationProfileLineScene**](https://developers.arcgis.com/javascript/latest/references/core/analysis/ElevationProfile/ElevationProfileLineScene/): represents a profile line that derives elevation from the `Scene` and all its volumetric objects (e.g. SceneLayer, IntegratedMeshLayer).
|
|
29
29
|
*
|
|
30
|
-
* You can choose to display one or several profile lines in the chart, by setting them in the [profiles](
|
|
30
|
+
* You can choose to display one or several profile lines in the chart, by setting them in the [profiles](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-elevation-profile/#profiles) property.
|
|
31
31
|
*
|
|
32
32
|
* Hovering over the chart shows an overlaid tooltip with elevation values of all profiles, and displays colored dot markers at the matching positions.
|
|
33
33
|
*
|
|
@@ -45,7 +45,7 @@ import type { SystemOrLengthUnit } from "@arcgis/core/core/units.js";
|
|
|
45
45
|
* **Known limitations**
|
|
46
46
|
*
|
|
47
47
|
* - [ElevationProfileLineInput](https://developers.arcgis.com/javascript/latest/references/core/analysis/ElevationProfile/ElevationProfileLineInput/) in 2D is only valid when the analysis [geometry](https://developers.arcgis.com/javascript/latest/references/core/analysis/ElevationProfileAnalysis/#geometry) has z values, `hasZ===true` and no [elevationInfo](https://developers.arcgis.com/javascript/latest/references/core/analysis/ElevationProfileAnalysis/#elevationInfo) is set.
|
|
48
|
-
* - [ElevationProfileLineScene](https://developers.arcgis.com/javascript/latest/references/core/analysis/ElevationProfile/ElevationProfileLineScene/) is only supported in a 3D [
|
|
48
|
+
* - [ElevationProfileLineScene](https://developers.arcgis.com/javascript/latest/references/core/analysis/ElevationProfile/ElevationProfileLineScene/) is only supported in a 3D [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/) component.
|
|
49
49
|
*
|
|
50
50
|
* **See also**
|
|
51
51
|
*
|
|
@@ -160,11 +160,11 @@ export abstract class ArcgisElevationProfile extends LitElement {
|
|
|
160
160
|
* The [ElevationProfileAnalysis](https://developers.arcgis.com/javascript/latest/references/core/analysis/ElevationProfileAnalysis/)
|
|
161
161
|
* created or modified by the component.
|
|
162
162
|
*
|
|
163
|
-
* When connecting the Elevation Profile component to the [
|
|
164
|
-
* or [
|
|
163
|
+
* When connecting the Elevation Profile component to the [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/)
|
|
164
|
+
* or [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/)
|
|
165
165
|
* components, it automatically creates an empty analysis and adds it to the Map's
|
|
166
|
-
* [analyses](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#analyses) collection or the Scene's
|
|
167
|
-
* [analyses](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#analyses) collection.
|
|
166
|
+
* [arcgis-map.analyses](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#analyses) collection or the Scene's
|
|
167
|
+
* [arcgis-scene.analyses](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#analyses) collection.
|
|
168
168
|
* You can then wait for the [ElevationProfileAnalysisView2D](https://developers.arcgis.com/javascript/latest/references/core/views/2d/analysis/ElevationProfileAnalysisView2D/)
|
|
169
169
|
* or [ElevationProfileAnalysisView3D](https://developers.arcgis.com/javascript/latest/references/core/views/3d/analysis/ElevationProfileAnalysisView3D/)
|
|
170
170
|
* to be created (depending on whether you are using a Map or Scene component) before accessing the analysis results.
|
|
@@ -4,9 +4,9 @@ import { css as f, html as p } from "lit";
|
|
|
4
4
|
import { renderingSanitizer as c } from "@arcgis/core/applications/Components/sanitizerUtils.js";
|
|
5
5
|
import { LitElement as b } from "@arcgis/lumina";
|
|
6
6
|
import { addLtrMark as u } from "@arcgis/toolkit/string";
|
|
7
|
-
import { j as v, k as $, l as
|
|
7
|
+
import { j as v, k as $, l as w } from "../../chunks/feature-utils.js";
|
|
8
8
|
import { replace as g } from "@arcgis/core/applications/Components/stringUtils.js";
|
|
9
|
-
const
|
|
9
|
+
const I = [
|
|
10
10
|
{
|
|
11
11
|
pattern: /^\s*(https?:\/\/([^\s]+))\s*$/iu,
|
|
12
12
|
target: "_blank",
|
|
@@ -78,8 +78,8 @@ const F = [
|
|
|
78
78
|
appName: "Microsoft Power Bi"
|
|
79
79
|
}
|
|
80
80
|
];
|
|
81
|
-
function
|
|
82
|
-
const e =
|
|
81
|
+
function F(d, t) {
|
|
82
|
+
const e = I.find((l) => l.pattern.test(t));
|
|
83
83
|
if (!e)
|
|
84
84
|
return t;
|
|
85
85
|
const i = t.match(e.pattern)?.[2], a = g(
|
|
@@ -91,7 +91,7 @@ function w(d, t) {
|
|
|
91
91
|
appName: e.appName
|
|
92
92
|
}
|
|
93
93
|
), n = e.target ? ` target="${e.target}"` : "", r = e.target === "_blank" ? ' rel="noreferrer"' : "";
|
|
94
|
-
return c.sanitizeUrl(new URL(t, window.location.origin).toString()).replace(e.pattern, `<a${n} href="$1"${r}>${a}</a>`);
|
|
94
|
+
return c.sanitizeUrl(new URL(t, window.location.origin === "null" ? void 0 : window.location.origin).toString()).replace(e.pattern, `<a${n} href="$1"${r}>${a}</a>`);
|
|
95
95
|
}
|
|
96
96
|
const N = f`.table{border:none;width:100%;border-collapse:collapse;color:var(--calcite-color-text-2)}.table caption{clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.table tr:nth-child(odd){background-color:var(--calcite-color-foreground-1)}.table tr:nth-child(2n){background-color:var(--calcite-color-foreground-2)}.table tr a{color:var(--calcite-color-text-link)}.table tr a:hover,.table tr a:focus{color:var(--calcite-color-brand-hover)}.table tr td,.table tr th{padding:var(--calcite-spacing-xs) var(--calcite-spacing-sm);vertical-align:top;word-break:break-word;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular);line-height:var(--calcite-font-line-height-relative-normal)}.table tr th{border-inline-end:var(--calcite-border-width-md) solid var(--calcite-color-border-3);width:50%;text-align:start}.table tr td{width:50%}`;
|
|
97
97
|
class y extends b {
|
|
@@ -112,7 +112,7 @@ class y extends b {
|
|
|
112
112
|
const o = r.clone();
|
|
113
113
|
o.label = v({ fieldInfo: o, expressionInfos: t, layer: s, graphic: i, isContentFieldInfos: a });
|
|
114
114
|
const m = $({ fieldInfo: r, graphic: i, layer: s });
|
|
115
|
-
m && (o.fieldFormat =
|
|
115
|
+
m && (o.fieldFormat = w({
|
|
116
116
|
configurableFieldsContainer: m,
|
|
117
117
|
fieldInfo: o,
|
|
118
118
|
isContentFieldInfos: a
|
|
@@ -126,7 +126,7 @@ class y extends b {
|
|
|
126
126
|
const { values: e } = this, s = t.fieldName || "", i = t.label || s, a = e ? e[s] == null ? "" : e[s] : "", n = t?.fieldFormat?.type === "date-time", r = {
|
|
127
127
|
openInApp: this.messages?.openInApp ?? "",
|
|
128
128
|
view: this.messages?.view ?? ""
|
|
129
|
-
}, l = typeof a == "number" && !n ? u(`${a}`) : typeof a == "string" ?
|
|
129
|
+
}, l = typeof a == "number" && !n ? u(`${a}`) : typeof a == "string" ? F(r, a) : `${a}`;
|
|
130
130
|
return p`<tr><th .innerHTML=${c.sanitize(i) ?? ""}></th><td .innerHTML=${c.sanitize(l) ?? ""}></td></tr>`;
|
|
131
131
|
}
|
|
132
132
|
_renderFields() {
|
|
@@ -21,7 +21,7 @@ import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.j
|
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
23
|
* The Features component allows users to view a feature's popupTemplate content such as attributes,
|
|
24
|
-
* actions, related records, etc., without having to be tied to
|
|
24
|
+
* actions, related records, etc., without having to be tied to an [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/) component.
|
|
25
25
|
* This component looks and behaves similarly to the [arcgis-popup](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/) component,
|
|
26
26
|
* however unlike Popup, the Features component can be placed outside of the map or scene component.
|
|
27
27
|
* For example, when features are selected in the [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/),
|
|
@@ -77,7 +77,7 @@ export abstract class ArcgisFeatures extends LitElement {
|
|
|
77
77
|
accessor chartAnimationDisabled: boolean;
|
|
78
78
|
/**
|
|
79
79
|
* Indicates whether the component displays its content. If `true`, only the header displays.
|
|
80
|
-
* This property is only honored if [
|
|
80
|
+
* This property is only honored if [showCollapseButton](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#showCollapseButton) is `true`.
|
|
81
81
|
*
|
|
82
82
|
* @default false
|
|
83
83
|
*/
|
|
@@ -181,11 +181,11 @@ export abstract class ArcgisFeatures extends LitElement {
|
|
|
181
181
|
accessor headerActions: Collection<ActionButton | ActionToggle>;
|
|
182
182
|
/**
|
|
183
183
|
* The title of the Features component. This can be set to any string value no
|
|
184
|
-
* matter the features that are selected. If the [
|
|
184
|
+
* matter the features that are selected. If the [selectedFeature](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#selectedFeature)
|
|
185
185
|
* has a [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/), then the title set in the
|
|
186
186
|
* corresponding template is used here.
|
|
187
187
|
*
|
|
188
|
-
* @see [headingLevel](
|
|
188
|
+
* @see [headingLevel](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#headingLevel)
|
|
189
189
|
* @since 4.34
|
|
190
190
|
* @example
|
|
191
191
|
* ```js
|
|
@@ -196,7 +196,7 @@ export abstract class ArcgisFeatures extends LitElement {
|
|
|
196
196
|
*/
|
|
197
197
|
accessor heading: string | null | undefined;
|
|
198
198
|
/**
|
|
199
|
-
* Indicates the heading level to use for the [heading](
|
|
199
|
+
* Indicates the heading level to use for the [heading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#heading) of the component.
|
|
200
200
|
* By default, the heading is rendered
|
|
201
201
|
* as a level 2 heading (e.g. `<h2>Popup title</h2>`). Depending on the component's placement
|
|
202
202
|
* in your app, you may need to adjust this heading for proper semantics. This is
|
|
@@ -206,7 +206,7 @@ export abstract class ArcgisFeatures extends LitElement {
|
|
|
206
206
|
*/
|
|
207
207
|
accessor headingLevel: HeadingLevel;
|
|
208
208
|
/**
|
|
209
|
-
* Indicates whether to hide the action bar that holds the feature's [actions](
|
|
209
|
+
* Indicates whether to hide the action bar that holds the feature's [actions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#actions).
|
|
210
210
|
*
|
|
211
211
|
* @default false
|
|
212
212
|
*/
|
|
@@ -319,7 +319,7 @@ export abstract class ArcgisFeatures extends LitElement {
|
|
|
319
319
|
*/
|
|
320
320
|
accessor hideUtilityNetworkContent: boolean;
|
|
321
321
|
/**
|
|
322
|
-
* Indicates whether to highlight the [
|
|
322
|
+
* Indicates whether to highlight the [selectedFeature](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#selectedFeature) in the associated
|
|
323
323
|
* [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/) component.
|
|
324
324
|
*
|
|
325
325
|
* @default false
|
|
@@ -350,9 +350,9 @@ export abstract class ArcgisFeatures extends LitElement {
|
|
|
350
350
|
/** The component's default label. */
|
|
351
351
|
accessor label: string | undefined;
|
|
352
352
|
/**
|
|
353
|
-
* A map is required when the input [features](
|
|
353
|
+
* A map is required when the input [features](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#features) have a popupTemplate that contains [Arcade](https://developers.arcgis.com/arcade) expressions in [ExpressionInfo](https://developers.arcgis.com/javascript/latest/references/core/popup/ExpressionInfo/) or [ExpressionContent](https://developers.arcgis.com/javascript/latest/references/core/popup/content/ExpressionContent/) that may use the `$map` profile variable to access data from layers within a map. Without a map, expressions that use `$map` will throw an error.
|
|
354
354
|
*
|
|
355
|
-
* Alternatively, the [view](
|
|
355
|
+
* Alternatively, the [view](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#view) property can be used to provide the map instance for this property.
|
|
356
356
|
*
|
|
357
357
|
* @default null
|
|
358
358
|
* @see [Type system](https://developers.arcgis.com/arcade/guide/types/#featuresetcollection)
|
|
@@ -458,7 +458,7 @@ export abstract class ArcgisFeatures extends LitElement {
|
|
|
458
458
|
* An array of pending Promises that have not yet been fulfilled. If there are
|
|
459
459
|
* no pending promises, the value is `null`. When the pending promises are
|
|
460
460
|
* resolved they are removed from this array and the features they return
|
|
461
|
-
* are pushed into the [features](
|
|
461
|
+
* are pushed into the [features](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#features) array.
|
|
462
462
|
*/
|
|
463
463
|
accessor promises: Array<Promise<Array<Graphic2>>>;
|
|
464
464
|
/**
|
|
@@ -487,7 +487,7 @@ export abstract class ArcgisFeatures extends LitElement {
|
|
|
487
487
|
*/
|
|
488
488
|
get selectedFeatureComponent(): ArcgisFeature | null;
|
|
489
489
|
/**
|
|
490
|
-
* Index of the feature that is [
|
|
490
|
+
* Index of the feature that is [selectedFeature](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#selectedFeature). When [features](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#features) are set,
|
|
491
491
|
* the first index is automatically selected.
|
|
492
492
|
*/
|
|
493
493
|
accessor selectedFeatureIndex: number;
|
|
@@ -501,7 +501,7 @@ export abstract class ArcgisFeatures extends LitElement {
|
|
|
501
501
|
* The spatial reference used for [Arcade](https://developers.arcgis.com/arcade) operations.
|
|
502
502
|
* This property should be set if the Features component executes Arcade expressions that contain [geometry functions](https://developers.arcgis.com/arcade/function-reference/geometry_functions/).
|
|
503
503
|
*
|
|
504
|
-
* Alternatively, the [view](
|
|
504
|
+
* Alternatively, the [view](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#view) property can be used to provide the spatial reference instance for this property.
|
|
505
505
|
*
|
|
506
506
|
* @default null
|
|
507
507
|
* @see [Type system](https://developers.arcgis.com/arcade/guide/types/#featuresetcollection)
|
|
@@ -516,7 +516,7 @@ export abstract class ArcgisFeatures extends LitElement {
|
|
|
516
516
|
get state(): State;
|
|
517
517
|
/**
|
|
518
518
|
* Dates and times displayed in the component will be displayed in this time zone. By default this time zone is
|
|
519
|
-
* inherited from [arcgis-map.timeZone](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#timeZone) if the [view](
|
|
519
|
+
* inherited from [arcgis-map.timeZone](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#timeZone) if the [view](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#view) property is set. When a MapView is not associated with the component
|
|
520
520
|
* then the property will fallback to the `system` time zone.
|
|
521
521
|
*
|
|
522
522
|
* **Possible Values**
|
|
@@ -528,7 +528,7 @@ export abstract class ArcgisFeatures extends LitElement {
|
|
|
528
528
|
*/
|
|
529
529
|
accessor timeZone: string;
|
|
530
530
|
/**
|
|
531
|
-
* Indicates whether to update the [location](
|
|
531
|
+
* Indicates whether to update the [location](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#location) when the [selectedFeatureIndex](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#selectedFeatureIndex) changes.
|
|
532
532
|
*
|
|
533
533
|
* @default false
|
|
534
534
|
* @since 5.0
|
|
@@ -537,12 +537,12 @@ export abstract class ArcgisFeatures extends LitElement {
|
|
|
537
537
|
/**
|
|
538
538
|
* A reference to the [MapView](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/) or [SceneView](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/).
|
|
539
539
|
* The Features component requires a `view` to be set if:
|
|
540
|
-
* - The [features](
|
|
540
|
+
* - The [features](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#features) have a popupTemplate containing Arcade expressions in [ExpressionInfo](https://developers.arcgis.com/javascript/latest/references/core/popup/ExpressionInfo/) or [ExpressionContent](https://developers.arcgis.com/javascript/latest/references/core/popup/content/ExpressionContent/) that may use [geometry functions](https://developers.arcgis.com/arcade/function-reference/geometry_functions/) or reference the `$map` profile variable (i.e. access data from layers within a map). Alternatively, set the [map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#map) property.
|
|
541
541
|
* - Content is displayed from the popup template of an [aggregate feature](https://developers.arcgis.com/javascript/latest/references/core/Graphic/#isAggregate) (i.e. a [cluster](https://developers.arcgis.com/javascript/latest/references/core/layers/support/FeatureReductionCluster/) or [bin](https://developers.arcgis.com/javascript/latest/references/core/layers/support/FeatureReductionBinning/)).
|
|
542
542
|
* - Values from `date` and `timestamp-offset` fields should respect the view's [time zone](https://developers.arcgis.com/javascript/latest/references/core/views/View/#timeZone).
|
|
543
|
-
* Alternatively, set the [
|
|
544
|
-
* - Using the [fetchFeatures](
|
|
545
|
-
* - Using the `Zoom to` default action. If the `view` is not specified, set the [includeDefaultActionsDisabled](
|
|
543
|
+
* Alternatively, set the [timeZone](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#timeZone) property.
|
|
544
|
+
* - Using the [fetchFeatures()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#fetchFeatures) method or the `fetchFeatures` option in the [open](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#open) method.
|
|
545
|
+
* - Using the `Zoom to` default action. If the `view` is not specified, set the [includeDefaultActionsDisabled](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#includeDefaultActionsDisabled) property to `true` to remove this default action.
|
|
546
546
|
*
|
|
547
547
|
* @since 4.34
|
|
548
548
|
*/
|
|
@@ -550,8 +550,8 @@ export abstract class ArcgisFeatures extends LitElement {
|
|
|
550
550
|
/** @since 4.34 */
|
|
551
551
|
accessor viewModel: FeaturesViewModel;
|
|
552
552
|
/**
|
|
553
|
-
* Removes [promises](
|
|
554
|
-
* [heading](
|
|
553
|
+
* Removes [promises](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#promises), [features](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#features), [content](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#content), and
|
|
554
|
+
* [heading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#heading) from the Features component.
|
|
555
555
|
*/
|
|
556
556
|
clear(): Promise<void>;
|
|
557
557
|
/** A convenience method to close the component. */
|
|
@@ -583,15 +583,15 @@ export abstract class ArcgisFeatures extends LitElement {
|
|
|
583
583
|
*/
|
|
584
584
|
fetchFeatures(screenPoint?: ScreenPoint, options?: FetchFeaturesOptions): Promise<void>;
|
|
585
585
|
/**
|
|
586
|
-
* Selects the feature at the next index in relation to the [
|
|
586
|
+
* Selects the feature at the next index in relation to the [selectedFeature](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#selectedFeature).
|
|
587
587
|
*
|
|
588
|
-
* @see [selectedFeatureIndex](
|
|
588
|
+
* @see [selectedFeatureIndex](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#selectedFeatureIndex)
|
|
589
589
|
*/
|
|
590
590
|
next(): Promise<FeaturesViewModel>;
|
|
591
591
|
/**
|
|
592
|
-
* Selects the feature at the previous index in relation to the [
|
|
592
|
+
* Selects the feature at the previous index in relation to the [selectedFeature](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#selectedFeature).
|
|
593
593
|
*
|
|
594
|
-
* @see [selectedFeatureIndex](
|
|
594
|
+
* @see [selectedFeatureIndex](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#selectedFeatureIndex)
|
|
595
595
|
*/
|
|
596
596
|
previous(): Promise<FeaturesViewModel>;
|
|
597
597
|
/**
|
|
@@ -601,8 +601,8 @@ export abstract class ArcgisFeatures extends LitElement {
|
|
|
601
601
|
*/
|
|
602
602
|
setFocus(): Promise<void>;
|
|
603
603
|
/**
|
|
604
|
-
* Triggers the [
|
|
605
|
-
* at the specified index in the [actions](
|
|
604
|
+
* Triggers the [@arcgisTriggerAction](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#event-arcgisTriggerAction) event and executes the action
|
|
605
|
+
* at the specified index in the [actions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#actions) array.
|
|
606
606
|
*
|
|
607
607
|
* @param action
|
|
608
608
|
*/
|
|
@@ -617,9 +617,9 @@ export abstract class ArcgisFeatures extends LitElement {
|
|
|
617
617
|
* Fires after the user clicks on an action in the component.
|
|
618
618
|
* This event may be used to define a custom function to execute when particular actions are clicked.
|
|
619
619
|
*
|
|
620
|
-
* @see [actions](
|
|
620
|
+
* @see [actions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#actions)
|
|
621
621
|
* @see [PopupTemplate.actions](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/#actions)
|
|
622
|
-
* @see [open](
|
|
622
|
+
* @see [open](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#open)
|
|
623
623
|
* @example
|
|
624
624
|
* ```js
|
|
625
625
|
* // Fires each time an action is clicked
|
|
@@ -10,7 +10,7 @@ import type { LayerInfo } from "@arcgis/core/widgets/types.js";
|
|
|
10
10
|
import type { LegendViewModelState } from "@arcgis/core/widgets/Legend/LegendViewModel.js";
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
|
-
* The Legend component displays the symbols and labels used to represent layers in
|
|
13
|
+
* The Legend component displays the symbols and labels used to represent layers in an [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
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`.
|
|
15
15
|
*
|
|
16
16
|
* The legend automatically updates when:
|
|
@@ -9,7 +9,7 @@ import type { Icon as Icon } from "@esri/calcite-components/components/calcite-i
|
|
|
9
9
|
/**
|
|
10
10
|
* The Line Of Sight component is a 3D analysis tool that allows you to perform
|
|
11
11
|
* [line of sight visibility analysis](https://developers.arcgis.com/javascript/latest/references/core/analysis/LineOfSightAnalysis/)
|
|
12
|
-
* in
|
|
12
|
+
* in an [arcgis-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
|
* 
|
|
@@ -26,7 +26,7 @@ import type { Icon as Icon } from "@esri/calcite-components/components/calcite-i
|
|
|
26
26
|
*
|
|
27
27
|
* **Known limitation**
|
|
28
28
|
*
|
|
29
|
-
* Line Of Sight is only supported in a 3D [
|
|
29
|
+
* Line Of Sight is only supported in a 3D [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/) component.
|
|
30
30
|
*
|
|
31
31
|
* **See also**
|
|
32
32
|
*
|
|
@@ -57,9 +57,9 @@ export abstract class ArcgisLineOfSight extends LitElement {
|
|
|
57
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 [
|
|
60
|
+
* When connecting the Line Of Sight component to the [arcgis-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/components/arcgis-scene/#analyses) collection.
|
|
62
|
+
* [arcgis-scene.analyses](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#analyses) collection.
|
|
63
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
|
*
|
|
@@ -207,7 +207,7 @@ export abstract class ArcgisLineOfSight extends LitElement {
|
|
|
207
207
|
accessor view: SceneView | undefined;
|
|
208
208
|
/** Clear the current analysis results. After calling this method, the user can set a new observer and targets. */
|
|
209
209
|
clear(): Promise<void>;
|
|
210
|
-
/** After [stop()](
|
|
210
|
+
/** After [stop()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-line-of-sight/#stop) was called, this method allows to continue the line of sight analysis and add more targets. */
|
|
211
211
|
continue(): Promise<void>;
|
|
212
212
|
/** Permanently destroy the component. */
|
|
213
213
|
destroy(): Promise<void>;
|
|
@@ -53,7 +53,7 @@ import type { ResizeAlign } from "@arcgis/core/views/2d/types.js";
|
|
|
53
53
|
* @slot [top-end] - Slot for components positioned at the top-end (top-right in LTR, top-left in RTL).
|
|
54
54
|
* @slot [bottom-start] - Slot for components positioned at the bottom-start (bottom-left in LTR, bottom-right in RTL).
|
|
55
55
|
* @slot [bottom-end] - Slot for components positioned at the bottom-end (bottom-right in LTR, bottom-left in RTL).
|
|
56
|
-
* @slot [popup] - Slot for the [
|
|
56
|
+
* @slot [popup] - Slot for the [arcgis-popup](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/) component to open automatically on click. Only the Popup component can be placed in this slot.
|
|
57
57
|
* @since 4.32
|
|
58
58
|
*/
|
|
59
59
|
export abstract class ArcgisLinkChart extends LitElement {
|
|
@@ -7,10 +7,10 @@ import { LitElement as h, createEvent as c, nothing as p } from "@arcgis/lumina"
|
|
|
7
7
|
import { u as m } from "../../chunks/useView.js";
|
|
8
8
|
import { log as d } from "@arcgis/toolkit/log";
|
|
9
9
|
import { when as g } from "@arcgis/core/core/reactiveUtils.js";
|
|
10
|
-
const a = (
|
|
10
|
+
const a = (t) => t === "hidden" ? "hide-link-chart-nonspatial-data" : "show-link-chart-nonspatial-data";
|
|
11
11
|
class y extends h {
|
|
12
12
|
constructor() {
|
|
13
|
-
super(...arguments), this.messages = l(), this._state = "disabled", this.view = s.useView(this), this.autoDestroyDisabled = !1, this.icon = a(this.view?.map
|
|
13
|
+
super(...arguments), this.messages = l(), this._state = "disabled", this.view = s.useView(this), this.autoDestroyDisabled = !1, this.icon = a(this.view?.map?.linkChartProperties?.nonspatialDataDisplay?.mode ?? "visible"), this.visualScale = "m", this.arcgisPropertyChange = r()("state"), this.arcgisReady = c();
|
|
14
14
|
}
|
|
15
15
|
static {
|
|
16
16
|
this.properties = { _state: 16, view: 0, autoDestroyDisabled: 5, icon: 1, label: 1, messageOverrides: 0, referenceElement: 1, state: 32, visualScale: 1 };
|
|
@@ -21,32 +21,32 @@ class y extends h {
|
|
|
21
21
|
async destroy() {
|
|
22
22
|
await this.manager.destroy();
|
|
23
23
|
}
|
|
24
|
-
async switchNonspatialVisibility(
|
|
25
|
-
this.view && (s.changeNonspatialDataDisplay(this.view,
|
|
24
|
+
async switchNonspatialVisibility(i) {
|
|
25
|
+
this.view && (s.changeNonspatialDataDisplay(this.view, i), this.icon = a(i));
|
|
26
26
|
}
|
|
27
27
|
loaded() {
|
|
28
28
|
this.manager.onLifecycle(() => [
|
|
29
|
-
g(() => this.view?.ready ? "ready" : "disabled", (
|
|
30
|
-
this._state =
|
|
29
|
+
g(() => this.view?.ready ? "ready" : "disabled", (i) => {
|
|
30
|
+
this._state = i, this.icon = a(this.view?.map?.linkChartProperties?.nonspatialDataDisplay?.mode ?? "visible");
|
|
31
31
|
}, { sync: !0, initial: !0 })
|
|
32
32
|
]);
|
|
33
33
|
}
|
|
34
34
|
_handleToggle() {
|
|
35
|
-
const e = this.view?.map
|
|
35
|
+
const e = (this.view?.map?.linkChartProperties?.nonspatialDataDisplay?.mode ?? "visible") === "hidden" ? "visible" : "hidden";
|
|
36
36
|
this.switchNonspatialVisibility(e);
|
|
37
37
|
}
|
|
38
38
|
render() {
|
|
39
|
-
const { messages:
|
|
40
|
-
return this.state === "ready" && this.view?.map.mapType !== "webLinkChart" && d("error", this, "The <arcgis-link-chart-nonspatial-visibility-toggle> component must be used with an <arcgis-link-chart> component to provide the view"), n`<calcite-action class="root" .scale=${this.visualScale} .icon=${this.icon} @click=${this._handleToggle} @keyup=${(e) => {
|
|
39
|
+
const { messages: i } = this;
|
|
40
|
+
return this.state === "ready" && this.view?.map && this.view?.map.mapType !== "webLinkChart" && d("error", this, "The <arcgis-link-chart-nonspatial-visibility-toggle> component must be used with an <arcgis-link-chart> component to provide the view"), n`<calcite-action class="root" .scale=${this.visualScale} .icon=${this.icon} @click=${this._handleToggle} @keyup=${(e) => {
|
|
41
41
|
e.key === "Enter" && this._handleToggle();
|
|
42
|
-
}} .disabled=${this.view?.map
|
|
42
|
+
}} .disabled=${this.view?.map?.mapType !== "webLinkChart"} .text=${i.toggleLabel} title=${i.toggleLabel ?? p} data-testid=link-chart-nonspatial-visibility-toggle-action></calcite-action>`;
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
const s = {
|
|
46
|
-
changeNonspatialDataDisplay: (
|
|
47
|
-
|
|
46
|
+
changeNonspatialDataDisplay: (t, i) => {
|
|
47
|
+
t.map.changeNonspatialDataDisplay(i);
|
|
48
48
|
},
|
|
49
|
-
useView: (
|
|
49
|
+
useView: (t) => m(t)
|
|
50
50
|
};
|
|
51
51
|
o("arcgis-link-chart-nonspatial-visibility-toggle", y);
|
|
52
52
|
export {
|
|
@@ -40,7 +40,7 @@ import type { ResizeAlign } from "@arcgis/core/views/2d/types.js";
|
|
|
40
40
|
|
|
41
41
|
/**
|
|
42
42
|
* The ArcGIS Map component is used to add 2D maps to web applications. For 3D maps, use the
|
|
43
|
-
* [
|
|
43
|
+
* [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/).
|
|
44
44
|
*
|
|
45
45
|
* #### Initializing the Map component
|
|
46
46
|
* The Map component creates a [MapView](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/)
|
|
@@ -123,7 +123,7 @@ import type { ResizeAlign } from "@arcgis/core/views/2d/types.js";
|
|
|
123
123
|
* @slot [top-end] - Slot for components positioned at the top-end (top-right in LTR, top-left in RTL).
|
|
124
124
|
* @slot [bottom-start] - Slot for components positioned at the bottom-start (bottom-left in LTR, bottom-right in RTL).
|
|
125
125
|
* @slot [bottom-end] - Slot for components positioned at the bottom-end (bottom-right in LTR, bottom-left in RTL).
|
|
126
|
-
* @slot [popup] - Slot for the [
|
|
126
|
+
* @slot [popup] - Slot for the [arcgis-popup](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/) component to open automatically on click. Only the Popup component can be placed in this slot.
|
|
127
127
|
* @since 4.28
|
|
128
128
|
*/
|
|
129
129
|
export abstract class ArcgisMap extends LitElement {
|
|
@@ -732,8 +732,8 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
732
732
|
/**
|
|
733
733
|
* The spatial reference of the view. This indicates the projected or geographic coordinate system used to locate geographic features in the map.
|
|
734
734
|
* You can change the spatialReference of the view after it is initialized by either directly changing
|
|
735
|
-
* this property, or by changing the basemap from the [
|
|
736
|
-
* and [
|
|
735
|
+
* this property, or by changing the basemap from the [arcgis-basemap-gallery](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-basemap-gallery/)
|
|
736
|
+
* and [arcgis-basemap-toggle](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-basemap-toggle/) components.
|
|
737
737
|
* Set [spatialReferenceLocked](#spatialReferenceLocked) property to `true` to prevent users from changing the view's spatial reference at runtime.
|
|
738
738
|
*
|
|
739
739
|
* Prior to changing the spatial reference, check if the [projectOperator](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/projectOperator/)
|
|
@@ -10,7 +10,7 @@ import type { MeasurementState } from "@arcgis/core/widgets/types.js";
|
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* The Measurement component groups and manages multiple measurement tools and allows you to easily switch between them using
|
|
13
|
-
* the [activeTool](
|
|
13
|
+
* the [activeTool](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-measurement/#activeTool) property. The tools correspond to the measurement components for area and distance in 2D
|
|
14
14
|
* [arcgis-area-measurement-2d](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-area-measurement-2d/), [arcgis-distance-measurement-2d](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-distance-measurement-2d/) and in 3D
|
|
15
15
|
* [arcgis-area-measurement-3d](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-area-measurement-3d/), [arcgis-direct-line-measurement-3d](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-direct-line-measurement-3d/).
|
|
16
16
|
*
|
|
@@ -60,8 +60,8 @@ import type { MeasurementState } from "@arcgis/core/widgets/types.js";
|
|
|
60
60
|
export abstract class ArcgisMeasurement extends LitElement {
|
|
61
61
|
/**
|
|
62
62
|
* Specifies the current measurement tool to display. Setting its value to `area` activates
|
|
63
|
-
* the area measurement tool and it works in both [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/) and [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/). To measure distance in
|
|
64
|
-
* set the property to `distance` and in
|
|
63
|
+
* the area measurement tool and it works in both [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/) and [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/). To measure distance in an [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/),
|
|
64
|
+
* set the property to `distance` and in an [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/) set it to `direct-line`.
|
|
65
65
|
* If this property is not set, the component will not be displayed.
|
|
66
66
|
*
|
|
67
67
|
* @example
|
|
@@ -16,7 +16,7 @@ import type { Button as Button } from "@esri/calcite-components/components/calci
|
|
|
16
16
|
*
|
|
17
17
|
* **Known limitations**
|
|
18
18
|
*
|
|
19
|
-
* Navigation Toggle is only supported in a 3D [
|
|
19
|
+
* Navigation Toggle is only supported in a 3D [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/) component.
|
|
20
20
|
*
|
|
21
21
|
* \@since 4.28
|
|
22
22
|
*/
|