@arcgis/map-components 5.0.0-next.161 → 5.0.0-next.163
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/{JAGDFQG6.js → 25HB2UBJ.js} +1 -1
- package/dist/cdn/{VFMEHZZD.js → 2AHY7O7C.js} +1 -1
- package/dist/cdn/{IJ55LHCM.js → 2FTXKTA4.js} +1 -1
- package/dist/cdn/{HRF5IALK.js → 3HYCJV4V.js} +1 -1
- package/dist/cdn/{GQVWDA6I.js → 42WUBROP.js} +1 -1
- package/dist/cdn/{SA36LNKO.js → 4WMWNIPN.js} +1 -1
- package/dist/cdn/522HNMQI.js +2 -0
- package/dist/cdn/55TRWAT7.js +2 -0
- package/dist/cdn/{5ZA7DJQS.js → 5LG4S2WV.js} +1 -1
- package/dist/cdn/{ZUNZDQUR.js → 6424II7L.js} +1 -1
- package/dist/cdn/{W3OOBNAC.js → 67DKLGTW.js} +1 -1
- package/dist/cdn/{YMUDLENL.js → 6IPVLMFQ.js} +1 -1
- package/dist/cdn/6IUQ5UHX.js +2 -0
- package/dist/cdn/{XC73PUXJ.js → 7AGJFQHK.js} +1 -1
- package/dist/cdn/{YK2QFDB6.js → 7NOD6U2Y.js} +1 -1
- package/dist/cdn/{VZERD7WA.js → 7OOAOM5T.js} +1 -1
- package/dist/cdn/{K2WVDLY4.js → AEMKZZZS.js} +1 -1
- package/dist/cdn/{QZPZSZPM.js → AJ64UYFM.js} +1 -1
- package/dist/cdn/{7SLLFJRR.js → AJIZTCGT.js} +1 -1
- package/dist/cdn/{OOUV2QP3.js → ANP7PYGJ.js} +1 -1
- package/dist/cdn/{LS7DJQ5K.js → AX23Q2XH.js} +1 -1
- package/dist/cdn/{IIMYW42S.js → B7SDETM6.js} +1 -1
- package/dist/cdn/{4JVUUWOR.js → BHPXKX47.js} +1 -1
- package/dist/cdn/{S74R5TS2.js → BKYII5LQ.js} +1 -1
- package/dist/cdn/{227PGZWD.js → CEB3VR24.js} +1 -1
- package/dist/cdn/{UUFU74F2.js → CO7UZYM2.js} +1 -1
- package/dist/cdn/{WR7YFN6J.js → CSU7GLED.js} +1 -1
- package/dist/cdn/{ZM4HRRLA.js → CXHSL2Y4.js} +1 -1
- package/dist/cdn/{PFYBNJ7Q.js → D4PJU376.js} +1 -1
- package/dist/cdn/{DNDFQB6M.js → DB2NOQ3D.js} +1 -1
- package/dist/cdn/{GPRLA5XG.js → E5SXPWDJ.js} +1 -1
- package/dist/cdn/{AELXLN3Z.js → EO66UQLI.js} +1 -1
- package/dist/cdn/{JM5UC74N.js → ESNK6MCY.js} +1 -1
- package/dist/cdn/{KLCFGWID.js → F2HPTFLQ.js} +1 -1
- package/dist/cdn/{APTCZIC5.js → F6QNNUIN.js} +1 -1
- package/dist/cdn/{PZEM6N6R.js → FA3Z6QOE.js} +1 -1
- package/dist/cdn/{USU73B2B.js → FD4A66OJ.js} +1 -1
- package/dist/cdn/{OYYIEGIF.js → FKQSJXNW.js} +1 -1
- package/dist/cdn/{7BVN4DHV.js → FRGWWVJK.js} +1 -1
- package/dist/cdn/{ZFIWGLC3.js → G4FP7GXM.js} +1 -1
- package/dist/cdn/{ND443SHN.js → GAH6OGQE.js} +1 -1
- package/dist/cdn/{YIMKE3ZS.js → GCFNRINR.js} +1 -1
- package/dist/cdn/{TWRNR5SM.js → GMR2QJNU.js} +1 -1
- package/dist/cdn/{VPFMRSZ6.js → H5RGMC7S.js} +1 -1
- package/dist/cdn/H7O5I4IF.js +2 -0
- package/dist/cdn/{ND6JN4YZ.js → HKVQWRPL.js} +1 -1
- package/dist/cdn/{ZEJQO6MG.js → HYBTGX3N.js} +1 -1
- package/dist/cdn/{CABYEVH5.js → I5M2Z7WS.js} +1 -1
- package/dist/cdn/{XOMA7SZS.js → IKOLSNGV.js} +1 -1
- package/dist/cdn/{WBIRVQFF.js → IL56ZRDO.js} +1 -1
- package/dist/cdn/{JBDUMA6A.js → ILFME5US.js} +1 -1
- package/dist/cdn/{ECEHRM4F.js → INYYRLED.js} +1 -1
- package/dist/cdn/{COSJIIOV.js → IQ7EVFBF.js} +1 -1
- package/dist/cdn/{HAGRUIX6.js → J4XU75P7.js} +1 -1
- package/dist/cdn/{XX7YW667.js → JCW65STL.js} +1 -1
- package/dist/cdn/{2VP56JYP.js → JUHCPSPF.js} +1 -1
- package/dist/cdn/{3PBCQSML.js → JZXMWXVD.js} +1 -1
- package/dist/cdn/K4PC3ILQ.js +2 -0
- package/dist/cdn/{S2OPU6EB.js → KAZBQ6OA.js} +1 -1
- package/dist/cdn/{TEZDBCLU.js → KGJGLAWM.js} +1 -1
- package/dist/cdn/{VXRHLDSF.js → KRVBBG4M.js} +1 -1
- package/dist/cdn/{FZJKT7BV.js → KWIBK4I5.js} +1 -1
- package/dist/cdn/{CNAGRWBY.js → L5JWLRD3.js} +1 -1
- package/dist/cdn/L6YZXUBB.js +2 -0
- package/dist/cdn/{VWFVE3N5.js → LT5ALQM5.js} +1 -1
- package/dist/cdn/{T6MNZWQJ.js → MAM7YHLA.js} +1 -1
- package/dist/cdn/{S2WF243X.js → MD36SH63.js} +1 -1
- package/dist/cdn/{YGRKF7FM.js → N7QKWBTM.js} +1 -1
- package/dist/cdn/{VU4FTMX6.js → NWXN5M4S.js} +1 -1
- package/dist/cdn/{GSULD3SQ.js → ODGGFBDK.js} +1 -1
- package/dist/cdn/{THO22RHZ.js → OFQNQF6N.js} +1 -1
- package/dist/cdn/{NYXESRIT.js → ONPN5M3Z.js} +1 -1
- package/dist/cdn/{N472QGAH.js → ORVYHFUJ.js} +1 -1
- package/dist/cdn/{CGXCY6GA.js → P76K34HQ.js} +1 -1
- package/dist/cdn/{SGG7SP3T.js → P7PWOUNZ.js} +1 -1
- package/dist/cdn/{6TBMOJWN.js → PQ5PGLJM.js} +1 -1
- package/dist/cdn/{RM2HMUW5.js → PYMUS3H4.js} +1 -1
- package/dist/cdn/{BFJ4VLH7.js → PZ2JPHRS.js} +1 -1
- package/dist/cdn/{FHDRIX57.js → Q4B4MXH4.js} +1 -1
- package/dist/cdn/{XLPNOCX2.js → QF7RABZH.js} +1 -1
- package/dist/cdn/{T3ZQTVDW.js → QKSSTPS3.js} +1 -1
- package/dist/cdn/{CFNAG4UQ.js → QUHJMEBB.js} +1 -1
- package/dist/cdn/{GIIC5RQS.js → R2FIOZIL.js} +1 -1
- package/dist/cdn/{ZA6HMKG3.js → RB7GCEEB.js} +1 -1
- package/dist/cdn/{U7UXBPOB.js → RE2BXNZ3.js} +1 -1
- package/dist/cdn/{OLRMETYO.js → RMFIN5AS.js} +1 -1
- package/dist/cdn/{Z2BF5ON2.js → RN57AN5P.js} +1 -1
- package/dist/cdn/{7DRCEN4I.js → RU5U2DVA.js} +1 -1
- package/dist/cdn/{AR4EHDQE.js → RYKRMJMK.js} +1 -1
- package/dist/cdn/{2WRZHA7I.js → RZ4T32PU.js} +1 -1
- package/dist/cdn/{K5TOSB65.js → SDWQW3ZX.js} +1 -1
- package/dist/cdn/{UBCQ3OXU.js → SK6O74LF.js} +1 -1
- package/dist/cdn/SKIP3GUP.js +2 -0
- package/dist/cdn/{FKFLM37F.js → T3JWZEB6.js} +1 -1
- package/dist/cdn/{WBEN5CWQ.js → TGUIWWDN.js} +1 -1
- package/dist/cdn/TQRR2FH6.js +2 -0
- package/dist/cdn/{W2Z72SWO.js → U3H7EVCU.js} +1 -1
- package/dist/cdn/{Y27IRNJL.js → U4TAMNG3.js} +1 -1
- package/dist/cdn/{OE3W5FEW.js → UBGE4QNR.js} +1 -1
- package/dist/cdn/{RAXYFKPT.js → UELD2T53.js} +1 -1
- package/dist/cdn/{JKBRLNJZ.js → UNLAUFXF.js} +1 -1
- package/dist/cdn/URUFNID2.js +2 -0
- package/dist/cdn/{H6TQCFMC.js → UW3G2BPO.js} +1 -1
- package/dist/cdn/{PTIYROPJ.js → WBGZAAEK.js} +1 -1
- package/dist/cdn/{ZX4R6K46.js → WDTFIXMM.js} +1 -1
- package/dist/cdn/{NS2J3AS6.js → WLNRPTCN.js} +1 -1
- package/dist/cdn/{ETJEFAUU.js → WTTBFFC2.js} +1 -1
- package/dist/cdn/{TRID34Q5.js → WV6XSMZW.js} +1 -1
- package/dist/cdn/X7QWBVC2.js +2 -0
- package/dist/cdn/{KEJZKHZZ.js → XCDPFMHG.js} +1 -1
- package/dist/cdn/{C45HGFAM.js → XIOIZK7A.js} +1 -1
- package/dist/cdn/{A724KY7J.js → Y4RMI55P.js} +1 -1
- package/dist/cdn/YLLIMNEW.js +2 -0
- package/dist/cdn/{DETI55RG.js → YXYCWJFF.js} +1 -1
- package/dist/cdn/{OE46TF5I.js → Z6LXLPK7.js} +1 -1
- package/dist/cdn/{WWASOGVO.js → ZOBY4YF2.js} +1 -1
- package/dist/cdn/{DHY6U2TQ.js → ZVTV4UKT.js} +1 -1
- package/dist/cdn/assets/elevation-profile/t9n/messages.fr.json +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 +10 -10
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +5 -7
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +4 -4
- package/dist/components/arcgis-bookmarks/customElement.d.ts +3 -3
- package/dist/components/arcgis-bookmarks/types.d.ts +1 -1
- package/dist/components/arcgis-building-explorer/customElement.d.ts +4 -4
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +4 -6
- package/dist/components/arcgis-clipboard/customElement.d.ts +2 -2
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +4 -4
- package/dist/components/arcgis-daylight/customElement.d.ts +14 -14
- 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-directions/customElement.d.ts +4 -5
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +5 -5
- package/dist/components/arcgis-editor/customElement.d.ts +2 -3
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +9 -9
- package/dist/components/arcgis-feature/customElement.d.ts +7 -7
- package/dist/components/arcgis-feature-fields/customElement.js +7 -7
- package/dist/components/arcgis-feature-form/customElement.d.ts +3 -4
- package/dist/components/arcgis-feature-image/customElement.d.ts +5 -5
- package/dist/components/arcgis-feature-table/customElement.d.ts +16 -23
- package/dist/components/arcgis-feature-templates/customElement.d.ts +4 -6
- package/dist/components/arcgis-feature-title/customElement.d.ts +3 -3
- package/dist/components/arcgis-features/customElement.d.ts +41 -43
- package/dist/components/arcgis-features/customElement.js +48 -42
- package/dist/components/arcgis-floor-filter/customElement.d.ts +5 -5
- package/dist/components/arcgis-grid-controls/customElement.d.ts +8 -8
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +1 -1
- package/dist/components/arcgis-home/customElement.d.ts +2 -2
- package/dist/components/arcgis-layer-list/customElement.d.ts +9 -11
- package/dist/components/arcgis-legend/customElement.d.ts +4 -4
- package/dist/components/arcgis-legend-classic-element/customElement.js +22 -24
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +5 -5
- package/dist/components/arcgis-link-chart/customElement.d.ts +21 -23
- package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.d.ts +1 -1
- package/dist/components/arcgis-locate/customElement.d.ts +1 -1
- package/dist/components/arcgis-map/customElement.d.ts +58 -60
- package/dist/components/arcgis-measurement/customElement.d.ts +3 -3
- package/dist/components/arcgis-multi-feature-form/customElement.d.ts +8 -10
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +2 -2
- package/dist/components/arcgis-paste/ClipboardMove.d.ts +3 -3
- package/dist/components/arcgis-paste/PasteViewModel.d.ts +9 -9
- package/dist/components/arcgis-paste/commands/PasteCommand.d.ts +3 -3
- package/dist/components/arcgis-paste/commands/PasteCustomCommand.d.ts +2 -2
- package/dist/components/arcgis-paste/customElement.d.ts +4 -4
- package/dist/components/arcgis-popup/customElement.d.ts +50 -52
- package/dist/components/arcgis-popup/customElement.js +50 -55
- package/dist/components/arcgis-popup/types.d.ts +1 -1
- package/dist/components/arcgis-presentation/PresentationViewModel.d.ts +2 -2
- package/dist/components/arcgis-presentation/customElement.d.ts +1 -1
- package/dist/components/arcgis-print/customElement.d.ts +12 -13
- package/dist/components/arcgis-reverse-geocode-list/customElement.d.ts +1 -1
- package/dist/components/arcgis-scale-bar/customElement.d.ts +1 -1
- package/dist/components/arcgis-scene/customElement.d.ts +54 -56
- package/dist/components/arcgis-search/customElement.d.ts +18 -20
- package/dist/components/arcgis-search/customElement.js +8 -9
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +29 -29
- package/dist/components/arcgis-sketch/customElement.d.ts +3 -4
- package/dist/components/arcgis-slice/customElement.d.ts +12 -12
- package/dist/components/arcgis-slice/types.d.ts +2 -2
- package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.d.ts +11 -11
- package/dist/components/arcgis-slider-classed-color-legacy/customElement.d.ts +9 -9
- package/dist/components/arcgis-slider-classed-size-legacy/customElement.d.ts +10 -10
- package/dist/components/arcgis-slider-color-legacy/customElement.d.ts +13 -13
- package/dist/components/arcgis-slider-color-size-legacy/customElement.d.ts +20 -20
- package/dist/components/arcgis-slider-heatmap-legacy/customElement.d.ts +3 -3
- package/dist/components/arcgis-slider-opacity-legacy/customElement.d.ts +9 -9
- package/dist/components/arcgis-slider-size-legacy/customElement.d.ts +14 -14
- package/dist/components/arcgis-swipe/customElement.d.ts +5 -5
- package/dist/components/arcgis-table-list/customElement.d.ts +7 -8
- package/dist/components/arcgis-time-slider/customElement.d.ts +3 -3
- package/dist/components/arcgis-time-zone-label/customElement.d.ts +7 -30
- 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-utility-network-aggregated-geometry/customElement.d.ts +2 -2
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +1 -2
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +6 -9
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +4 -4
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +28 -26
- package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +3 -3
- package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-trace-results/customElement.js +44 -44
- package/dist/components/arcgis-value-picker-legacy/customElement.d.ts +17 -18
- package/dist/components/arcgis-version-management/customElement.d.ts +3 -4
- package/dist/components/arcgis-video-player/customElement.d.ts +1 -1
- package/dist/components/arcgis-volume-measurement/customElement.d.ts +17 -17
- package/dist/components/arcgis-volume-measurement/customElement.js +1 -1
- package/dist/components/arcgis-weather/customElement.d.ts +5 -5
- package/dist/components/types.d.ts +3 -3
- 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/2LQLX6UN.js +0 -2
- package/dist/cdn/43GVPQTY.js +0 -2
- package/dist/cdn/BVJCLI2O.js +0 -2
- package/dist/cdn/F6ZBZTSB.js +0 -2
- package/dist/cdn/JWX6Z3ZF.js +0 -2
- package/dist/cdn/LEJDJAPO.js +0 -2
- package/dist/cdn/LT6PKSRL.js +0 -2
- package/dist/cdn/MTTO5ISS.js +0 -2
- package/dist/cdn/QCAKPRXK.js +0 -2
- package/dist/cdn/RHWPLIDI.js +0 -2
- package/dist/cdn/T5J4CTR7.js +0 -2
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
import type Point from "@arcgis/core/geometry/Point";
|
|
2
|
+
import type Point from "@arcgis/core/geometry/Point.js";
|
|
3
3
|
import type ShadowCastAnalysis from "@arcgis/core/analysis/ShadowCastAnalysis.js";
|
|
4
4
|
import type SceneView from "@arcgis/core/views/SceneView.js";
|
|
5
5
|
import type Color from "@arcgis/core/Color.js";
|
|
6
6
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
7
7
|
import type { ArcgisReferenceElement, HeadingLevel } from "../types.js";
|
|
8
|
+
import type { ShadowCastMode, ShadowCastTotalDurationMode } from "@arcgis/core/analysis/ShadowCast/types.js";
|
|
8
9
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
9
10
|
import type { Icon as Icon } from "@esri/calcite-components/components/calcite-icon";
|
|
10
|
-
import type { ShadowCastMode as ShadowCastMode2, ShadowCastTotalDurationMode } from "@arcgis/core/analysis/ShadowCast/types.js";
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
13
|
* The Shadow Cast component displays the cumulative shadows of 3D features in a
|
|
14
|
-
* [
|
|
14
|
+
* [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/).
|
|
15
15
|
* This type of analysis is helpful in urban development, where new projects have to satisfy certain shadow duration constraints.
|
|
16
16
|
*
|
|
17
17
|
* The component calculates the cumulative shadows for a time range during a single day. The user can
|
|
18
18
|
* configure the time range and select a calendar date. This time range and calendar date are only used
|
|
19
19
|
* for the shadow analysis and are not connected to the lighting in the scene.
|
|
20
20
|
* To control the lighting in the scene, use the
|
|
21
|
-
* [
|
|
21
|
+
* [arcgis-daylight](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-daylight/) component.
|
|
22
22
|
* Changing the timezone in the component updates the visualization by interpreting the time range as being
|
|
23
23
|
* in that timezone. This behavior is different from the
|
|
24
|
-
* [
|
|
24
|
+
* [arcgis-daylight](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-daylight/) component,
|
|
25
25
|
* where selecting a timezone updates the
|
|
26
|
-
* [environment
|
|
26
|
+
* [arcgis-scene.environment](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#environment)
|
|
27
27
|
* date and time according to the camera position.
|
|
28
28
|
*
|
|
29
|
-
* The component provides three [
|
|
29
|
+
* The component provides three [mode](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-shadow-cast/#mode): minimum duration, total duration, and discrete mode.
|
|
30
30
|
*
|
|
31
31
|
* **Minimum duration** mode displays shadows only in areas where shading accumulates for longer than a specified duration
|
|
32
32
|
* within the selected time range. Areas that receive less shading than the minimum show no shadow. In the image below,
|
|
@@ -49,12 +49,12 @@ import type { ShadowCastMode as ShadowCastMode2, ShadowCastTotalDurationMode } f
|
|
|
49
49
|
*
|
|
50
50
|
* Hovering over the Scene will display a tooltip showing the amount of time that location is in shadow, rounded to 15-minute intervals.
|
|
51
51
|
*
|
|
52
|
-
* The defaults for the time range and visualization settings can be changed using the [startTimeOfDay](
|
|
53
|
-
* [endTimeOfDay](
|
|
52
|
+
* The defaults for the time range and visualization settings can be changed using the [startTimeOfDay](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-shadow-cast/#startTimeOfDay),
|
|
53
|
+
* [endTimeOfDay](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-shadow-cast/#endTimeOfDay), and [mode](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-shadow-cast/#mode) properties.
|
|
54
54
|
*
|
|
55
55
|
* **Known limitations**
|
|
56
56
|
*
|
|
57
|
-
* * Shadow Cast is only supported in a 3D [
|
|
57
|
+
* * Shadow Cast is only supported in a 3D [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/) component.
|
|
58
58
|
* * Terrain does not cast shadows in this analysis. As a result, to avoid incorrect shadow visualization, `startTimeOfDay`
|
|
59
59
|
* should be set after local sunrise and `endTimeOfDay` before local sunset. If these times fall outside daylight hours,
|
|
60
60
|
* shadows may be missing in areas where terrain would normally block sunlight.
|
|
@@ -74,8 +74,8 @@ export abstract class ArcgisShadowCast extends LitElement {
|
|
|
74
74
|
* The [ShadowCastAnalysis](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCastAnalysis/)
|
|
75
75
|
* created or modified by the component.
|
|
76
76
|
*
|
|
77
|
-
* When connecting the Shadow Cast component to the [
|
|
78
|
-
* component, it automatically creates an empty analysis and adds it to the [analyses](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#analyses)
|
|
77
|
+
* When connecting the Shadow Cast component to the [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/)
|
|
78
|
+
* component, it automatically creates an empty analysis and adds it to the [arcgis-scene.analyses](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#analyses)
|
|
79
79
|
* collection.
|
|
80
80
|
* You can then wait for the [ShadowCastAnalysisView3D](https://developers.arcgis.com/javascript/latest/references/core/views/3d/analysis/ShadowCastAnalysisView3D/)
|
|
81
81
|
* to be created before accessing the analysis results.
|
|
@@ -147,7 +147,7 @@ export abstract class ArcgisShadowCast extends LitElement {
|
|
|
147
147
|
get date(): Date;
|
|
148
148
|
set date(value: Date | number | string);
|
|
149
149
|
/**
|
|
150
|
-
* Color of the shadow visualization in "discrete" [mode](
|
|
150
|
+
* Color of the shadow visualization in "discrete" [mode](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-shadow-cast/#mode). The opacity of the visualization is mapped to the
|
|
151
151
|
* number of overlapping shadows. No shadow corresponds to opacity 0 and maximum number of shadows corresponds to the
|
|
152
152
|
* opacity set in this color value.
|
|
153
153
|
*
|
|
@@ -155,7 +155,7 @@ export abstract class ArcgisShadowCast extends LitElement {
|
|
|
155
155
|
*/
|
|
156
156
|
accessor discreteColor: Color;
|
|
157
157
|
/**
|
|
158
|
-
* Individual shadows are displayed at this time interval in "discrete" [mode](
|
|
158
|
+
* Individual shadows are displayed at this time interval in "discrete" [mode](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-shadow-cast/#mode), starting with the start time of
|
|
159
159
|
* day. The interval is expressed in milliseconds. If set to 0, we'll use the smallest possible interval, up to a
|
|
160
160
|
* maximum of 255 samples.
|
|
161
161
|
*
|
|
@@ -163,7 +163,7 @@ export abstract class ArcgisShadowCast extends LitElement {
|
|
|
163
163
|
*/
|
|
164
164
|
accessor discreteInterval: number;
|
|
165
165
|
/**
|
|
166
|
-
* Time (in milliseconds from midnight of the [date](
|
|
166
|
+
* Time (in milliseconds from midnight of the [date](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-shadow-cast/#date)) when the shadow cast computation should stop.
|
|
167
167
|
*
|
|
168
168
|
* [Read more](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCastAnalysis/#endTimeOfDay)
|
|
169
169
|
*/
|
|
@@ -315,7 +315,7 @@ export abstract class ArcgisShadowCast extends LitElement {
|
|
|
315
315
|
/** The component's default label. */
|
|
316
316
|
accessor label: string | undefined;
|
|
317
317
|
/**
|
|
318
|
-
* Maximum allowed value for the [minDuration](
|
|
318
|
+
* Maximum allowed value for the [minDuration](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-shadow-cast/#minDuration) property, in milliseconds.
|
|
319
319
|
*
|
|
320
320
|
* @since 5.0
|
|
321
321
|
*/
|
|
@@ -377,29 +377,29 @@ export abstract class ArcgisShadowCast extends LitElement {
|
|
|
377
377
|
visualizationLabel: string;
|
|
378
378
|
}>;
|
|
379
379
|
/**
|
|
380
|
-
* The minimum duration (in milliseconds) used in "min-duration" [mode](
|
|
380
|
+
* The minimum duration (in milliseconds) used in "min-duration" [mode](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-shadow-cast/#mode) to determine which shadow areas are displayed.
|
|
381
381
|
*
|
|
382
382
|
* @since 5.0
|
|
383
383
|
*/
|
|
384
384
|
accessor minDuration: number;
|
|
385
385
|
/**
|
|
386
|
-
* Color of the shadow visualization in "min-duration" [mode](
|
|
386
|
+
* Color of the shadow visualization in "min-duration" [mode](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-shadow-cast/#mode). The areas with cumulative shadow time longer than
|
|
387
387
|
* the minimum duration value are displayed with this color.
|
|
388
388
|
*
|
|
389
389
|
* @since 5.0
|
|
390
390
|
*/
|
|
391
391
|
accessor minDurationColor: Color;
|
|
392
392
|
/**
|
|
393
|
-
* The color used when showing additional context in "min-duration" [mode](
|
|
394
|
-
* [minDurationContextEnabled](
|
|
393
|
+
* The color used when showing additional context in "min-duration" [mode](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-shadow-cast/#mode) when
|
|
394
|
+
* [minDurationContextEnabled](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-shadow-cast/#minDurationContextEnabled) is true.
|
|
395
395
|
*
|
|
396
396
|
* @since 5.0
|
|
397
397
|
*/
|
|
398
398
|
accessor minDurationContextColor: Color;
|
|
399
399
|
/**
|
|
400
400
|
* Whether to enable additional context showing discrete shadows at the same time as displaying shadows above a
|
|
401
|
-
* minimum duration when in the "min-duration" [mode](
|
|
402
|
-
* and [minDurationContextInterval](
|
|
401
|
+
* minimum duration when in the "min-duration" [mode](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-shadow-cast/#mode). The [minDurationContextColor](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-shadow-cast/#minDurationContextColor)
|
|
402
|
+
* and [minDurationContextInterval](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-shadow-cast/#minDurationContextInterval) properties are used to configure the visualization of the
|
|
403
403
|
* discrete shadows when context is enabled.
|
|
404
404
|
*
|
|
405
405
|
* @default false
|
|
@@ -407,14 +407,14 @@ export abstract class ArcgisShadowCast extends LitElement {
|
|
|
407
407
|
*/
|
|
408
408
|
accessor minDurationContextEnabled: boolean;
|
|
409
409
|
/**
|
|
410
|
-
* The interval in milliseconds used when showing additional context in "min-duration" [mode](
|
|
411
|
-
* [minDurationContextEnabled](
|
|
410
|
+
* The interval in milliseconds used when showing additional context in "min-duration" [mode](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-shadow-cast/#mode) when
|
|
411
|
+
* [minDurationContextEnabled](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-shadow-cast/#minDurationContextEnabled) is true.
|
|
412
412
|
*
|
|
413
413
|
* @since 5.0
|
|
414
414
|
*/
|
|
415
415
|
accessor minDurationContextInterval: number;
|
|
416
416
|
/**
|
|
417
|
-
* Minimum allowed value for the [minDuration](
|
|
417
|
+
* Minimum allowed value for the [minDuration](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-shadow-cast/#minDuration) property, in milliseconds.
|
|
418
418
|
*
|
|
419
419
|
* @default 0
|
|
420
420
|
* @since 5.0
|
|
@@ -430,7 +430,7 @@ export abstract class ArcgisShadowCast extends LitElement {
|
|
|
430
430
|
*
|
|
431
431
|
* @since 5.0
|
|
432
432
|
*/
|
|
433
|
-
accessor mode:
|
|
433
|
+
accessor mode: ShadowCastMode;
|
|
434
434
|
/**
|
|
435
435
|
* By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.
|
|
436
436
|
*
|
|
@@ -438,7 +438,7 @@ export abstract class ArcgisShadowCast extends LitElement {
|
|
|
438
438
|
*/
|
|
439
439
|
accessor referenceElement: ArcgisReferenceElement | string | undefined;
|
|
440
440
|
/**
|
|
441
|
-
* Time (in milliseconds from midnight of the [date](
|
|
441
|
+
* Time (in milliseconds from midnight of the [date](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-shadow-cast/#date)) when the shadow cast computation should start.
|
|
442
442
|
*
|
|
443
443
|
* [Read more](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCastAnalysis/#startTimeOfDay)
|
|
444
444
|
*/
|
|
@@ -451,7 +451,7 @@ export abstract class ArcgisShadowCast extends LitElement {
|
|
|
451
451
|
*/
|
|
452
452
|
get state(): "disabled" | "ready";
|
|
453
453
|
/**
|
|
454
|
-
* Color of the shadow visualization in "total-duration" [mode](
|
|
454
|
+
* Color of the shadow visualization in "total-duration" [mode](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-shadow-cast/#mode). The opacity is mapped to the time spent in shadow.
|
|
455
455
|
* Areas that don't receive any shadow are displayed with zero opacity and areas that receive shadows for the entire
|
|
456
456
|
* time range are displayed with the opacity specified in this property.
|
|
457
457
|
*
|
|
@@ -459,7 +459,7 @@ export abstract class ArcgisShadowCast extends LitElement {
|
|
|
459
459
|
*/
|
|
460
460
|
accessor totalDurationColor: Color;
|
|
461
461
|
/**
|
|
462
|
-
* Mode in which the cumulative shadow duration should be displayed in "total-duration" [mode](
|
|
462
|
+
* Mode in which the cumulative shadow duration should be displayed in "total-duration" [mode](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-shadow-cast/#mode): as a continuous
|
|
463
463
|
* surface or as an hourly aggregation of values.
|
|
464
464
|
*
|
|
465
465
|
* @since 5.0
|
|
@@ -10,9 +10,8 @@ import type SketchTooltipOptions from "@arcgis/core/views/interactive/sketch/Ske
|
|
|
10
10
|
import type Collection from "@arcgis/core/core/Collection.js";
|
|
11
11
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
12
12
|
import type { ArcgisReferenceElement, IconName } from "../types.js";
|
|
13
|
-
import type { CreateOptions, CreateTool, UpdateEvent, UndoEvent, RedoEvent, DeleteEvent, CreateEvent } from "@arcgis/core/widgets/Sketch/types";
|
|
13
|
+
import type { CreateOptions, CreateTool, UpdateEvent, UndoEvent, RedoEvent, DeleteEvent, CreateEvent, SketchTool, SelectionTool, CreationMode, UpdateOptions, Layout, SketchPointSymbol, SketchPolygonSymbol, SketchPolylineSymbol, State, ToolbarKind } from "@arcgis/core/widgets/Sketch/types.js";
|
|
14
14
|
import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.js";
|
|
15
|
-
import type { SketchTool, SelectionTool, CreateTool as CreateTool2, CreationMode, CreateOptions as CreateOptions2, UpdateOptions, Layout, SketchPointSymbol, SketchPolygonSymbol, SketchPolylineSymbol, State, ToolbarKind } from "@arcgis/core/widgets/Sketch/types.js";
|
|
16
15
|
import type { Icon } from "@esri/calcite-components/components/calcite-icon";
|
|
17
16
|
import type { Button as Button } from "@esri/calcite-components/components/calcite-button";
|
|
18
17
|
|
|
@@ -59,7 +58,7 @@ export abstract class ArcgisSketch extends LitElement {
|
|
|
59
58
|
*
|
|
60
59
|
* @default ["point", "polyline", "freehandPolyline", "polygon", "freehandPolygon", "rectangle", "circle"]
|
|
61
60
|
*/
|
|
62
|
-
accessor availableCreateTools: Array<
|
|
61
|
+
accessor availableCreateTools: Array<CreateTool> | null | undefined;
|
|
63
62
|
/** The graphic that is being created. */
|
|
64
63
|
get createGraphic(): Graphic | null | undefined;
|
|
65
64
|
/**
|
|
@@ -83,7 +82,7 @@ export abstract class ArcgisSketch extends LitElement {
|
|
|
83
82
|
*
|
|
84
83
|
* @since 4.14
|
|
85
84
|
*/
|
|
86
|
-
accessor defaultCreateOptions:
|
|
85
|
+
accessor defaultCreateOptions: CreateOptions;
|
|
87
86
|
/**
|
|
88
87
|
* By default, sketch will auto-create a new graphics layer if none was
|
|
89
88
|
* provided. Set this prop to true to disable this behavior.
|
|
@@ -11,20 +11,20 @@ import type { Icon as Icon } from "@esri/calcite-components/components/calcite-i
|
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
13
|
* The Slice component is a 3D analysis tool that can be used to reveal occluded content in a
|
|
14
|
-
* [
|
|
14
|
+
* [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/). It applies
|
|
15
15
|
* [slice analysis](https://developers.arcgis.com/javascript/latest/references/core/analysis/SliceAnalysis/)
|
|
16
16
|
* to any layer type, making it possible to see inside buildings or to explore geological surfaces.
|
|
17
17
|
*
|
|
18
18
|
* [](https://developers.arcgis.com/javascript/latest/sample-code/building-scene-layer-slice/index.html)
|
|
19
19
|
*
|
|
20
|
-
* The slicing [shape](
|
|
20
|
+
* The slicing [shape](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slice/#shape)
|
|
21
21
|
* is always a [plane](https://developers.arcgis.com/javascript/latest/references/core/analysis/SlicePlane/).
|
|
22
22
|
* By default, the plane is either horizontal or vertical. To allow a tilt angle for the plane, set
|
|
23
|
-
* [tiltEnabled](
|
|
23
|
+
* [tiltEnabled](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slice/#tiltEnabled)
|
|
24
24
|
* to `true`. The slice hides any content in front of the surface. The handles on the sides of the plane can be used to adjust
|
|
25
25
|
* the size, heading, tilt, and position of the slice plane.
|
|
26
26
|
* The [SlicePlane](https://developers.arcgis.com/javascript/latest/references/core/analysis/SlicePlane/)
|
|
27
|
-
* can be set or retrieved using the [shape](
|
|
27
|
+
* can be set or retrieved using the [shape](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slice/#shape) property.
|
|
28
28
|
*
|
|
29
29
|
* Once the slice plane is applied, layers can be excluded from the slicing. For example, by excluding the sublayers which include
|
|
30
30
|
* columns and floor slabs, the inner structure of a building can investigated.
|
|
@@ -35,7 +35,7 @@ import type { Icon as Icon } from "@esri/calcite-components/components/calcite-i
|
|
|
35
35
|
*
|
|
36
36
|
* **Known limitation**
|
|
37
37
|
*
|
|
38
|
-
* Slice is only supported in a 3D [
|
|
38
|
+
* Slice is only supported in a 3D [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/) component.
|
|
39
39
|
*
|
|
40
40
|
* **See also**
|
|
41
41
|
*
|
|
@@ -82,9 +82,9 @@ export abstract class ArcgisSlice extends LitElement {
|
|
|
82
82
|
* The [SliceAnalysis](https://developers.arcgis.com/javascript/latest/references/core/analysis/SliceAnalysis/)
|
|
83
83
|
* created or modified by the component.
|
|
84
84
|
*
|
|
85
|
-
* When connecting the Slice component to the [
|
|
85
|
+
* When connecting the Slice component to the [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/)
|
|
86
86
|
* component, it automatically creates an empty analysis and adds it to the Scene's
|
|
87
|
-
* [analyses](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#analyses) collection.
|
|
87
|
+
* [arcgis-scene.analyses](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#analyses) collection.
|
|
88
88
|
* You can then wait for the [SliceAnalysisView3D](https://developers.arcgis.com/javascript/latest/references/core/views/3d/analysis/SliceAnalysisView3D/)
|
|
89
89
|
* to be created before interacting with the slice or reading the current slice parameters.
|
|
90
90
|
*
|
|
@@ -284,16 +284,16 @@ export abstract class ArcgisSlice extends LitElement {
|
|
|
284
284
|
*/
|
|
285
285
|
accessor view: SceneView | undefined;
|
|
286
286
|
/**
|
|
287
|
-
* Clear the [shape](
|
|
288
|
-
* and [excludeGroundSurface](
|
|
289
|
-
* Calling this method changes the [state](
|
|
287
|
+
* Clear the [shape](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slice/#shape) of the slice, effectively removing it from the view. Other properties like [excludedLayers](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slice/#excludedLayers)
|
|
288
|
+
* and [excludeGroundSurface](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slice/#excludeGroundSurface) are not modified.
|
|
289
|
+
* Calling this method changes the [state](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slice/#state) to `ready`.
|
|
290
290
|
*/
|
|
291
291
|
clear(): Promise<void>;
|
|
292
292
|
/** Permanently destroy the component. */
|
|
293
293
|
destroy(): Promise<void>;
|
|
294
294
|
/**
|
|
295
|
-
* Start the interactive placement of a new slice, clearing the previous [shape](
|
|
296
|
-
* Calling this method changes the [state](
|
|
295
|
+
* Start the interactive placement of a new slice, clearing the previous [shape](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slice/#shape).
|
|
296
|
+
* Calling this method changes the [state](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slice/#state) to `slicing`.
|
|
297
297
|
*/
|
|
298
298
|
start(): Promise<void>;
|
|
299
299
|
/** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type BuildingComponentSublayer from "@arcgis/core/layers/buildingSublayers/BuildingComponentSublayer";
|
|
2
|
-
import type Layer from "@arcgis/core/layers/Layer";
|
|
1
|
+
import type BuildingComponentSublayer from "@arcgis/core/layers/buildingSublayers/BuildingComponentSublayer.js";
|
|
2
|
+
import type Layer from "@arcgis/core/layers/Layer.js";
|
|
3
3
|
|
|
4
4
|
export type SliceableLayer = BuildingComponentSublayer | Layer;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
import type ClassBreaksRenderer from "@arcgis/core/renderers/ClassBreaksRenderer";
|
|
2
|
+
import type ClassBreaksRenderer from "@arcgis/core/renderers/ClassBreaksRenderer.js";
|
|
3
3
|
import type SizeStop from "@arcgis/core/renderers/visualVariables/support/SizeStop.js";
|
|
4
4
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
5
|
-
import type { RendererResult } from "@arcgis/core/smartMapping/renderers/univariateColorSize";
|
|
6
|
-
import type { HistogramResult } from "@arcgis/core/smartMapping/statistics/types";
|
|
5
|
+
import type { RendererResult } from "@arcgis/core/smartMapping/renderers/univariateColorSize.js";
|
|
6
|
+
import type { HistogramResult } from "@arcgis/core/smartMapping/statistics/types.js";
|
|
7
7
|
import type { ArcgisReferenceElement, IconName } from "../types.js";
|
|
8
|
-
import type { ThumbDragEvent, ThumbChangeEvent } from "@arcgis/core/widgets/Slider/types";
|
|
8
|
+
import type { ThumbDragEvent, ThumbChangeEvent } from "@arcgis/core/widgets/Slider/types.js";
|
|
9
9
|
import type { HistogramConfig, ZoomOptions } from "@arcgis/core/widgets/smartMapping/types.js";
|
|
10
10
|
import type { LabelFormatFunction, InputParseFunction } from "@arcgis/core/widgets/types.js";
|
|
11
11
|
import type { BinaryColorSizeSliderStyle } from "@arcgis/core/widgets/smartMapping/BinaryColorSizeSlider.js";
|
|
@@ -17,13 +17,13 @@ import type { SmartMappingSliderBaseState } from "@arcgis/core/widgets/smartMapp
|
|
|
17
17
|
* > This is a **legacy component**. It relies on an underlying widget as part of our migration to native web components.
|
|
18
18
|
* >
|
|
19
19
|
* > A fully native replacement for this component is in development. Once it reaches feature parity, the legacy component will be deprecated and no longer maintained.
|
|
20
|
-
* At that point,
|
|
20
|
+
* At that point, development should use the native component.
|
|
21
21
|
*
|
|
22
22
|
* The Binary Color Size Slider component is intended for authoring and exploring diverging data-driven visualizations in any
|
|
23
23
|
* layer that can be rendered with an above and below theme for a [SizeVariable](https://developers.arcgis.com/javascript/latest/references/core/renderers/visualVariables/SizeVariable/).
|
|
24
24
|
*
|
|
25
25
|
* The [updateFromRendererResult()](https://developers.arcgis.com/javascript/latest/references/core/widgets/smartMapping/BinaryColorSizeSlider/#fromRendererResult)
|
|
26
|
-
* method can be used to intelligently populate slider properties including [max](
|
|
26
|
+
* method can be used to intelligently populate slider properties including [max](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-binary-color-size-legacy/#max), [min](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-binary-color-size-legacy/#min), [size visual variable](https://developers.arcgis.com/javascript/latest/references/core/renderers/visualVariables/SizeVariable/)
|
|
27
27
|
* configuration, and the slider's histogram after the renderer has been created from the result of the
|
|
28
28
|
* [createContinuousRenderer()](https://developers.arcgis.com/javascript/latest/references/core/smartMapping/renderers/univariateColorSize/#createContinuousRenderer) method.
|
|
29
29
|
*
|
|
@@ -216,7 +216,7 @@ export abstract class ArcgisSliderBinaryColorSizeLegacy extends LitElement {
|
|
|
216
216
|
*/
|
|
217
217
|
accessor labelFormatFunction: LabelFormatFunction | null | undefined;
|
|
218
218
|
/**
|
|
219
|
-
* The maximum value or upper bound of the slider. Once the slider has rendered with the [updateFromRendererResult()](
|
|
219
|
+
* The maximum value or upper bound of the slider. Once the slider has rendered with the [updateFromRendererResult()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-binary-color-size-legacy/#updateFromRendererResult) method,
|
|
220
220
|
* the user may change this property by selecting the label containing the max value on the slider UI. It is the responsibility of the app developer
|
|
221
221
|
* to set up event listeners that update the size variable of the appropriate renderer.
|
|
222
222
|
*
|
|
@@ -227,7 +227,7 @@ export abstract class ArcgisSliderBinaryColorSizeLegacy extends LitElement {
|
|
|
227
227
|
*/
|
|
228
228
|
accessor max: number;
|
|
229
229
|
/**
|
|
230
|
-
* The minimum value or lower bound of the slider. Once the slider has rendered with the [updateFromRendererResult()](
|
|
230
|
+
* The minimum value or lower bound of the slider. Once the slider has rendered with the [updateFromRendererResult()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-binary-color-size-legacy/#updateFromRendererResult) method,
|
|
231
231
|
* the user may change this property by selecting the label containing the min value on the slider UI. It is the responsibility of the app developer
|
|
232
232
|
* to set up event listeners that update the size variable of the appropriate renderer.
|
|
233
233
|
*
|
|
@@ -240,7 +240,7 @@ export abstract class ArcgisSliderBinaryColorSizeLegacy extends LitElement {
|
|
|
240
240
|
/**
|
|
241
241
|
* When `true`, ensures symbol sizes in the `above` range
|
|
242
242
|
* are consistent with symbol sizes in the `below` range for all slider thumb positions.
|
|
243
|
-
* In other words, the size values in the [stops](
|
|
243
|
+
* In other words, the size values in the [stops](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-binary-color-size-legacy/#stops) will adjust
|
|
244
244
|
* proportionally according to the positions of the data values within the
|
|
245
245
|
* constraints of the size range (maxSize - minSize) as the slider thumbs update.
|
|
246
246
|
* When `false`, size values in the stops will remain the same even when slider thumb values
|
|
@@ -309,8 +309,8 @@ export abstract class ArcgisSliderBinaryColorSizeLegacy extends LitElement {
|
|
|
309
309
|
*/
|
|
310
310
|
accessor stops: Array<SizeStop>;
|
|
311
311
|
/**
|
|
312
|
-
* Zooms the slider track to the bounds provided in this property. When min and/or max zoom values are provided, the absolute [min](
|
|
313
|
-
* [max](
|
|
312
|
+
* Zooms the slider track to the bounds provided in this property. When min and/or max zoom values are provided, the absolute [min](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-binary-color-size-legacy/#min) and
|
|
313
|
+
* [max](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-binary-color-size-legacy/#max) slider values are preserved and rendered at their typical positions on the slider. However, the
|
|
314
314
|
* slider track itself is zoomed so that thumbs cannot be moved above or below the provided min and max zoomed values.
|
|
315
315
|
*
|
|
316
316
|
* When a slider is in a zoomed state, the zoomed ends of the track will appear jagged. In the image below, notice how the
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
import type ClassBreakInfo from "@arcgis/core/renderers/support/ClassBreakInfo";
|
|
2
|
+
import type ClassBreakInfo from "@arcgis/core/renderers/support/ClassBreakInfo.js";
|
|
3
3
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
4
|
-
import type { ClassBreaksRendererResult } from "@arcgis/core/smartMapping/renderers/color";
|
|
5
|
-
import type { HistogramResult } from "@arcgis/core/smartMapping/statistics/types";
|
|
4
|
+
import type { ClassBreaksRendererResult } from "@arcgis/core/smartMapping/renderers/color.js";
|
|
5
|
+
import type { HistogramResult } from "@arcgis/core/smartMapping/statistics/types.js";
|
|
6
6
|
import type { ArcgisReferenceElement, IconName } from "../types.js";
|
|
7
|
-
import type { ThumbDragEvent, ThumbChangeEvent } from "@arcgis/core/widgets/Slider/types";
|
|
7
|
+
import type { ThumbDragEvent, ThumbChangeEvent } from "@arcgis/core/widgets/Slider/types.js";
|
|
8
8
|
import type { ColorBreak, HistogramConfig } from "@arcgis/core/widgets/smartMapping/types.js";
|
|
9
9
|
import type { LabelFormatFunction, InputParseFunction } from "@arcgis/core/widgets/types.js";
|
|
10
10
|
import type { SmartMappingSliderBaseState } from "@arcgis/core/widgets/smartMapping/SmartMappingSliderBase.js";
|
|
@@ -14,7 +14,7 @@ import type { SmartMappingSliderBaseState } from "@arcgis/core/widgets/smartMapp
|
|
|
14
14
|
* >
|
|
15
15
|
* > This is a **legacy component**. It relies on an underlying widget as part of our migration to native web components.
|
|
16
16
|
* >
|
|
17
|
-
* > A fully native replacement for this component is in development. Once it reaches feature parity, the legacy component will be deprecated and no longer maintained. At that point,
|
|
17
|
+
* > A fully native replacement for this component is in development. Once it reaches feature parity, the legacy component will be deprecated and no longer maintained. At that point, development should use the native component.
|
|
18
18
|
*
|
|
19
19
|
* The Classed Color Slider component is designed for authoring and exploring data-driven visualizations in any
|
|
20
20
|
* layer that can be rendered with color in a [ClassBreaksRenderer](https://developers.arcgis.com/javascript/latest/references/core/renderers/ClassBreaksRenderer/).
|
|
@@ -25,7 +25,7 @@ import type { SmartMappingSliderBaseState } from "@arcgis/core/widgets/smartMapp
|
|
|
25
25
|
* 
|
|
26
26
|
*
|
|
27
27
|
* The [updateFromRendererResult()](https://developers.arcgis.com/javascript/latest/references/core/widgets/smartMapping/ClassedColorSlider/#fromRendererResult) method can be used to intelligently populate slider properties including
|
|
28
|
-
* [max](
|
|
28
|
+
* [max](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-classed-color-legacy/#max), [min](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-classed-color-legacy/#min), the [classBreakInfos](https://developers.arcgis.com/javascript/latest/references/core/renderers/ClassBreaksRenderer/#classBreakInfos) configuration,
|
|
29
29
|
* and the slider's histogram after the renderer has been created from the result of the
|
|
30
30
|
* [createClassBreaksRenderer()](https://developers.arcgis.com/javascript/latest/references/core/smartMapping/renderers/color/#createClassBreaksRenderer) method.
|
|
31
31
|
*
|
|
@@ -231,7 +231,7 @@ export abstract class ArcgisSliderClassedColorLegacy extends LitElement {
|
|
|
231
231
|
*/
|
|
232
232
|
accessor labelFormatFunction: LabelFormatFunction | null | undefined;
|
|
233
233
|
/**
|
|
234
|
-
* The maximum value or upper bound of the slider. Once the slider has rendered with the [updateFromRendererResult()](
|
|
234
|
+
* The maximum value or upper bound of the slider. Once the slider has rendered with the [updateFromRendererResult()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-classed-color-legacy/#updateFromRendererResult) method,
|
|
235
235
|
* the user may change this property by selecting the label containing the max value on the slider UI. It is the responsibility of the app developer
|
|
236
236
|
* to set up event listeners that update the breaks of the appropriate renderer.
|
|
237
237
|
*
|
|
@@ -242,7 +242,7 @@ export abstract class ArcgisSliderClassedColorLegacy extends LitElement {
|
|
|
242
242
|
*/
|
|
243
243
|
accessor max: number;
|
|
244
244
|
/**
|
|
245
|
-
* The minimum value or lower bound of the slider. Once the slider has rendered with the [updateFromRendererResult()](
|
|
245
|
+
* The minimum value or lower bound of the slider. Once the slider has rendered with the [updateFromRendererResult()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-classed-color-legacy/#updateFromRendererResult) method,
|
|
246
246
|
* the user may change this property by selecting the label containing the min value on the slider UI. It is the responsibility of the app developer
|
|
247
247
|
* to set up event listeners that update the breaks of the appropriate renderer.
|
|
248
248
|
*
|
|
@@ -283,7 +283,7 @@ export abstract class ArcgisSliderClassedColorLegacy extends LitElement {
|
|
|
283
283
|
*
|
|
284
284
|
* The number of breaks from the renderer must match the number of breaks in the slider.
|
|
285
285
|
* Generally, the input breaks for this method should come from the same renderer as one
|
|
286
|
-
* used to create the slider with the [updateFromRendererResult()](
|
|
286
|
+
* used to create the slider with the [updateFromRendererResult()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-classed-color-legacy/#updateFromRendererResult) method.
|
|
287
287
|
*
|
|
288
288
|
* @param breakInfos - The classBreakInfos
|
|
289
289
|
* from a [ClassBreaksRenderer](https://developers.arcgis.com/javascript/latest/references/core/renderers/ClassBreaksRenderer/) instance to update based on
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
import type ClassBreakInfo from "@arcgis/core/renderers/support/ClassBreakInfo";
|
|
2
|
+
import type ClassBreakInfo from "@arcgis/core/renderers/support/ClassBreakInfo.js";
|
|
3
3
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
4
|
-
import type { ClassBreaksRendererResult } from "@arcgis/core/smartMapping/renderers/size";
|
|
5
|
-
import type { HistogramResult } from "@arcgis/core/smartMapping/statistics/types";
|
|
4
|
+
import type { ClassBreaksRendererResult } from "@arcgis/core/smartMapping/renderers/size.js";
|
|
5
|
+
import type { HistogramResult } from "@arcgis/core/smartMapping/statistics/types.js";
|
|
6
6
|
import type { ArcgisReferenceElement, IconName } from "../types.js";
|
|
7
|
-
import type { ThumbDragEvent, ThumbChangeEvent } from "@arcgis/core/widgets/Slider/types";
|
|
7
|
+
import type { ThumbDragEvent, ThumbChangeEvent } from "@arcgis/core/widgets/Slider/types.js";
|
|
8
8
|
import type { SizeBreak, HistogramConfig } from "@arcgis/core/widgets/smartMapping/types.js";
|
|
9
9
|
import type { LabelFormatFunction, InputParseFunction } from "@arcgis/core/widgets/types.js";
|
|
10
10
|
import type { ClassedSizeSliderStyle } from "@arcgis/core/widgets/smartMapping/ClassedSizeSlider.js";
|
|
@@ -15,7 +15,7 @@ import type { SmartMappingSliderBaseState } from "@arcgis/core/widgets/smartMapp
|
|
|
15
15
|
* >
|
|
16
16
|
* > This is a **legacy component**. It relies on an underlying widget as part of our migration to native web components.
|
|
17
17
|
* >
|
|
18
|
-
* > A fully native replacement for this component is in development. Once it reaches feature parity, the legacy component will be deprecated and no longer maintained. At that point,
|
|
18
|
+
* > A fully native replacement for this component is in development. Once it reaches feature parity, the legacy component will be deprecated and no longer maintained. At that point, development should use the native component.
|
|
19
19
|
*
|
|
20
20
|
* The Classed Size Slider component is designed for authoring and exploring data-driven visualizations in any
|
|
21
21
|
* layer that can be rendered with size in a [ClassBreaksRenderer](https://developers.arcgis.com/javascript/latest/references/core/renderers/ClassBreaksRenderer/).
|
|
@@ -24,8 +24,8 @@ import type { SmartMappingSliderBaseState } from "@arcgis/core/widgets/smartMapp
|
|
|
24
24
|
*
|
|
25
25
|
* 
|
|
26
26
|
*
|
|
27
|
-
* The [updateFromRendererResult()](
|
|
28
|
-
* [max](
|
|
27
|
+
* The [updateFromRendererResult()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-classed-size-legacy/#updateFromRendererResult) method can be used to intelligently populate slider properties including
|
|
28
|
+
* [max](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-classed-size-legacy/#max), [min](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-classed-size-legacy/#min), the [classBreakInfos](https://developers.arcgis.com/javascript/latest/references/core/renderers/ClassBreaksRenderer/#classBreakInfos) configuration,
|
|
29
29
|
* and the slider's histogram after the renderer has been created from the result of the [createClassBreaksRenderer](https://developers.arcgis.com/javascript/latest/references/core/smartMapping/renderers/size/#createClassBreaksRenderer)
|
|
30
30
|
* method.
|
|
31
31
|
*
|
|
@@ -224,7 +224,7 @@ export abstract class ArcgisSliderClassedSizeLegacy extends LitElement {
|
|
|
224
224
|
*/
|
|
225
225
|
accessor labelFormatFunction: LabelFormatFunction | null | undefined;
|
|
226
226
|
/**
|
|
227
|
-
* The maximum value or upper bound of the slider. Once the slider has rendered with the [updateFromRendererResult()](
|
|
227
|
+
* The maximum value or upper bound of the slider. Once the slider has rendered with the [updateFromRendererResult()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-classed-size-legacy/#updateFromRendererResult) method,
|
|
228
228
|
* the user may change this property by selecting the label containing the max value on the slider UI. It is the responsibility of the app developer
|
|
229
229
|
* to set up event listeners that update the breaks of the appropriate renderer.
|
|
230
230
|
*
|
|
@@ -235,7 +235,7 @@ export abstract class ArcgisSliderClassedSizeLegacy extends LitElement {
|
|
|
235
235
|
*/
|
|
236
236
|
accessor max: number;
|
|
237
237
|
/**
|
|
238
|
-
* The minimum value or lower bound of the slider. Once the slider has rendered with the [updateFromRendererResult()](
|
|
238
|
+
* The minimum value or lower bound of the slider. Once the slider has rendered with the [updateFromRendererResult()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-classed-size-legacy/#updateFromRendererResult) method,
|
|
239
239
|
* the user may change this property by selecting the label containing the min value on the slider UI. It is the responsibility of the app developer
|
|
240
240
|
* to set up event listeners that update the breaks of the appropriate renderer.
|
|
241
241
|
*
|
|
@@ -290,7 +290,7 @@ export abstract class ArcgisSliderClassedSizeLegacy extends LitElement {
|
|
|
290
290
|
*
|
|
291
291
|
* The number of breaks from the renderer must match the number of breaks in the slider.
|
|
292
292
|
* Generally, the input breaks for this method should come from the same renderer as one
|
|
293
|
-
* used to create the slider with the [updateFromRendererResult()](
|
|
293
|
+
* used to create the slider with the [updateFromRendererResult()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-classed-size-legacy/#updateFromRendererResult) method.
|
|
294
294
|
*
|
|
295
295
|
* @param breakInfos - The classBreakInfos
|
|
296
296
|
* from a [ClassBreaksRenderer](https://developers.arcgis.com/javascript/latest/references/core/renderers/ClassBreaksRenderer/) instance to update based on
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type ColorStop from "@arcgis/core/renderers/visualVariables/support/ColorStop.js";
|
|
3
3
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
4
|
-
import type { ContinuousRendererResult } from "@arcgis/core/smartMapping/renderers/color";
|
|
5
|
-
import type { HistogramResult } from "@arcgis/core/smartMapping/statistics/types";
|
|
4
|
+
import type { ContinuousRendererResult } from "@arcgis/core/smartMapping/renderers/color.js";
|
|
5
|
+
import type { HistogramResult } from "@arcgis/core/smartMapping/statistics/types.js";
|
|
6
6
|
import type { ArcgisReferenceElement, IconName } from "../types.js";
|
|
7
|
-
import type { ThumbDragEvent, ThumbChangeEvent } from "@arcgis/core/widgets/Slider/types";
|
|
7
|
+
import type { ThumbDragEvent, ThumbChangeEvent } from "@arcgis/core/widgets/Slider/types.js";
|
|
8
8
|
import type { HistogramConfig, ZoomOptions } from "@arcgis/core/widgets/smartMapping/types.js";
|
|
9
9
|
import type { LabelFormatFunction, InputParseFunction } from "@arcgis/core/widgets/types.js";
|
|
10
10
|
|
|
@@ -13,7 +13,7 @@ import type { LabelFormatFunction, InputParseFunction } from "@arcgis/core/widge
|
|
|
13
13
|
* >
|
|
14
14
|
* > This is a **legacy component**. It relies on an underlying widget as part of our migration to native web components.
|
|
15
15
|
* >
|
|
16
|
-
* > A fully native replacement for this component is in development. Once it reaches feature parity, the legacy component will be deprecated and no longer maintained. At that point,
|
|
16
|
+
* > A fully native replacement for this component is in development. Once it reaches feature parity, the legacy component will be deprecated and no longer maintained. At that point, development should use the native component.
|
|
17
17
|
*
|
|
18
18
|
* The Color Slider component is intended for authoring and exploring data-driven visualizations in any
|
|
19
19
|
* layer that can be rendered with a [ColorVariable](https://developers.arcgis.com/javascript/latest/references/core/renderers/visualVariables/ColorVariable/).
|
|
@@ -23,8 +23,8 @@ import type { LabelFormatFunction, InputParseFunction } from "@arcgis/core/widge
|
|
|
23
23
|
*
|
|
24
24
|
* 
|
|
25
25
|
*
|
|
26
|
-
* The [updateFromRendererResult()](
|
|
27
|
-
* [max](
|
|
26
|
+
* The [updateFromRendererResult()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-color-legacy/#updateFromRendererResult) method can be used to intelligently populate slider properties including
|
|
27
|
+
* [max](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-color-legacy/#max), [min](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-color-legacy/#min), the [color visual variable](https://developers.arcgis.com/javascript/latest/references/core/renderers/visualVariables/ColorVariable/) configuration,
|
|
28
28
|
* and the slider's histogram after the renderer has been created from the result of the [createContinuousRenderer()](https://developers.arcgis.com/javascript/latest/references/core/smartMapping/renderers/color/#createContinuousRenderer) method.
|
|
29
29
|
*
|
|
30
30
|
* ```js
|
|
@@ -100,7 +100,7 @@ export abstract class ArcgisSliderColorLegacy extends LitElement {
|
|
|
100
100
|
accessor autoDestroyDisabled: boolean;
|
|
101
101
|
/**
|
|
102
102
|
* Only applicable when three thumbs (i.e. handles) are set on the
|
|
103
|
-
* slider (i.e. when [primaryHandleEnabled](
|
|
103
|
+
* slider (i.e. when [primaryHandleEnabled](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-color-legacy/#primaryHandleEnabled) is `true`). This property
|
|
104
104
|
* indicates whether the position of the outside handles are synced with the middle, or primary,
|
|
105
105
|
* handle. When enabled, if the primary handle is moved then the outside handle positions are updated
|
|
106
106
|
* while maintaining a fixed distance from the primary handle.
|
|
@@ -230,7 +230,7 @@ export abstract class ArcgisSliderColorLegacy extends LitElement {
|
|
|
230
230
|
*/
|
|
231
231
|
accessor labelFormatFunction: LabelFormatFunction | null | undefined;
|
|
232
232
|
/**
|
|
233
|
-
* The maximum value or upper bound of the slider. Once the slider has rendered with the [updateFromRendererResult()](
|
|
233
|
+
* The maximum value or upper bound of the slider. Once the slider has rendered with the [updateFromRendererResult()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-color-legacy/#updateFromRendererResult) method,
|
|
234
234
|
* the user may change this property by selecting the label containing the max value on the slider UI. It is the responsibility of the app developer
|
|
235
235
|
* to set up event listeners that update the color variable of the appropriate renderer.
|
|
236
236
|
*
|
|
@@ -241,7 +241,7 @@ export abstract class ArcgisSliderColorLegacy extends LitElement {
|
|
|
241
241
|
*/
|
|
242
242
|
accessor max: number;
|
|
243
243
|
/**
|
|
244
|
-
* The minimum value or lower bound of the slider. Once the slider has rendered with the [updateFromRendererResult()](
|
|
244
|
+
* The minimum value or lower bound of the slider. Once the slider has rendered with the [updateFromRendererResult()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-color-legacy/#updateFromRendererResult) method,
|
|
245
245
|
* the user may change this property by selecting the label containing the min value on the slider UI. It is the responsibility of the app developer
|
|
246
246
|
* to set up event listeners that update the color variable of the appropriate renderer.
|
|
247
247
|
*
|
|
@@ -267,10 +267,10 @@ export abstract class ArcgisSliderColorLegacy extends LitElement {
|
|
|
267
267
|
accessor precision: number;
|
|
268
268
|
/**
|
|
269
269
|
* When `true`, the slider will render a third handle between the two handles already provided by default. This is the primary handle.
|
|
270
|
-
* Three or five [stops](
|
|
270
|
+
* Three or five [stops](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-color-legacy/#stops) must be defined for the primary handle to render.
|
|
271
271
|
* The primary handle represents the middle stop.
|
|
272
272
|
*
|
|
273
|
-
* When [handlesSyncedToPrimary](
|
|
273
|
+
* When [handlesSyncedToPrimary](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-color-legacy/#handlesSyncedToPrimary) is `true`, then this handle will control the position of the others when moved.
|
|
274
274
|
*
|
|
275
275
|
* This is typically used in diverging, or `above-and-below` renderer configurations.
|
|
276
276
|
*
|
|
@@ -305,8 +305,8 @@ export abstract class ArcgisSliderColorLegacy extends LitElement {
|
|
|
305
305
|
*/
|
|
306
306
|
accessor stops: Array<ColorStop>;
|
|
307
307
|
/**
|
|
308
|
-
* Zooms the slider track to the bounds provided in this property. When min and/or max zoom values are provided, the absolute [min](
|
|
309
|
-
* [max](
|
|
308
|
+
* Zooms the slider track to the bounds provided in this property. When min and/or max zoom values are provided, the absolute [min](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-color-legacy/#min) and
|
|
309
|
+
* [max](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-color-legacy/#max) slider values are preserved and rendered at their typical positions on the slider. However, the
|
|
310
310
|
* slider track itself is zoomed so that thumbs cannot be moved above or below the provided min and max zoomed values.
|
|
311
311
|
*
|
|
312
312
|
* When a slider is in a zoomed state, the zoomed ends of the track will appear jagged. In the image below, notice how the
|