@nasa-terra/components 0.0.203 → 0.0.205
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/cdn/apis/harmony.api.d.ts +5 -0
- package/cdn/chunks/GeoTIFF.CENKOG7R.js +19979 -0
- package/cdn/chunks/chunk.2232XEJQ.js +29 -0
- package/cdn/chunks/chunk.2B2TSVNY.js +978 -0
- package/cdn/chunks/chunk.2NNYMNZ5.js +29 -0
- package/cdn/chunks/chunk.2NX4H2BN.js +19 -0
- package/cdn/chunks/chunk.2WBW37NH.js +19 -0
- package/cdn/chunks/chunk.2X7DAD43.js +29 -0
- package/cdn/chunks/chunk.2XT2DXDS.js +528 -0
- package/cdn/chunks/chunk.34A6RU6E.js +29 -0
- package/cdn/chunks/chunk.3A3Y63MA.js +19 -0
- package/cdn/chunks/chunk.3JB5ESJU.js +8969 -0
- package/cdn/chunks/chunk.3TH37PLU.js +1121 -0
- package/cdn/chunks/chunk.3XHPRPKJ.js +1009 -0
- package/cdn/chunks/chunk.4FAAL7CU.js +897 -0
- package/cdn/chunks/chunk.4JTU674G.js +48 -0
- package/cdn/chunks/chunk.4KBZ7BIR.js +29 -0
- package/cdn/chunks/chunk.4PDH3KAH.js +1945 -0
- package/cdn/chunks/chunk.4RS5WH4G.js +19 -0
- package/cdn/chunks/chunk.4W7HENDQ.js +19 -0
- package/cdn/chunks/chunk.5256OMFI.js +62 -0
- package/cdn/chunks/chunk.577EXZQP.js +19 -0
- package/cdn/chunks/chunk.5DIIZV4K.js +791 -0
- package/cdn/chunks/chunk.5DIVPJOJ.js +1653 -0
- package/cdn/chunks/chunk.5F22YVKZ.js +19 -0
- package/cdn/chunks/chunk.5GC6XXMO.js +19 -0
- package/cdn/chunks/chunk.5GD3GQER.js +33 -0
- package/cdn/chunks/chunk.5JGHWKZV.js +38 -0
- package/cdn/chunks/chunk.5MCRMJ7W.js +110 -0
- package/cdn/chunks/chunk.5MFAIDYF.js +19 -0
- package/cdn/chunks/chunk.5QQP4HY5.js +29 -0
- package/cdn/chunks/chunk.5SGSESUV.js +39 -0
- package/cdn/chunks/chunk.5T32ADMR.js +32 -0
- package/cdn/chunks/chunk.5TUINKG3.js +19 -0
- package/cdn/chunks/chunk.5Z5FTYHQ.js +29 -0
- package/cdn/chunks/chunk.64ZLB3XD.js +37 -0
- package/cdn/chunks/chunk.67MZVSO7.js +234 -0
- package/cdn/chunks/chunk.6KW23GBD.js +3035 -0
- package/cdn/chunks/chunk.6NU4LT46.js +189 -0
- package/cdn/chunks/chunk.6ONOP4ID.js +29 -0
- package/cdn/chunks/chunk.6RBN3R3S.js +19 -0
- package/cdn/chunks/chunk.6RVC4QTE.js +19 -0
- package/cdn/chunks/chunk.6VGVAUYK.js +256 -0
- package/cdn/chunks/chunk.6XBVIYCV.js +32 -0
- package/cdn/chunks/chunk.76VAMCFM.js +824 -0
- package/cdn/chunks/chunk.7FTE5V2B.js +19 -0
- package/cdn/chunks/chunk.7OFUJKBW.js +30 -0
- package/cdn/chunks/chunk.7RUFZ7VF.js +475 -0
- package/cdn/chunks/chunk.A4KWAYQH.js +4980 -0
- package/cdn/chunks/chunk.A63JCTKT.js +19 -0
- package/cdn/chunks/chunk.AQ5OKPLZ.js +19 -0
- package/cdn/chunks/chunk.AQ5T22QG.js +41 -0
- package/cdn/chunks/chunk.ASGNUKTS.js +1131 -0
- package/cdn/chunks/chunk.AUWT3HKD.js +940 -0
- package/cdn/chunks/chunk.BD5JLOM4.js +357 -0
- package/cdn/chunks/chunk.BL2T5FVE.js +10 -0
- package/cdn/chunks/chunk.BNIVIVSF.js +2544 -0
- package/cdn/chunks/chunk.BPTXUG3W.js +35 -0
- package/cdn/chunks/chunk.BQPBQZFS.js +360 -0
- package/cdn/chunks/chunk.BYBKLA6W.js +255 -0
- package/cdn/chunks/chunk.CHNYNA6A.js +19 -0
- package/cdn/chunks/chunk.CISSBK6B.js +1820 -0
- package/cdn/chunks/chunk.CN3HAOBC.js +83 -0
- package/cdn/chunks/chunk.CO3P3PQN.js +19 -0
- package/cdn/chunks/chunk.CSF2PMFW.js +1075 -0
- package/cdn/chunks/chunk.CT6JWWV2.js +93 -0
- package/cdn/chunks/chunk.CY2NA7DX.js +1040 -0
- package/cdn/chunks/chunk.D2OCF56Z.js +74 -0
- package/cdn/chunks/chunk.D3WDJ4SS.js +149 -0
- package/cdn/chunks/chunk.D52LQ4J3.js +19 -0
- package/cdn/chunks/chunk.D5OYZFRL.js +134 -0
- package/cdn/chunks/chunk.D6W64PXN.js +19 -0
- package/cdn/chunks/chunk.D7YRDTVS.js +134 -0
- package/cdn/chunks/chunk.DLBLZUXI.js +19 -0
- package/cdn/chunks/chunk.DMAOIRXE.js +19 -0
- package/cdn/chunks/chunk.E2RZP3XA.js +19 -0
- package/cdn/chunks/chunk.E6423VVS.js +47 -0
- package/cdn/chunks/chunk.EAUBUUN5.js +32 -0
- package/cdn/chunks/chunk.EBGQWXBG.js +19 -0
- package/cdn/chunks/chunk.EDPOC2S3.js +29 -0
- package/cdn/chunks/chunk.EH63H56Z.js +333 -0
- package/cdn/chunks/chunk.EIAV6I5D.js +600 -0
- package/cdn/chunks/chunk.EOTDTPZM.js +259 -0
- package/cdn/chunks/chunk.EP6PSBZE.js +100 -0
- package/cdn/chunks/chunk.EVAUERXR.js +431 -0
- package/cdn/chunks/chunk.F2DLSNNG.js +625 -0
- package/cdn/chunks/chunk.F6FVKFVH.js +60 -0
- package/cdn/chunks/chunk.FEIRWXAI.js +34 -0
- package/cdn/chunks/chunk.FK5JYFNX.js +29 -0
- package/cdn/chunks/chunk.FP2ISOJN.js +106 -0
- package/cdn/chunks/chunk.FRGR3SUX.js +19 -0
- package/cdn/chunks/chunk.G2FP3NMR.js +32 -0
- package/cdn/chunks/chunk.G4RHOTZM.js +19 -0
- package/cdn/chunks/chunk.G56LMKFK.js +190 -0
- package/cdn/chunks/chunk.GAYO2WF7.js +810 -0
- package/cdn/chunks/chunk.GGKAPJYB.js +4089 -0
- package/cdn/chunks/chunk.GGRHSJRY.js +278 -0
- package/cdn/chunks/chunk.GMXOAOYE.js +897 -0
- package/cdn/chunks/chunk.GPTTHV22.js +19 -0
- package/cdn/chunks/chunk.GSM3UO7L.js +125 -0
- package/cdn/chunks/chunk.GUDMVVPM.js +29 -0
- package/cdn/chunks/chunk.GWGONIHM.js +621 -0
- package/cdn/chunks/chunk.GXLMJLQN.js +19 -0
- package/cdn/chunks/chunk.H3M3UFJW.js +225 -0
- package/cdn/chunks/chunk.H4CIEYCI.js +274 -0
- package/cdn/chunks/chunk.HAMWPWKH.js +536 -0
- package/cdn/chunks/chunk.HJX5NP2U.js +49 -0
- package/cdn/chunks/chunk.HUS54CD5.js +152 -0
- package/cdn/chunks/chunk.HV7OZEJM.js +37 -0
- package/cdn/chunks/chunk.HVZFV4RK.js +271 -0
- package/cdn/chunks/chunk.I2EO4UEA.js +128 -0
- package/cdn/chunks/chunk.I2S4BY2H.js +19 -0
- package/cdn/chunks/chunk.IBOPN3BA.js +74 -0
- package/cdn/chunks/chunk.IIVOE5EV.js +34 -0
- package/cdn/chunks/chunk.ILWTJYAG.js +19 -0
- package/cdn/chunks/chunk.IMCWFOML.js +132 -0
- package/cdn/chunks/chunk.IPQAZBW5.js +33 -0
- package/cdn/chunks/chunk.IWKAVEX2.js +521 -0
- package/cdn/chunks/chunk.IXCWTH7X.js +19 -0
- package/cdn/chunks/chunk.J2O5J6LC.js +33 -0
- package/cdn/chunks/chunk.J665CST2.js +32 -0
- package/cdn/chunks/chunk.J7VOBHYB.js +29 -0
- package/cdn/chunks/chunk.JRHREVZG.js +195 -0
- package/cdn/chunks/chunk.JRT7GG7P.js +193 -0
- package/cdn/chunks/chunk.JZBAAUKG.js +37 -0
- package/cdn/chunks/chunk.K6JQEUEF.js +855 -0
- package/cdn/chunks/chunk.KBU6MR53.js +19 -0
- package/cdn/chunks/chunk.KH6TDNWG.js +32 -0
- package/cdn/chunks/chunk.KKACL6TT.js +19 -0
- package/cdn/chunks/chunk.KORCC6ZC.js +136 -0
- package/cdn/chunks/chunk.KOZYPVDG.js +29 -0
- package/cdn/chunks/chunk.KRVDOVGU.js +27 -0
- package/cdn/chunks/chunk.KVNYSD7J.js +35 -0
- package/cdn/chunks/chunk.KVY6HP36.js +504 -0
- package/cdn/chunks/chunk.KYTQLAV4.js +33 -0
- package/cdn/chunks/chunk.L2JTE4GG.js +29 -0
- package/cdn/chunks/chunk.L3IVPHBN.js +29 -0
- package/cdn/chunks/chunk.L3RRPSVD.js +310 -0
- package/cdn/chunks/chunk.LA6TV4TX.js +231 -0
- package/cdn/chunks/chunk.LFASDJBV.js +19 -0
- package/cdn/chunks/chunk.LFKTPFJU.js +19 -0
- package/cdn/chunks/chunk.LFL3PUXL.js +78 -0
- package/cdn/chunks/chunk.LI42WZVM.js +19 -0
- package/cdn/chunks/chunk.LNONJFUN.js +19 -0
- package/cdn/chunks/chunk.LUKHK72N.js +1038 -0
- package/cdn/chunks/chunk.M3QGLBMX.js +256 -0
- package/cdn/chunks/chunk.M57M7AQ5.js +19 -0
- package/cdn/chunks/chunk.MC7GK7JH.js +36 -0
- package/cdn/chunks/chunk.MC7JQJRG.js +32 -0
- package/cdn/chunks/chunk.ML5BEAMW.js +276 -0
- package/cdn/chunks/chunk.MMF6FZHE.js +19 -0
- package/cdn/chunks/chunk.MO4YNF4J.js +29 -0
- package/cdn/chunks/chunk.MUSKX3GU.js +138 -0
- package/cdn/chunks/chunk.N7GDICRN.js +568 -0
- package/cdn/chunks/chunk.NDYEK3K4.js +19 -0
- package/cdn/chunks/chunk.NHZJYK2Q.js +111 -0
- package/cdn/chunks/chunk.NRLNKN7I.js +17 -0
- package/cdn/chunks/chunk.NSKILA2A.js +29 -0
- package/cdn/chunks/chunk.NWO2MF5T.js +375 -0
- package/cdn/chunks/chunk.NX7VOYQH.js +610 -0
- package/cdn/chunks/chunk.NZA757GX.js +60 -0
- package/cdn/chunks/chunk.O2NOKPSY.js +169 -0
- package/cdn/chunks/chunk.OIOVBL5M.js +32 -0
- package/cdn/chunks/chunk.OSNWOWQ2.js +2337 -0
- package/cdn/chunks/chunk.OSRGCUJJ.js +891 -0
- package/cdn/chunks/chunk.OVC7EVR4.js +32 -0
- package/cdn/chunks/chunk.PEGHDN3D.js +32 -0
- package/cdn/chunks/chunk.PKU5OUHL.js +19 -0
- package/cdn/chunks/chunk.PVAQWFRB.js +224 -0
- package/cdn/chunks/chunk.PVNZZZCV.js +1307 -0
- package/cdn/chunks/chunk.QBDCDA3E.js +754 -0
- package/cdn/chunks/chunk.QDRW3JBM.js +113 -0
- package/cdn/chunks/chunk.QFRFT4W5.js +19 -0
- package/cdn/chunks/chunk.QJPYGHSA.js +29 -0
- package/cdn/chunks/chunk.QN4G5N5L.js +591 -0
- package/cdn/chunks/chunk.QQYFIC2N.js +19 -0
- package/cdn/chunks/chunk.QR6SCWOR.js +19 -0
- package/cdn/chunks/chunk.QRGGKLJQ.js +29 -0
- package/cdn/chunks/chunk.QSX2ASPV.js +36 -0
- package/cdn/chunks/chunk.QV7MGHUO.js +32 -0
- package/cdn/chunks/chunk.QYLVSRAZ.js +442 -0
- package/cdn/chunks/chunk.R6TDRJ2T.js +28 -0
- package/cdn/chunks/chunk.RRQO6C7V.js +208 -0
- package/cdn/chunks/chunk.RRT5M4B3.js +104 -0
- package/cdn/chunks/chunk.RZNXY5DA.js +85 -0
- package/cdn/chunks/chunk.S2MHJ2BL.js +529 -0
- package/cdn/chunks/chunk.S2P2KBX3.js +19 -0
- package/cdn/chunks/chunk.S5UFNVHZ.js +1768 -0
- package/cdn/chunks/chunk.SAMOMNBR.js +32 -0
- package/cdn/chunks/chunk.SPWHG3FQ.js +36 -0
- package/cdn/chunks/chunk.SRIL2GZR.js +19 -0
- package/cdn/chunks/chunk.T32DCJPK.js +33 -0
- package/cdn/chunks/chunk.T3YLYNOF.js +2977 -0
- package/cdn/chunks/chunk.T7754SP4.js +33 -0
- package/cdn/chunks/chunk.T7KRTL2U.js +19 -0
- package/cdn/chunks/chunk.TAY4BUTR.js +92 -0
- package/cdn/chunks/chunk.TBU3QGJR.js +29 -0
- package/cdn/chunks/chunk.TEEU5HFN.js +284 -0
- package/cdn/chunks/chunk.TFRA4ITH.js +32 -0
- package/cdn/chunks/chunk.TFRHDABM.js +19 -0
- package/cdn/chunks/chunk.THX4K42R.js +19 -0
- package/cdn/chunks/chunk.TKLGXW34.js +19 -0
- package/cdn/chunks/chunk.TMAJCFSJ.js +19 -0
- package/cdn/chunks/chunk.TMPSEY4M.js +876 -0
- package/cdn/chunks/chunk.TULXWHMT.js +19 -0
- package/cdn/chunks/chunk.U42UGPIF.js +34 -0
- package/cdn/chunks/chunk.U7RFQUL4.js +117 -0
- package/cdn/chunks/chunk.UHSY6WVZ.js +19 -0
- package/cdn/chunks/chunk.UI7YLIQD.js +19 -0
- package/cdn/chunks/chunk.UK5FWG26.js +621 -0
- package/cdn/chunks/chunk.UMPFH3IG.js +32 -0
- package/cdn/chunks/chunk.UW4VQ2ZT.js +29 -0
- package/cdn/chunks/chunk.UWQGPSGJ.js +123 -0
- package/cdn/chunks/chunk.UYISI6DV.js +161 -0
- package/cdn/chunks/chunk.VBP6ZZXJ.js +104 -0
- package/cdn/chunks/chunk.VNSMUAG2.js +19 -0
- package/cdn/chunks/chunk.VQFDZZR5.js +64743 -0
- package/cdn/chunks/chunk.VTJ45MEV.js +68 -0
- package/cdn/chunks/chunk.VXTFCFJP.js +29 -0
- package/cdn/chunks/chunk.VYRHCJMA.js +19 -0
- package/cdn/chunks/chunk.W5BKCYRV.js +19 -0
- package/cdn/chunks/chunk.W7NVJUQD.js +42 -0
- package/cdn/chunks/chunk.WAIMZWDO.js +32 -0
- package/cdn/chunks/chunk.WCOQW5IP.js +29 -0
- package/cdn/chunks/chunk.WENZIKZU.js +37 -0
- package/cdn/chunks/chunk.WLIBRD3E.js +36 -0
- package/cdn/chunks/chunk.WMGJ3MAP.js +415 -0
- package/cdn/chunks/chunk.WT45RB6M.js +86 -0
- package/cdn/chunks/chunk.WVIQ74WP.js +29 -0
- package/cdn/chunks/chunk.WVKE7GDV.js +82 -0
- package/cdn/chunks/chunk.X6V5UTEC.js +19 -0
- package/cdn/chunks/chunk.XE7NSCVW.js +35 -0
- package/cdn/chunks/chunk.XEPXVSXX.js +19 -0
- package/cdn/chunks/chunk.XFTU6F75.js +19 -0
- package/cdn/chunks/chunk.XGGJLW76.js +19 -0
- package/cdn/chunks/chunk.XIPDYSFN.js +32 -0
- package/cdn/chunks/chunk.XIY5GTZR.js +19 -0
- package/cdn/chunks/chunk.XLUZ67JF.js +11763 -0
- package/cdn/chunks/chunk.Y7SR4L5C.js +19 -0
- package/cdn/chunks/chunk.YJ7H7EYL.js +71 -0
- package/cdn/chunks/chunk.YKDCWNZE.js +17319 -0
- package/cdn/chunks/chunk.YMH7U2K5.js +29 -0
- package/cdn/chunks/chunk.YU5KVALN.js +29 -0
- package/cdn/chunks/chunk.Z6ZRFFCE.js +35 -0
- package/cdn/chunks/chunk.ZG6QTQKO.js +162 -0
- package/cdn/chunks/chunk.ZL4AGGZE.js +35 -0
- package/cdn/chunks/chunk.ZL6COYU6.js +19 -0
- package/cdn/chunks/chunk.ZNSSJSKK.js +158 -0
- package/cdn/chunks/lerc.IIII5MJ5.js +2099 -0
- package/cdn/components/accordion/accordion.component.js +5 -5
- package/cdn/components/accordion/accordion.js +6 -6
- package/cdn/components/alert/alert.component.js +4 -4
- package/cdn/components/alert/alert.js +5 -5
- package/cdn/components/avatar/avatar.component.js +5 -5
- package/cdn/components/avatar/avatar.js +6 -6
- package/cdn/components/badge/badge.component.js +3 -3
- package/cdn/components/badge/badge.js +4 -4
- package/cdn/components/banner/banner.component.js +3 -3
- package/cdn/components/banner/banner.js +4 -4
- package/cdn/components/breadcrumb/breadcrumb.component.js +2 -2
- package/cdn/components/breadcrumb/breadcrumb.js +3 -3
- package/cdn/components/breadcrumbs/breadcrumbs.component.js +2 -2
- package/cdn/components/breadcrumbs/breadcrumbs.js +3 -3
- package/cdn/components/browse-variables/browse-variables.component.d.ts +1 -1
- package/cdn/components/browse-variables/browse-variables.component.js +21 -21
- package/cdn/components/browse-variables/browse-variables.controller.js +2 -2
- package/cdn/components/browse-variables/browse-variables.js +22 -22
- package/cdn/components/button/button.component.js +6 -6
- package/cdn/components/button/button.js +7 -7
- package/cdn/components/button-group/button-group.component.js +2 -2
- package/cdn/components/button-group/button-group.js +3 -3
- package/cdn/components/caption/caption.component.js +2 -2
- package/cdn/components/caption/caption.js +3 -3
- package/cdn/components/card/card.component.js +2 -2
- package/cdn/components/card/card.js +3 -3
- package/cdn/components/checkbox/checkbox.component.js +5 -5
- package/cdn/components/checkbox/checkbox.js +6 -6
- package/cdn/components/chip/chip.component.js +2 -2
- package/cdn/components/chip/chip.js +3 -3
- package/cdn/components/combobox/combobox.component.js +5 -5
- package/cdn/components/combobox/combobox.js +6 -6
- package/cdn/components/data-access/data-access.component.d.ts +11 -11
- package/cdn/components/data-access/data-access.component.js +69 -56
- package/cdn/components/data-access/data-access.js +70 -57
- package/cdn/components/data-grid/data-grid.component.js +3 -3
- package/cdn/components/data-grid/data-grid.js +4 -4
- package/cdn/components/data-rods/data-rods.component.d.ts +7 -11
- package/cdn/components/data-rods/data-rods.component.js +79 -67
- package/cdn/components/data-rods/data-rods.js +80 -68
- package/cdn/components/data-subsetter/data-subsetter.component.d.ts +8 -5
- package/cdn/components/data-subsetter/data-subsetter.component.js +83 -72
- package/cdn/components/data-subsetter/data-subsetter.js +84 -73
- package/cdn/components/data-subsetter/data-subsetter.styles.js +1 -1
- package/cdn/components/data-subsetter/notebooks/subsetter-notebook.js +1 -1
- package/cdn/components/data-subsetter-history/data-subsetter-history.component.d.ts +4 -7
- package/cdn/components/data-subsetter-history/data-subsetter-history.component.js +84 -73
- package/cdn/components/data-subsetter-history/data-subsetter-history.js +85 -74
- package/cdn/components/date-picker/date-picker.component.d.ts +3 -4
- package/cdn/components/date-picker/date-picker.component.js +14 -14
- package/cdn/components/date-picker/date-picker.js +15 -15
- package/cdn/components/date-range-slider/date-range-slider.component.js +3 -3
- package/cdn/components/date-range-slider/date-range-slider.js +4 -4
- package/cdn/components/dialog/dialog.component.js +8 -8
- package/cdn/components/dialog/dialog.js +9 -9
- package/cdn/components/divider/divider.component.js +2 -2
- package/cdn/components/divider/divider.js +3 -3
- package/cdn/components/dropdown/dropdown.component.js +4 -4
- package/cdn/components/dropdown/dropdown.js +5 -5
- package/cdn/components/earthdata-login/earthdata-login.component.d.ts +3 -1
- package/cdn/components/earthdata-login/earthdata-login.component.js +16 -17
- package/cdn/components/earthdata-login/earthdata-login.js +17 -18
- package/cdn/components/file-upload/file-upload.component.js +2 -2
- package/cdn/components/file-upload/file-upload.js +3 -3
- package/cdn/components/harmony-history/harmony-history.component.d.ts +3 -6
- package/cdn/components/harmony-history/harmony-history.component.js +12 -13
- package/cdn/components/harmony-history/harmony-history.js +13 -14
- package/cdn/components/icon/icon.component.js +3 -3
- package/cdn/components/icon/icon.js +4 -4
- package/cdn/components/input/input.component.js +5 -5
- package/cdn/components/input/input.js +6 -6
- package/cdn/components/loader/loader.component.js +2 -2
- package/cdn/components/loader/loader.js +3 -3
- package/cdn/components/login/login.component.d.ts +3 -1
- package/cdn/components/login/login.component.js +12 -13
- package/cdn/components/login/login.js +13 -14
- package/cdn/components/map/controls/draw-toolbar.control.d.ts +5 -2
- package/cdn/components/map/controls/draw-toolbar.control.js +18 -8
- package/cdn/components/map/controls/layer-picker.control.d.ts +16 -0
- package/cdn/components/map/controls/layer-picker.control.js +13 -0
- package/cdn/components/map/layers/base.layer.d.ts +10 -0
- package/cdn/components/map/layers/base.layer.js +25 -14
- package/cdn/components/map/layers/borders.layer.js +21 -13
- package/cdn/components/map/layers/boundary.d.ts +30 -0
- package/cdn/components/map/layers/boundary.js +20 -0
- package/cdn/components/map/layers/common.d.ts +2 -0
- package/cdn/components/map/layers/geotiff.layer.js +12 -7
- package/cdn/components/map/layers/gibs-vector.layer.js +26 -18
- package/cdn/components/map/layers/gibs.layer.d.ts +6 -0
- package/cdn/components/map/layers/gibs.layer.js +26 -18
- package/cdn/components/map/layers/labels.layer.js +21 -13
- package/cdn/components/map/layers/layer.js +28 -20
- package/cdn/components/map/layers/xyz.layer.js +17 -12
- package/cdn/components/map/map.component.d.ts +73 -21
- package/cdn/components/map/map.component.js +43 -29
- package/cdn/components/map/map.js +44 -30
- package/cdn/components/map/map.service.d.ts +92 -9
- package/cdn/components/map/map.service.js +33 -19
- package/cdn/components/map/map.styles.js +1 -1
- package/cdn/components/map/projections.js +4 -3
- package/cdn/components/map/type.d.ts +7 -0
- package/cdn/components/menu/menu.component.js +2 -2
- package/cdn/components/menu/menu.js +3 -3
- package/cdn/components/menu-item/menu-item.component.js +7 -7
- package/cdn/components/menu-item/menu-item.js +8 -8
- package/cdn/components/option/option.component.js +4 -4
- package/cdn/components/option/option.js +5 -5
- package/cdn/components/pagination/pagination.component.js +4 -4
- package/cdn/components/pagination/pagination.js +5 -5
- package/cdn/components/plot/plot.component.js +2 -2
- package/cdn/components/plot/plot.js +3 -3
- package/cdn/components/plot-toolbar/notebooks/time-averaged-map-notebook.js +1 -1
- package/cdn/components/plot-toolbar/notebooks/time-series-notebook.js +1 -1
- package/cdn/components/plot-toolbar/plot-toolbar.component.d.ts +4 -4
- package/cdn/components/plot-toolbar/plot-toolbar.component.js +54 -42
- package/cdn/components/plot-toolbar/plot-toolbar.js +55 -43
- package/cdn/components/popup/popup.component.js +2 -2
- package/cdn/components/popup/popup.js +3 -3
- package/cdn/components/progress-bar/progress-bar.component.js +2 -2
- package/cdn/components/progress-bar/progress-bar.js +3 -3
- package/cdn/components/radio/radio.component.js +3 -3
- package/cdn/components/radio/radio.js +4 -4
- package/cdn/components/radio-group/radio-group.component.js +3 -3
- package/cdn/components/radio-group/radio-group.js +4 -4
- package/cdn/components/scroll-hint/scroll-hint.component.js +4 -4
- package/cdn/components/scroll-hint/scroll-hint.js +5 -5
- package/cdn/components/select/select.component.js +8 -8
- package/cdn/components/select/select.js +9 -9
- package/cdn/components/site-header/site-header.component.js +5 -5
- package/cdn/components/site-header/site-header.js +5 -5
- package/cdn/components/site-navigation/site-navigation.component.js +2 -2
- package/cdn/components/site-navigation/site-navigation.js +2 -2
- package/cdn/components/skeleton/skeleton.component.js +2 -2
- package/cdn/components/skeleton/skeleton.js +3 -3
- package/cdn/components/slider/slider.component.js +2 -2
- package/cdn/components/slider/slider.js +3 -3
- package/cdn/components/spatial-picker/spatial-picker.component.d.ts +0 -10
- package/cdn/components/spatial-picker/spatial-picker.component.js +53 -39
- package/cdn/components/spatial-picker/spatial-picker.js +54 -40
- package/cdn/components/status-indicator/status-indicator.component.js +2 -2
- package/cdn/components/status-indicator/status-indicator.js +3 -3
- package/cdn/components/stepper/stepper.component.js +2 -2
- package/cdn/components/stepper/stepper.js +3 -3
- package/cdn/components/stepper-step/stepper-step.component.js +4 -4
- package/cdn/components/stepper-step/stepper-step.js +5 -5
- package/cdn/components/tab/tab.component.js +4 -4
- package/cdn/components/tab/tab.js +5 -5
- package/cdn/components/tab-panel/tab-panel.component.js +3 -3
- package/cdn/components/tab-panel/tab-panel.js +4 -4
- package/cdn/components/tabs/tabs.component.d.ts +2 -1
- package/cdn/components/tabs/tabs.component.js +4 -4
- package/cdn/components/tabs/tabs.js +5 -5
- package/cdn/components/tag/tag.component.js +4 -4
- package/cdn/components/tag/tag.js +5 -5
- package/cdn/components/textarea/textarea.component.js +4 -4
- package/cdn/components/textarea/textarea.js +5 -5
- package/cdn/components/time-average-map/time-average-map.component.d.ts +10 -14
- package/cdn/components/time-average-map/time-average-map.component.js +66 -54
- package/cdn/components/time-average-map/time-average-map.controller.js +7 -7
- package/cdn/components/time-average-map/time-average-map.js +67 -55
- package/cdn/components/time-series/time-series.component.d.ts +2 -10
- package/cdn/components/time-series/time-series.component.js +66 -54
- package/cdn/components/time-series/time-series.controller.js +7 -7
- package/cdn/components/time-series/time-series.js +67 -55
- package/cdn/components/toast/toast.component.js +5 -5
- package/cdn/components/toast/toast.js +6 -6
- package/cdn/components/toggle/toggle.component.js +4 -4
- package/cdn/components/toggle/toggle.js +5 -5
- package/cdn/components/tooltip/tooltip.component.js +4 -4
- package/cdn/components/tooltip/tooltip.js +5 -5
- package/cdn/components/variable-combobox/variable-combobox.component.d.ts +5 -9
- package/cdn/components/variable-combobox/variable-combobox.component.js +14 -12
- package/cdn/components/variable-combobox/variable-combobox.js +15 -13
- package/cdn/components/variable-keyword-search/variable-keyword-search.component.d.ts +2 -2
- package/cdn/components/variable-keyword-search/variable-keyword-search.component.js +10 -10
- package/cdn/components/variable-keyword-search/variable-keyword-search.js +11 -11
- package/cdn/custom-elements.json +10670 -8582
- package/cdn/events/events.d.ts +2 -2
- package/cdn/events/terra-map.d.ts +55 -0
- package/cdn/mixins/auth.mixin.d.ts +23 -0
- package/cdn/mixins/mixin.types.d.ts +1 -0
- package/cdn/mixins/query-client.mixin.d.ts +1 -1
- package/cdn/react/accordion/index.js +6 -6
- package/cdn/react/alert/index.js +5 -5
- package/cdn/react/avatar/index.js +6 -6
- package/cdn/react/badge/index.js +4 -4
- package/cdn/react/banner/index.js +4 -4
- package/cdn/react/breadcrumb/index.js +3 -3
- package/cdn/react/breadcrumbs/index.js +3 -3
- package/cdn/react/browse-variables/index.js +22 -22
- package/cdn/react/button/index.js +7 -7
- package/cdn/react/button-group/index.js +3 -3
- package/cdn/react/caption/index.js +3 -3
- package/cdn/react/card/index.js +3 -3
- package/cdn/react/checkbox/index.js +6 -6
- package/cdn/react/chip/index.js +3 -3
- package/cdn/react/combobox/index.js +6 -6
- package/cdn/react/data-access/index.js +70 -57
- package/cdn/react/data-grid/index.js +4 -4
- package/cdn/react/data-rods/index.d.ts +6 -1
- package/cdn/react/data-rods/index.js +80 -68
- package/cdn/react/data-subsetter/index.d.ts +3 -0
- package/cdn/react/data-subsetter/index.js +84 -73
- package/cdn/react/data-subsetter-history/index.d.ts +6 -1
- package/cdn/react/data-subsetter-history/index.js +85 -74
- package/cdn/react/date-picker/index.js +15 -15
- package/cdn/react/date-range-slider/index.js +4 -4
- package/cdn/react/dialog/index.js +9 -9
- package/cdn/react/divider/index.js +3 -3
- package/cdn/react/dropdown/index.js +5 -5
- package/cdn/react/earthdata-login/index.js +17 -18
- package/cdn/react/file-upload/index.js +3 -3
- package/cdn/react/harmony-history/index.d.ts +3 -0
- package/cdn/react/harmony-history/index.js +13 -14
- package/cdn/react/icon/index.js +4 -4
- package/cdn/react/index.d.ts +24 -24
- package/cdn/react/index.js +277 -265
- package/cdn/react/input/index.js +6 -6
- package/cdn/react/loader/index.js +3 -3
- package/cdn/react/login/index.js +13 -14
- package/cdn/react/map/index.d.ts +32 -1
- package/cdn/react/map/index.js +44 -30
- package/cdn/react/menu/index.js +3 -3
- package/cdn/react/menu-item/index.js +8 -8
- package/cdn/react/option/index.js +5 -5
- package/cdn/react/pagination/index.js +5 -5
- package/cdn/react/plot/index.js +3 -3
- package/cdn/react/plot-toolbar/index.d.ts +6 -1
- package/cdn/react/plot-toolbar/index.js +55 -43
- package/cdn/react/popup/index.js +3 -3
- package/cdn/react/progress-bar/index.js +3 -3
- package/cdn/react/radio/index.js +4 -4
- package/cdn/react/radio-group/index.js +4 -4
- package/cdn/react/scroll-hint/index.js +5 -5
- package/cdn/react/select/index.js +9 -9
- package/cdn/react/site-header/index.js +6 -6
- package/cdn/react/site-navigation/index.js +3 -3
- package/cdn/react/skeleton/index.js +3 -3
- package/cdn/react/slider/index.js +3 -3
- package/cdn/react/spatial-picker/index.js +54 -40
- package/cdn/react/status-indicator/index.js +3 -3
- package/cdn/react/stepper/index.js +3 -3
- package/cdn/react/stepper-step/index.js +5 -5
- package/cdn/react/tab/index.js +5 -5
- package/cdn/react/tab-panel/index.js +4 -4
- package/cdn/react/tabs/index.js +5 -5
- package/cdn/react/tag/index.js +5 -5
- package/cdn/react/textarea/index.js +5 -5
- package/cdn/react/time-average-map/index.d.ts +6 -1
- package/cdn/react/time-average-map/index.js +67 -55
- package/cdn/react/time-series/index.d.ts +3 -0
- package/cdn/react/time-series/index.js +67 -55
- package/cdn/react/toast/index.js +6 -6
- package/cdn/react/toggle/index.js +5 -5
- package/cdn/react/tooltip/index.js +5 -5
- package/cdn/react/variable-combobox/index.d.ts +4 -1
- package/cdn/react/variable-combobox/index.js +15 -13
- package/cdn/react/variable-keyword-search/index.d.ts +1 -1
- package/cdn/react/variable-keyword-search/index.js +11 -11
- package/cdn/terra-ui-components.js +278 -266
- package/cdn/types/vue/index.d.ts +1037 -870
- package/cdn/utilities/date.d.ts +4 -0
- package/cdn/utilities/date.js +3 -1
- package/cdn/utilities/variable-task.js +2 -2
- package/cdn/vscode.html-custom-data.json +692 -661
- package/cdn/web-types.json +2243 -2077
- package/dist/apis/harmony.api.d.ts +5 -0
- package/dist/chunks/chunk.25A7KRDN.js +19 -0
- package/dist/chunks/chunk.2C5HNR5L.js +4 -0
- package/dist/chunks/chunk.2O3IOB3J.js +1 -0
- package/dist/chunks/chunk.33OXTI3O.js +22 -0
- package/dist/chunks/chunk.345LFJWT.js +1 -0
- package/dist/chunks/chunk.3D65L7Z7.js +1 -0
- package/dist/chunks/chunk.3GAETZS7.js +12 -0
- package/dist/chunks/chunk.3IH7Q4YU.js +1 -0
- package/dist/chunks/chunk.424PTQE6.js +1 -0
- package/dist/chunks/chunk.43YXC3BX.js +1 -0
- package/dist/chunks/chunk.45H2PNH4.js +1 -0
- package/dist/chunks/chunk.47YM7IJH.js +1 -0
- package/dist/chunks/chunk.4A2YMU2A.js +1 -0
- package/dist/chunks/chunk.4BU5K6UJ.js +1 -0
- package/dist/chunks/chunk.4HQHKAPL.js +1 -0
- package/dist/chunks/chunk.4POG3VJI.js +148 -0
- package/dist/chunks/chunk.4QRZ7ROR.js +299 -0
- package/dist/chunks/chunk.4WJQSWQN.js +1 -0
- package/dist/chunks/chunk.52VRTKYJ.js +1 -0
- package/dist/chunks/chunk.55FJVUS6.js +43 -0
- package/dist/chunks/chunk.55S45QN4.js +1 -0
- package/dist/chunks/chunk.574Z2YXE.js +1 -0
- package/dist/chunks/chunk.5EE4HG2I.js +1 -0
- package/dist/chunks/chunk.5SZGFRLL.js +1 -0
- package/dist/chunks/chunk.5TJN4Z3R.js +1 -0
- package/dist/chunks/chunk.5TYJPHW2.js +1 -0
- package/dist/chunks/chunk.5UYKLBWJ.js +8 -0
- package/dist/chunks/chunk.5VNCJX27.js +55 -0
- package/dist/chunks/chunk.64725NP3.js +1 -0
- package/dist/chunks/chunk.6HO3MVIP.js +1 -0
- package/dist/chunks/chunk.6I57S7FR.js +27 -0
- package/dist/chunks/chunk.6XHCRR5R.js +9 -0
- package/dist/chunks/chunk.73HKAO6V.js +11 -0
- package/dist/chunks/chunk.7COB35MT.js +75 -0
- package/dist/chunks/chunk.7NCUNKBE.js +1 -0
- package/dist/chunks/chunk.7NXWYAIR.js +1 -0
- package/dist/chunks/chunk.7SLU543S.js +1 -0
- package/dist/chunks/chunk.7XQG4HG3.js +1 -0
- package/dist/chunks/chunk.A2ZTVI45.js +154 -0
- package/dist/chunks/chunk.AAUFO4KA.js +1 -0
- package/dist/chunks/chunk.AFNS7NIK.js +1 -0
- package/dist/chunks/chunk.AHL4S3IT.js +1 -0
- package/dist/chunks/chunk.AHS4Q35I.js +1 -0
- package/dist/chunks/chunk.AIWYS7YQ.js +1 -0
- package/dist/chunks/chunk.ALIRA2AC.js +1 -0
- package/dist/chunks/chunk.ATILEODB.js +18 -0
- package/dist/chunks/chunk.B3X6VXDL.js +1 -0
- package/dist/chunks/chunk.B4BXOMMQ.js +1 -0
- package/dist/chunks/chunk.BCGQKSR6.js +1 -0
- package/dist/chunks/chunk.BOZFOR5U.js +1 -0
- package/dist/chunks/chunk.BQB6XWSY.js +1 -0
- package/dist/chunks/chunk.BW5OZ5PS.js +1 -0
- package/dist/chunks/chunk.BXPTMVQE.js +1 -0
- package/dist/chunks/chunk.C6OX4NX6.js +74 -0
- package/dist/chunks/chunk.C7VEVA2Y.js +20 -0
- package/dist/chunks/chunk.CEOBCS56.js +1 -0
- package/dist/chunks/chunk.CGTXCYPM.js +41 -0
- package/dist/chunks/chunk.CH2PWIJD.js +5 -0
- package/dist/chunks/chunk.CLY6HMJZ.js +121 -0
- package/dist/chunks/chunk.CNGZOMLD.js +1 -0
- package/dist/chunks/chunk.CPFON5LM.js +1 -0
- package/dist/chunks/chunk.CQUQVS3M.js +1 -0
- package/dist/chunks/chunk.CRHOUQZH.js +1023 -0
- package/dist/chunks/chunk.CVKACFML.js +1 -0
- package/dist/chunks/chunk.D3JQRTEL.js +1 -0
- package/dist/chunks/chunk.DH5QWPH3.js +126 -0
- package/dist/chunks/chunk.DJ5BXB5G.js +48 -0
- package/dist/chunks/chunk.DKBGIHHD.js +1 -0
- package/dist/chunks/chunk.DOT4H7LX.js +2 -0
- package/dist/chunks/chunk.DTKNWAYL.js +62 -0
- package/dist/chunks/chunk.DWQMS6BC.js +1 -0
- package/dist/chunks/chunk.E477TJOR.js +1 -0
- package/dist/chunks/chunk.E4ELJE6I.js +35 -0
- package/dist/chunks/chunk.EB3ZPXT6.js +1 -0
- package/dist/chunks/chunk.EP2O3QZD.js +1 -0
- package/dist/chunks/chunk.EP5CSYKQ.js +1 -0
- package/dist/chunks/chunk.EQV2PFSY.js +1 -0
- package/dist/chunks/chunk.ER2IYY3T.js +1 -0
- package/dist/chunks/chunk.EV5P56DN.js +1 -0
- package/dist/chunks/chunk.F3NCEQ7X.js +1 -0
- package/dist/chunks/chunk.FSZCT7LX.js +26 -0
- package/dist/chunks/chunk.G3ZRWDDX.js +1 -0
- package/dist/chunks/chunk.G57LF47A.js +1 -0
- package/dist/chunks/chunk.GABTYKJH.js +1 -0
- package/dist/chunks/chunk.GHAZYRJA.js +1 -0
- package/dist/chunks/chunk.GP5SO7WB.js +43 -0
- package/dist/chunks/chunk.GQKEZMI5.js +64 -0
- package/dist/chunks/chunk.GUCJK7CQ.js +1 -0
- package/dist/chunks/chunk.GVVBO4QC.js +30 -0
- package/dist/chunks/chunk.H57KVCKB.js +4 -0
- package/dist/chunks/chunk.HCPPIK6X.js +1 -0
- package/dist/chunks/chunk.HDBWSDNO.js +1 -0
- package/dist/chunks/chunk.HDQVEOLO.js +1 -0
- package/dist/chunks/chunk.HKOYW5P7.js +1 -0
- package/dist/chunks/chunk.HPJUOBS5.js +1 -0
- package/dist/chunks/chunk.HTEGCYSS.js +2 -0
- package/dist/chunks/chunk.I2766Z6G.js +1 -0
- package/dist/chunks/chunk.I6OSLDVJ.js +1 -0
- package/dist/chunks/chunk.I6WZHDJR.js +1 -0
- package/dist/chunks/chunk.ID6GATFM.js +1 -0
- package/dist/chunks/chunk.IDQKGC62.js +1 -0
- package/dist/chunks/chunk.IRLLX53J.js +47 -0
- package/dist/chunks/chunk.IS2NEHYI.js +1 -0
- package/dist/chunks/chunk.IS4IX5PC.js +1 -0
- package/dist/chunks/chunk.J6W2UPV5.js +1 -0
- package/dist/chunks/chunk.JBNOA3A2.js +1 -0
- package/dist/chunks/chunk.JDM4WI4S.js +20 -0
- package/dist/chunks/chunk.JIF57YBB.js +1 -0
- package/dist/chunks/chunk.JM33IYJC.js +1 -0
- package/dist/chunks/chunk.JMLZNWOP.js +14 -0
- package/dist/chunks/chunk.JRCA2SKL.js +145 -0
- package/dist/chunks/chunk.JVSJPJIU.js +5 -0
- package/dist/chunks/chunk.JZKLCWMN.js +1 -0
- package/dist/chunks/chunk.JZLGMRZU.js +157 -0
- package/dist/chunks/chunk.K5BRJBGT.js +1 -0
- package/dist/chunks/chunk.KACJAQNX.js +6 -0
- package/dist/chunks/chunk.KEJYVX6V.js +55 -0
- package/dist/chunks/chunk.KF3WZUJB.js +1 -0
- package/dist/chunks/chunk.KGWY64U3.js +1 -0
- package/dist/chunks/chunk.KHUTJ2EC.js +1 -0
- package/dist/chunks/chunk.KOQ6WD4F.js +1 -0
- package/dist/chunks/chunk.KPNLEIXC.js +99 -0
- package/dist/chunks/chunk.KZAPYGJP.js +1 -0
- package/dist/chunks/chunk.L5QDGGS7.js +1 -0
- package/dist/chunks/chunk.LCYI63EA.js +20 -0
- package/dist/chunks/chunk.LEZEAL23.js +1 -0
- package/dist/chunks/chunk.LM6MTY2M.js +37 -0
- package/dist/chunks/chunk.LOLJACKL.js +1 -0
- package/dist/chunks/chunk.LQU34HVZ.js +1 -0
- package/dist/chunks/chunk.LVAET76P.js +1 -0
- package/dist/chunks/chunk.LXFMQAKV.js +1 -0
- package/dist/chunks/chunk.LYEGL5BZ.js +1 -0
- package/dist/chunks/chunk.LZZE65EN.js +1 -0
- package/dist/chunks/chunk.MCJ2GX4A.js +30 -0
- package/dist/chunks/chunk.MDKK4AJV.js +17 -0
- package/dist/chunks/chunk.MF67H5JA.js +1 -0
- package/dist/chunks/chunk.MGU32BIU.js +59 -0
- package/dist/chunks/chunk.MK3X5JIU.js +65 -0
- package/dist/chunks/chunk.MLR4ZKRU.js +1 -0
- package/dist/chunks/chunk.MQIO6BEA.js +1 -0
- package/dist/chunks/chunk.MU4BRZ5R.js +1 -0
- package/dist/chunks/chunk.MWPFFGL3.js +1 -0
- package/dist/chunks/chunk.MXMEA7TP.js +1 -0
- package/dist/chunks/chunk.N3V2FL7Q.js +1 -0
- package/dist/chunks/chunk.NARLVFIQ.js +33 -0
- package/dist/chunks/chunk.NK753QCZ.js +1 -0
- package/dist/chunks/chunk.NOXPOPPM.js +1 -0
- package/dist/chunks/chunk.NTZXYW2X.js +1 -0
- package/dist/chunks/chunk.NV3ZCWPP.js +1 -0
- package/dist/chunks/chunk.O2UN3QQG.js +1 -0
- package/dist/chunks/chunk.O47BMDEV.js +1 -0
- package/dist/chunks/chunk.OJM5RA3G.js +1 -0
- package/dist/chunks/chunk.OM4YQXHL.js +1 -0
- package/dist/chunks/chunk.OVTNI4H2.js +1 -0
- package/dist/chunks/chunk.OWXS5GVL.js +1 -0
- package/dist/chunks/chunk.OZSD4QYB.js +1 -0
- package/dist/chunks/chunk.PIKCG752.js +1 -0
- package/dist/chunks/chunk.PLSGWBX4.js +42 -0
- package/dist/chunks/chunk.PP6KREF2.js +5 -0
- package/dist/chunks/chunk.PQVZB2P2.js +67 -0
- package/dist/chunks/chunk.PRUHQ3VS.js +1 -0
- package/dist/chunks/chunk.PWFX3VPM.js +1 -0
- package/dist/chunks/chunk.PXVAQ2MA.js +55 -0
- package/dist/chunks/chunk.Q6O6LV3R.js +1 -0
- package/dist/chunks/chunk.QB7E6R2H.js +1 -0
- package/dist/chunks/chunk.QJRLPQ4M.js +1 -0
- package/dist/chunks/chunk.QOQWXEK5.js +1 -0
- package/dist/chunks/chunk.QVDEJXKO.js +1 -0
- package/dist/chunks/chunk.RKMR7V7J.js +1 -0
- package/dist/chunks/chunk.RLTSECXU.js +1 -0
- package/dist/chunks/chunk.RQYBMFWH.js +25 -0
- package/dist/chunks/chunk.S6IY5EKN.js +1 -0
- package/dist/chunks/chunk.SD2Q7EO2.js +23 -0
- package/dist/chunks/chunk.SEBIDNZM.js +1 -0
- package/dist/chunks/chunk.SF2OZFKQ.js +26 -0
- package/dist/chunks/chunk.SFK6BRQV.js +16 -0
- package/dist/chunks/chunk.SJTIVT6P.js +1 -0
- package/dist/chunks/chunk.SKK3NN5J.js +129 -0
- package/dist/chunks/chunk.SXGO5MEK.js +100 -0
- package/dist/chunks/chunk.TANXPJFE.js +1 -0
- package/dist/chunks/chunk.TATIBHUA.js +1 -0
- package/dist/chunks/chunk.TOON2INB.js +39 -0
- package/dist/chunks/chunk.TPUQNE3A.js +1 -0
- package/dist/chunks/chunk.TUGWQPTL.js +1 -0
- package/dist/chunks/chunk.TVERDMGY.js +113 -0
- package/dist/chunks/chunk.TWRNH5K5.js +1 -0
- package/dist/chunks/chunk.UQ6BNK6J.js +1 -0
- package/dist/chunks/chunk.UR7PHRDS.js +345 -0
- package/dist/chunks/chunk.V4XJH6YL.js +80 -0
- package/dist/chunks/chunk.VEPO6QAD.js +1 -0
- package/dist/chunks/chunk.VGN6LMHA.js +1 -0
- package/dist/chunks/chunk.VGQNQREB.js +1 -0
- package/dist/chunks/chunk.VSYDUDNW.js +1286 -0
- package/dist/chunks/chunk.W2E2TLSM.js +176 -0
- package/dist/chunks/chunk.WQ6USVYL.js +1 -0
- package/dist/chunks/chunk.WSBH5HTI.js +1 -0
- package/dist/chunks/chunk.WVBRHYTU.js +1 -0
- package/dist/chunks/chunk.X66E247Y.js +1 -0
- package/dist/chunks/chunk.XAPKFJEL.js +1 -0
- package/dist/chunks/chunk.XCYCEX7B.js +1 -0
- package/dist/chunks/chunk.XYOSJOLJ.js +1 -0
- package/dist/chunks/chunk.XZJS7S7T.js +280 -0
- package/dist/chunks/chunk.Y6ESPBDJ.js +1 -0
- package/dist/chunks/chunk.Y6HSCFK2.js +1 -0
- package/dist/chunks/chunk.YA7JZZG4.js +1 -0
- package/dist/chunks/chunk.YBALUVPL.js +1 -0
- package/dist/chunks/chunk.YFCEZZRF.js +1 -0
- package/dist/chunks/chunk.YLGPGQY4.js +566 -0
- package/dist/chunks/chunk.YLNZLECF.js +9 -0
- package/dist/chunks/chunk.YMDGNLGV.js +1 -0
- package/dist/chunks/chunk.YNN3NBWK.js +1 -0
- package/dist/chunks/chunk.YO67MSZK.js +780 -0
- package/dist/chunks/chunk.YY3G7NCY.js +35 -0
- package/dist/chunks/chunk.YZJEAHZH.js +1 -0
- package/dist/chunks/chunk.YZXEYQ6F.js +1 -0
- package/dist/chunks/chunk.ZBHNSZBH.js +24 -0
- package/dist/chunks/chunk.ZCPIP5RL.js +774 -0
- package/dist/chunks/chunk.ZFCVEZXM.js +11 -0
- package/dist/components/accordion/accordion.component.js +1 -1
- package/dist/components/accordion/accordion.js +1 -1
- package/dist/components/alert/alert.component.js +1 -1
- package/dist/components/alert/alert.js +1 -1
- package/dist/components/avatar/avatar.component.js +1 -1
- package/dist/components/avatar/avatar.js +1 -1
- package/dist/components/badge/badge.component.js +1 -1
- package/dist/components/badge/badge.js +1 -1
- package/dist/components/banner/banner.component.js +1 -1
- package/dist/components/banner/banner.js +1 -1
- package/dist/components/breadcrumb/breadcrumb.component.js +1 -1
- package/dist/components/breadcrumb/breadcrumb.js +1 -1
- package/dist/components/breadcrumbs/breadcrumbs.component.js +1 -1
- package/dist/components/breadcrumbs/breadcrumbs.js +1 -1
- package/dist/components/browse-variables/browse-variables.component.d.ts +1 -1
- package/dist/components/browse-variables/browse-variables.component.js +1 -1
- package/dist/components/browse-variables/browse-variables.controller.js +1 -1
- package/dist/components/browse-variables/browse-variables.js +1 -1
- package/dist/components/button/button.component.js +1 -1
- package/dist/components/button/button.js +1 -1
- package/dist/components/button-group/button-group.component.js +1 -1
- package/dist/components/button-group/button-group.js +1 -1
- package/dist/components/caption/caption.component.js +1 -1
- package/dist/components/caption/caption.js +1 -1
- package/dist/components/card/card.component.js +1 -1
- package/dist/components/card/card.js +1 -1
- package/dist/components/checkbox/checkbox.component.js +1 -1
- package/dist/components/checkbox/checkbox.js +1 -1
- package/dist/components/chip/chip.component.js +1 -1
- package/dist/components/chip/chip.js +1 -1
- package/dist/components/combobox/combobox.component.js +1 -1
- package/dist/components/combobox/combobox.js +1 -1
- package/dist/components/data-access/data-access.component.d.ts +11 -11
- package/dist/components/data-access/data-access.component.js +1 -1
- package/dist/components/data-access/data-access.js +1 -1
- package/dist/components/data-grid/data-grid.component.js +1 -1
- package/dist/components/data-grid/data-grid.js +1 -1
- package/dist/components/data-rods/data-rods.component.d.ts +7 -11
- package/dist/components/data-rods/data-rods.component.js +1 -1
- package/dist/components/data-rods/data-rods.js +1 -1
- package/dist/components/data-subsetter/data-subsetter.component.d.ts +8 -5
- package/dist/components/data-subsetter/data-subsetter.component.js +1 -1
- package/dist/components/data-subsetter/data-subsetter.js +1 -1
- package/dist/components/data-subsetter/data-subsetter.styles.js +1 -1
- package/dist/components/data-subsetter/notebooks/subsetter-notebook.js +1 -1
- package/dist/components/data-subsetter-history/data-subsetter-history.component.d.ts +4 -7
- package/dist/components/data-subsetter-history/data-subsetter-history.component.js +1 -1
- package/dist/components/data-subsetter-history/data-subsetter-history.js +1 -1
- package/dist/components/date-picker/date-picker.component.d.ts +3 -4
- package/dist/components/date-picker/date-picker.component.js +1 -1
- package/dist/components/date-picker/date-picker.js +1 -1
- package/dist/components/date-range-slider/date-range-slider.component.js +1 -1
- package/dist/components/date-range-slider/date-range-slider.js +1 -1
- package/dist/components/dialog/dialog.component.js +1 -1
- package/dist/components/dialog/dialog.js +1 -1
- package/dist/components/divider/divider.component.js +1 -1
- package/dist/components/divider/divider.js +1 -1
- package/dist/components/dropdown/dropdown.component.js +1 -1
- package/dist/components/dropdown/dropdown.js +1 -1
- package/dist/components/earthdata-login/earthdata-login.component.d.ts +3 -1
- package/dist/components/earthdata-login/earthdata-login.component.js +1 -1
- package/dist/components/earthdata-login/earthdata-login.js +1 -1
- package/dist/components/file-upload/file-upload.component.js +1 -1
- package/dist/components/file-upload/file-upload.js +1 -1
- package/dist/components/harmony-history/harmony-history.component.d.ts +3 -6
- package/dist/components/harmony-history/harmony-history.component.js +1 -1
- package/dist/components/harmony-history/harmony-history.js +1 -1
- package/dist/components/icon/icon.component.js +1 -1
- package/dist/components/icon/icon.js +1 -1
- package/dist/components/input/input.component.js +1 -1
- package/dist/components/input/input.js +1 -1
- package/dist/components/loader/loader.component.js +1 -1
- package/dist/components/loader/loader.js +1 -1
- package/dist/components/login/login.component.d.ts +3 -1
- package/dist/components/login/login.component.js +1 -1
- package/dist/components/login/login.js +1 -1
- package/dist/components/map/controls/draw-toolbar.control.d.ts +5 -2
- package/dist/components/map/controls/draw-toolbar.control.js +1 -1
- package/dist/components/map/controls/layer-picker.control.d.ts +16 -0
- package/dist/components/map/controls/layer-picker.control.js +1 -0
- package/dist/components/map/layers/base.layer.d.ts +10 -0
- package/dist/components/map/layers/base.layer.js +1 -1
- package/dist/components/map/layers/boundary.d.ts +30 -0
- package/dist/components/map/layers/boundary.js +1 -0
- package/dist/components/map/layers/common.d.ts +2 -0
- package/dist/components/map/layers/gibs-vector.layer.js +1 -1
- package/dist/components/map/layers/gibs.layer.d.ts +6 -0
- package/dist/components/map/layers/gibs.layer.js +1 -1
- package/dist/components/map/layers/layer.js +1 -1
- package/dist/components/map/map.component.d.ts +73 -21
- package/dist/components/map/map.component.js +1 -1
- package/dist/components/map/map.js +1 -1
- package/dist/components/map/map.service.d.ts +92 -9
- package/dist/components/map/map.service.js +1 -1
- package/dist/components/map/map.styles.js +1 -1
- package/dist/components/map/type.d.ts +7 -0
- package/dist/components/map/type.js +1 -1
- package/dist/components/menu/menu.component.js +1 -1
- package/dist/components/menu/menu.js +1 -1
- package/dist/components/menu-item/menu-item.component.js +1 -1
- package/dist/components/menu-item/menu-item.js +1 -1
- package/dist/components/option/option.component.js +1 -1
- package/dist/components/option/option.js +1 -1
- package/dist/components/pagination/pagination.component.js +1 -1
- package/dist/components/pagination/pagination.js +1 -1
- package/dist/components/plot/plot.component.js +1 -1
- package/dist/components/plot/plot.js +1 -1
- package/dist/components/plot-toolbar/notebooks/time-averaged-map-notebook.js +1 -1
- package/dist/components/plot-toolbar/notebooks/time-series-notebook.js +1 -1
- package/dist/components/plot-toolbar/plot-toolbar.component.d.ts +4 -4
- package/dist/components/plot-toolbar/plot-toolbar.component.js +1 -1
- package/dist/components/plot-toolbar/plot-toolbar.js +1 -1
- package/dist/components/popup/popup.component.js +1 -1
- package/dist/components/popup/popup.js +1 -1
- package/dist/components/progress-bar/progress-bar.component.js +1 -1
- package/dist/components/progress-bar/progress-bar.js +1 -1
- package/dist/components/radio/radio.component.js +1 -1
- package/dist/components/radio/radio.js +1 -1
- package/dist/components/radio-group/radio-group.component.js +1 -1
- package/dist/components/radio-group/radio-group.js +1 -1
- package/dist/components/scroll-hint/scroll-hint.component.js +1 -1
- package/dist/components/scroll-hint/scroll-hint.js +1 -1
- package/dist/components/select/select.component.js +1 -1
- package/dist/components/select/select.js +1 -1
- package/dist/components/site-header/site-header.component.js +1 -1
- package/dist/components/site-header/site-header.js +1 -1
- package/dist/components/site-navigation/site-navigation.component.js +1 -1
- package/dist/components/site-navigation/site-navigation.js +1 -1
- package/dist/components/skeleton/skeleton.component.js +1 -1
- package/dist/components/skeleton/skeleton.js +1 -1
- package/dist/components/slider/slider.component.js +1 -1
- package/dist/components/slider/slider.js +1 -1
- package/dist/components/spatial-picker/spatial-picker.component.d.ts +0 -10
- package/dist/components/spatial-picker/spatial-picker.component.js +1 -1
- package/dist/components/spatial-picker/spatial-picker.js +1 -1
- package/dist/components/status-indicator/status-indicator.component.js +1 -1
- package/dist/components/status-indicator/status-indicator.js +1 -1
- package/dist/components/stepper/stepper.component.js +1 -1
- package/dist/components/stepper/stepper.js +1 -1
- package/dist/components/stepper-step/stepper-step.component.js +1 -1
- package/dist/components/stepper-step/stepper-step.js +1 -1
- package/dist/components/tab/tab.component.js +1 -1
- package/dist/components/tab/tab.js +1 -1
- package/dist/components/tab-panel/tab-panel.component.js +1 -1
- package/dist/components/tab-panel/tab-panel.js +1 -1
- package/dist/components/tabs/tabs.component.d.ts +2 -1
- package/dist/components/tabs/tabs.component.js +1 -1
- package/dist/components/tabs/tabs.js +1 -1
- package/dist/components/tag/tag.component.js +1 -1
- package/dist/components/tag/tag.js +1 -1
- package/dist/components/textarea/textarea.component.js +1 -1
- package/dist/components/textarea/textarea.js +1 -1
- package/dist/components/time-average-map/time-average-map.component.d.ts +10 -14
- package/dist/components/time-average-map/time-average-map.component.js +1 -1
- package/dist/components/time-average-map/time-average-map.controller.js +1 -1
- package/dist/components/time-average-map/time-average-map.js +1 -1
- package/dist/components/time-series/time-series.component.d.ts +2 -10
- package/dist/components/time-series/time-series.component.js +1 -1
- package/dist/components/time-series/time-series.controller.js +1 -1
- package/dist/components/time-series/time-series.js +1 -1
- package/dist/components/toast/toast.component.js +1 -1
- package/dist/components/toast/toast.js +1 -1
- package/dist/components/toggle/toggle.component.js +1 -1
- package/dist/components/toggle/toggle.js +1 -1
- package/dist/components/tooltip/tooltip.component.js +1 -1
- package/dist/components/tooltip/tooltip.js +1 -1
- package/dist/components/variable-combobox/variable-combobox.component.d.ts +5 -9
- package/dist/components/variable-combobox/variable-combobox.component.js +1 -1
- package/dist/components/variable-combobox/variable-combobox.js +1 -1
- package/dist/components/variable-keyword-search/variable-keyword-search.component.d.ts +2 -2
- package/dist/components/variable-keyword-search/variable-keyword-search.component.js +1 -1
- package/dist/components/variable-keyword-search/variable-keyword-search.js +1 -1
- package/dist/custom-elements.json +10670 -8582
- package/dist/events/events.d.ts +2 -2
- package/dist/events/terra-map.d.ts +55 -0
- package/dist/mixins/auth.mixin.d.ts +23 -0
- package/dist/mixins/mixin.types.d.ts +1 -0
- package/dist/mixins/query-client.mixin.d.ts +1 -1
- package/dist/react/accordion/index.js +1 -1
- package/dist/react/alert/index.js +1 -1
- package/dist/react/avatar/index.js +1 -1
- package/dist/react/badge/index.js +1 -1
- package/dist/react/banner/index.js +1 -1
- package/dist/react/breadcrumb/index.js +1 -1
- package/dist/react/breadcrumbs/index.js +1 -1
- package/dist/react/browse-variables/index.js +1 -1
- package/dist/react/button/index.js +1 -1
- package/dist/react/button-group/index.js +1 -1
- package/dist/react/caption/index.js +1 -1
- package/dist/react/card/index.js +1 -1
- package/dist/react/checkbox/index.js +1 -1
- package/dist/react/chip/index.js +1 -1
- package/dist/react/combobox/index.js +1 -1
- package/dist/react/data-access/index.js +1 -1
- package/dist/react/data-grid/index.js +1 -1
- package/dist/react/data-rods/index.d.ts +6 -1
- package/dist/react/data-rods/index.js +1 -1
- package/dist/react/data-subsetter/index.d.ts +3 -0
- package/dist/react/data-subsetter/index.js +1 -1
- package/dist/react/data-subsetter-history/index.d.ts +6 -1
- package/dist/react/data-subsetter-history/index.js +1 -1
- package/dist/react/date-picker/index.js +1 -1
- package/dist/react/date-range-slider/index.js +1 -1
- package/dist/react/dialog/index.js +1 -1
- package/dist/react/divider/index.js +1 -1
- package/dist/react/dropdown/index.js +1 -1
- package/dist/react/earthdata-login/index.js +1 -1
- package/dist/react/file-upload/index.js +1 -1
- package/dist/react/harmony-history/index.d.ts +3 -0
- package/dist/react/harmony-history/index.js +1 -1
- package/dist/react/icon/index.js +1 -1
- package/dist/react/index.d.ts +24 -24
- package/dist/react/index.js +1 -1
- package/dist/react/input/index.js +1 -1
- package/dist/react/loader/index.js +1 -1
- package/dist/react/login/index.js +1 -1
- package/dist/react/map/index.d.ts +32 -1
- package/dist/react/map/index.js +1 -1
- package/dist/react/menu/index.js +1 -1
- package/dist/react/menu-item/index.js +1 -1
- package/dist/react/option/index.js +1 -1
- package/dist/react/pagination/index.js +1 -1
- package/dist/react/plot/index.js +1 -1
- package/dist/react/plot-toolbar/index.d.ts +6 -1
- package/dist/react/plot-toolbar/index.js +1 -1
- package/dist/react/popup/index.js +1 -1
- package/dist/react/progress-bar/index.js +1 -1
- package/dist/react/radio/index.js +1 -1
- package/dist/react/radio-group/index.js +1 -1
- package/dist/react/scroll-hint/index.js +1 -1
- package/dist/react/select/index.js +1 -1
- package/dist/react/site-header/index.js +1 -1
- package/dist/react/site-navigation/index.js +1 -1
- package/dist/react/skeleton/index.js +1 -1
- package/dist/react/slider/index.js +1 -1
- package/dist/react/spatial-picker/index.js +1 -1
- package/dist/react/status-indicator/index.js +1 -1
- package/dist/react/stepper/index.js +1 -1
- package/dist/react/stepper-step/index.js +1 -1
- package/dist/react/tab/index.js +1 -1
- package/dist/react/tab-panel/index.js +1 -1
- package/dist/react/tabs/index.js +1 -1
- package/dist/react/tag/index.js +1 -1
- package/dist/react/textarea/index.js +1 -1
- package/dist/react/time-average-map/index.d.ts +6 -1
- package/dist/react/time-average-map/index.js +1 -1
- package/dist/react/time-series/index.d.ts +3 -0
- package/dist/react/time-series/index.js +1 -1
- package/dist/react/toast/index.js +1 -1
- package/dist/react/toggle/index.js +1 -1
- package/dist/react/tooltip/index.js +1 -1
- package/dist/react/variable-combobox/index.d.ts +4 -1
- package/dist/react/variable-combobox/index.js +1 -1
- package/dist/react/variable-keyword-search/index.d.ts +1 -1
- package/dist/react/variable-keyword-search/index.js +1 -1
- package/dist/terra-ui-components.js +1 -1
- package/dist/terra_ui_components-0.0.205-py3-none-any.whl +0 -0
- package/dist/terra_ui_components-0.0.205.tar.gz +0 -0
- package/dist/types/vue/index.d.ts +1037 -870
- package/dist/utilities/date.d.ts +4 -0
- package/dist/utilities/date.js +1 -1
- package/dist/utilities/variable-task.js +1 -1
- package/dist/vscode.html-custom-data.json +692 -661
- package/dist/web-types.json +2243 -2077
- package/package.json +6 -4
- package/cdn/auth/auth.controller.d.ts +0 -16
- package/cdn/chunks/GeoTIFF.KMHPSKO6.js +0 -19975
- package/cdn/chunks/chunk.27KCXEZH.js +0 -431
- package/cdn/chunks/chunk.2AFX3VCL.js +0 -125
- package/cdn/chunks/chunk.2DFPSVL6.js +0 -68
- package/cdn/chunks/chunk.2DPXUVUW.js +0 -357
- package/cdn/chunks/chunk.2EKGBKN2.js +0 -19
- package/cdn/chunks/chunk.2FSYZKPK.js +0 -29
- package/cdn/chunks/chunk.2HXJHNH3.js +0 -5339
- package/cdn/chunks/chunk.2IA6WV7R.js +0 -19
- package/cdn/chunks/chunk.2NRTTHOD.js +0 -30
- package/cdn/chunks/chunk.2PJPIGBI.js +0 -1122
- package/cdn/chunks/chunk.2RYJM2TF.js +0 -19
- package/cdn/chunks/chunk.2UATMVXP.js +0 -261
- package/cdn/chunks/chunk.2UUMIAXS.js +0 -19
- package/cdn/chunks/chunk.3A3QJT7L.js +0 -29
- package/cdn/chunks/chunk.3UXSNM76.js +0 -32
- package/cdn/chunks/chunk.4CVCW4V3.js +0 -32
- package/cdn/chunks/chunk.4HFZS2GO.js +0 -19
- package/cdn/chunks/chunk.4KCMI4UU.js +0 -1036
- package/cdn/chunks/chunk.4M7FMP7T.js +0 -442
- package/cdn/chunks/chunk.4OETFOY2.js +0 -71
- package/cdn/chunks/chunk.4UI7P3Y4.js +0 -19
- package/cdn/chunks/chunk.4VE4DO4N.js +0 -19
- package/cdn/chunks/chunk.4YE3LB3R.js +0 -19
- package/cdn/chunks/chunk.4ZBYMDD6.js +0 -189
- package/cdn/chunks/chunk.5CDWDWX5.js +0 -136
- package/cdn/chunks/chunk.5CLU2XHI.js +0 -29
- package/cdn/chunks/chunk.5G4MIKDW.js +0 -19
- package/cdn/chunks/chunk.5KHCLX4N.js +0 -64743
- package/cdn/chunks/chunk.5N76KCT4.js +0 -285
- package/cdn/chunks/chunk.5OEHZWXQ.js +0 -19
- package/cdn/chunks/chunk.5U22JWZL.js +0 -117
- package/cdn/chunks/chunk.5USXBJV5.js +0 -35
- package/cdn/chunks/chunk.5YQFC77E.js +0 -37
- package/cdn/chunks/chunk.6E7Z4C4E.js +0 -19
- package/cdn/chunks/chunk.6FWN6ZZC.js +0 -32
- package/cdn/chunks/chunk.6J2OCJ7J.js +0 -84
- package/cdn/chunks/chunk.6LOJQVYN.js +0 -36
- package/cdn/chunks/chunk.6OC7H5OH.js +0 -28
- package/cdn/chunks/chunk.6QEEVDUE.js +0 -427
- package/cdn/chunks/chunk.6SAM6SI7.js +0 -19
- package/cdn/chunks/chunk.6VTIK2C6.js +0 -19
- package/cdn/chunks/chunk.75FXMQOA.js +0 -19
- package/cdn/chunks/chunk.7HUACA54.js +0 -29
- package/cdn/chunks/chunk.7L2TSDLJ.js +0 -2028
- package/cdn/chunks/chunk.7N55EAUN.js +0 -17305
- package/cdn/chunks/chunk.7VOSRG7X.js +0 -19
- package/cdn/chunks/chunk.7WUVQEAR.js +0 -256
- package/cdn/chunks/chunk.7Y44JBIB.js +0 -550
- package/cdn/chunks/chunk.7ZI27RZO.js +0 -1136
- package/cdn/chunks/chunk.ACUUMB46.js +0 -33
- package/cdn/chunks/chunk.AFJMWE55.js +0 -29
- package/cdn/chunks/chunk.AH535OUT.js +0 -19
- package/cdn/chunks/chunk.AJTI5LZT.js +0 -60
- package/cdn/chunks/chunk.AL34JKBE.js +0 -19
- package/cdn/chunks/chunk.ANOS3OTE.js +0 -29
- package/cdn/chunks/chunk.AP5WCU4L.js +0 -134
- package/cdn/chunks/chunk.AQQD3TGI.js +0 -19
- package/cdn/chunks/chunk.AWU6UL7H.js +0 -19
- package/cdn/chunks/chunk.AYV43FGZ.js +0 -110
- package/cdn/chunks/chunk.B6MUHPWI.js +0 -19
- package/cdn/chunks/chunk.BHW5IL3I.js +0 -19
- package/cdn/chunks/chunk.BPRI6OGA.js +0 -29
- package/cdn/chunks/chunk.BPTWMSFM.js +0 -259
- package/cdn/chunks/chunk.BTPIPKWK.js +0 -29
- package/cdn/chunks/chunk.C2SRCC4M.js +0 -19
- package/cdn/chunks/chunk.C3SXIMJF.js +0 -29
- package/cdn/chunks/chunk.CDYBBCIE.js +0 -29
- package/cdn/chunks/chunk.CHKUZKW6.js +0 -19
- package/cdn/chunks/chunk.CJG6IYUQ.js +0 -699
- package/cdn/chunks/chunk.COA7ZPCF.js +0 -86
- package/cdn/chunks/chunk.CV4QCJYB.js +0 -29
- package/cdn/chunks/chunk.CV7V62DS.js +0 -33
- package/cdn/chunks/chunk.CWNNDPJR.js +0 -36
- package/cdn/chunks/chunk.CWVFOCEY.js +0 -123
- package/cdn/chunks/chunk.D6DZ2ABR.js +0 -19
- package/cdn/chunks/chunk.DAHT4D47.js +0 -19
- package/cdn/chunks/chunk.DDCWMDIC.js +0 -32
- package/cdn/chunks/chunk.DNVJF7IY.js +0 -39
- package/cdn/chunks/chunk.DOAEM5ON.js +0 -4083
- package/cdn/chunks/chunk.DOLQGIFG.js +0 -19
- package/cdn/chunks/chunk.DPKA4G53.js +0 -601
- package/cdn/chunks/chunk.DTUP6KDY.js +0 -19
- package/cdn/chunks/chunk.DXQUJESD.js +0 -8969
- package/cdn/chunks/chunk.E52YFLSL.js +0 -32
- package/cdn/chunks/chunk.E6S2GD5C.js +0 -31
- package/cdn/chunks/chunk.EQDMPPT6.js +0 -1413
- package/cdn/chunks/chunk.ERJEIORY.js +0 -36
- package/cdn/chunks/chunk.F26CV3RM.js +0 -32
- package/cdn/chunks/chunk.F5ATUIYK.js +0 -29
- package/cdn/chunks/chunk.FALB73Y2.js +0 -37
- package/cdn/chunks/chunk.FCQ22IGW.js +0 -104
- package/cdn/chunks/chunk.FQ6BZ3IY.js +0 -234
- package/cdn/chunks/chunk.FS3BAWIP.js +0 -19
- package/cdn/chunks/chunk.FUANKNNM.js +0 -19
- package/cdn/chunks/chunk.FVMOO5PZ.js +0 -111
- package/cdn/chunks/chunk.FWA7FNBM.js +0 -29
- package/cdn/chunks/chunk.FXGGRWLG.js +0 -106
- package/cdn/chunks/chunk.G5C4B32K.js +0 -32
- package/cdn/chunks/chunk.GAE7V6RB.js +0 -93
- package/cdn/chunks/chunk.GBGE6X2T.js +0 -1018
- package/cdn/chunks/chunk.GBR3XNSE.js +0 -19
- package/cdn/chunks/chunk.GDXZZBNN.js +0 -29
- package/cdn/chunks/chunk.GEZJ4HAT.js +0 -128
- package/cdn/chunks/chunk.GHYNGNCL.js +0 -19
- package/cdn/chunks/chunk.GVSCZXYP.js +0 -152
- package/cdn/chunks/chunk.H4THPLKV.js +0 -375
- package/cdn/chunks/chunk.H6DYN62P.js +0 -19
- package/cdn/chunks/chunk.H7ILJBVJ.js +0 -29
- package/cdn/chunks/chunk.HA24JYMN.js +0 -34
- package/cdn/chunks/chunk.HBVD5YDA.js +0 -19
- package/cdn/chunks/chunk.HDOVTS2Z.js +0 -333
- package/cdn/chunks/chunk.HE3V76OH.js +0 -29
- package/cdn/chunks/chunk.HSQJHXWN.js +0 -19
- package/cdn/chunks/chunk.HWXTC2NL.js +0 -475
- package/cdn/chunks/chunk.I3ZCGZPC.js +0 -629
- package/cdn/chunks/chunk.IDRFRYGU.js +0 -19
- package/cdn/chunks/chunk.IPAGICZN.js +0 -38
- package/cdn/chunks/chunk.IUV6CTRY.js +0 -231
- package/cdn/chunks/chunk.IW2V63Q4.js +0 -278
- package/cdn/chunks/chunk.J2QE6B7T.js +0 -158
- package/cdn/chunks/chunk.J5WVGYHM.js +0 -1071
- package/cdn/chunks/chunk.JGXF7ZXQ.js +0 -32
- package/cdn/chunks/chunk.JTDMKEVX.js +0 -19
- package/cdn/chunks/chunk.JU2BT7V3.js +0 -29
- package/cdn/chunks/chunk.JUAS37EG.js +0 -47
- package/cdn/chunks/chunk.KCLVMBYX.js +0 -19
- package/cdn/chunks/chunk.KLVTN4RA.js +0 -1780
- package/cdn/chunks/chunk.KNOXZXLV.js +0 -62
- package/cdn/chunks/chunk.KNWDEVCZ.js +0 -872
- package/cdn/chunks/chunk.KTH7B5P7.js +0 -32
- package/cdn/chunks/chunk.KVXAUKHU.js +0 -29
- package/cdn/chunks/chunk.L453DWOS.js +0 -162
- package/cdn/chunks/chunk.L4APEYLE.js +0 -33
- package/cdn/chunks/chunk.L6RUQB6F.js +0 -113
- package/cdn/chunks/chunk.LEJPCXRH.js +0 -575
- package/cdn/chunks/chunk.LGHXPOGX.js +0 -19
- package/cdn/chunks/chunk.LMFFT6QZ.js +0 -19
- package/cdn/chunks/chunk.LV52UGIG.js +0 -19
- package/cdn/chunks/chunk.LYTJDP4F.js +0 -528
- package/cdn/chunks/chunk.M6TNRFZO.js +0 -32
- package/cdn/chunks/chunk.MB55MNWI.js +0 -132
- package/cdn/chunks/chunk.MDV3HVPR.js +0 -82
- package/cdn/chunks/chunk.MKKKY7LJ.js +0 -17565
- package/cdn/chunks/chunk.ML6OFHI2.js +0 -60
- package/cdn/chunks/chunk.MMMP6IHT.js +0 -36
- package/cdn/chunks/chunk.MR7XEWMN.js +0 -29
- package/cdn/chunks/chunk.N26HWWE7.js +0 -92
- package/cdn/chunks/chunk.N6YZ3GGB.js +0 -19
- package/cdn/chunks/chunk.NKJ73Q6Z.js +0 -101
- package/cdn/chunks/chunk.NOJRNK7A.js +0 -1303
- package/cdn/chunks/chunk.O5KNCAFH.js +0 -29
- package/cdn/chunks/chunk.OHLWFMUZ.js +0 -19
- package/cdn/chunks/chunk.OK2PJLA4.js +0 -19
- package/cdn/chunks/chunk.OMERHZ7O.js +0 -1646
- package/cdn/chunks/chunk.OQR3DOIL.js +0 -29
- package/cdn/chunks/chunk.OVV6CMBK.js +0 -74
- package/cdn/chunks/chunk.OXFYKL76.js +0 -19
- package/cdn/chunks/chunk.P5MFJJGP.js +0 -195
- package/cdn/chunks/chunk.P6OHZPUZ.js +0 -2786
- package/cdn/chunks/chunk.PH3LKMHS.js +0 -32
- package/cdn/chunks/chunk.PIEU7GT4.js +0 -29
- package/cdn/chunks/chunk.PILGSWUJ.js +0 -29
- package/cdn/chunks/chunk.PLI3TNYY.js +0 -33
- package/cdn/chunks/chunk.PPCOW47J.js +0 -535
- package/cdn/chunks/chunk.PRI7AVJX.js +0 -19
- package/cdn/chunks/chunk.PWPIV2JK.js +0 -225
- package/cdn/chunks/chunk.QCEPDQ6M.js +0 -32
- package/cdn/chunks/chunk.QJUVJPT6.js +0 -19
- package/cdn/chunks/chunk.QP2APML5.js +0 -536
- package/cdn/chunks/chunk.QS7RKQGD.js +0 -19
- package/cdn/chunks/chunk.QZCCAT7W.js +0 -19
- package/cdn/chunks/chunk.QZIIYAVZ.js +0 -19
- package/cdn/chunks/chunk.QZQ7MTL4.js +0 -34
- package/cdn/chunks/chunk.RBBPG6SO.js +0 -621
- package/cdn/chunks/chunk.RL57R2DM.js +0 -37
- package/cdn/chunks/chunk.RMUH4JXF.js +0 -35
- package/cdn/chunks/chunk.RSH7CL7U.js +0 -310
- package/cdn/chunks/chunk.RXXY2DKG.js +0 -19
- package/cdn/chunks/chunk.S5BNWB7B.js +0 -185
- package/cdn/chunks/chunk.SDVBNJQZ.js +0 -19
- package/cdn/chunks/chunk.SIK75J6S.js +0 -35
- package/cdn/chunks/chunk.SJEEWCBY.js +0 -19
- package/cdn/chunks/chunk.SQWR5Y2X.js +0 -134
- package/cdn/chunks/chunk.SWNYIRFX.js +0 -19
- package/cdn/chunks/chunk.SZJZTSTJ.js +0 -36
- package/cdn/chunks/chunk.T35HK4YD.js +0 -83
- package/cdn/chunks/chunk.T4QHXOJU.js +0 -29
- package/cdn/chunks/chunk.T7A4P7JA.js +0 -19
- package/cdn/chunks/chunk.TA7CFXHM.js +0 -276
- package/cdn/chunks/chunk.TBL6KAUU.js +0 -19
- package/cdn/chunks/chunk.TDCXTEE4.js +0 -29
- package/cdn/chunks/chunk.TFX7LPOA.js +0 -29
- package/cdn/chunks/chunk.TTKS7OPN.js +0 -49
- package/cdn/chunks/chunk.TW72W3FG.js +0 -41
- package/cdn/chunks/chunk.TZ7K6LRZ.js +0 -29
- package/cdn/chunks/chunk.U64UG2NF.js +0 -897
- package/cdn/chunks/chunk.UCGET3OV.js +0 -610
- package/cdn/chunks/chunk.UFODDLBF.js +0 -190
- package/cdn/chunks/chunk.UI7I6F4E.js +0 -29
- package/cdn/chunks/chunk.UL6GPUWY.js +0 -169
- package/cdn/chunks/chunk.UNE5PGU3.js +0 -149
- package/cdn/chunks/chunk.USSOPHIF.js +0 -161
- package/cdn/chunks/chunk.UVQGTCUS.js +0 -621
- package/cdn/chunks/chunk.VAS4SJTV.js +0 -893
- package/cdn/chunks/chunk.VATEZWZS.js +0 -360
- package/cdn/chunks/chunk.VCKHZSH2.js +0 -19
- package/cdn/chunks/chunk.VHHZPEYC.js +0 -29
- package/cdn/chunks/chunk.VM6WPB7T.js +0 -32
- package/cdn/chunks/chunk.VNCKECHZ.js +0 -853
- package/cdn/chunks/chunk.VPMAHEJA.js +0 -32
- package/cdn/chunks/chunk.VQF367DL.js +0 -35
- package/cdn/chunks/chunk.VUXL5UGT.js +0 -2574
- package/cdn/chunks/chunk.W5FQPPPY.js +0 -19
- package/cdn/chunks/chunk.WCBO7P6T.js +0 -34
- package/cdn/chunks/chunk.WO24QJYS.js +0 -1005
- package/cdn/chunks/chunk.WSRDV4NV.js +0 -19
- package/cdn/chunks/chunk.WTGU6E45.js +0 -224
- package/cdn/chunks/chunk.XDVFVONG.js +0 -1945
- package/cdn/chunks/chunk.XNJGPB57.js +0 -35
- package/cdn/chunks/chunk.XXLSM7RI.js +0 -138
- package/cdn/chunks/chunk.Y6OCTUUR.js +0 -19
- package/cdn/chunks/chunk.YAWLOXFX.js +0 -271
- package/cdn/chunks/chunk.YJHDQGK3.js +0 -19
- package/cdn/chunks/chunk.YN7XE2VP.js +0 -940
- package/cdn/chunks/chunk.YTKNBCBF.js +0 -19
- package/cdn/chunks/chunk.Z3PZC46D.js +0 -33
- package/cdn/chunks/chunk.Z5U6BAQK.js +0 -292
- package/cdn/chunks/chunk.ZAS2SUGL.js +0 -19
- package/cdn/chunks/chunk.ZI2LY2UP.js +0 -524
- package/cdn/chunks/chunk.ZRSUDLUY.js +0 -754
- package/cdn/chunks/chunk.ZWUG6EZN.js +0 -544
- package/cdn/chunks/chunk.ZYF3AML6.js +0 -521
- package/cdn/chunks/chunk.ZYGBGEUR.js +0 -48
- package/cdn/chunks/chunk.ZYYDEEKW.js +0 -19
- package/cdn/chunks/lerc.OJS5YQI3.js +0 -2099
- package/cdn/events/terra-map-change.d.ts +0 -14
- package/dist/auth/auth.controller.d.ts +0 -16
- package/dist/chunks/chunk.24QTPUF2.js +0 -6
- package/dist/chunks/chunk.2A67CXHH.js +0 -5
- package/dist/chunks/chunk.2PQNGBP2.js +0 -1
- package/dist/chunks/chunk.2SYEDAOV.js +0 -1
- package/dist/chunks/chunk.2UREYJJ6.js +0 -65
- package/dist/chunks/chunk.2URJIUFD.js +0 -1
- package/dist/chunks/chunk.2VLYWQGB.js +0 -1
- package/dist/chunks/chunk.2XENK37L.js +0 -20
- package/dist/chunks/chunk.33ZH43TV.js +0 -1
- package/dist/chunks/chunk.345UCNEF.js +0 -1
- package/dist/chunks/chunk.347H65MH.js +0 -1
- package/dist/chunks/chunk.3BGJ2Y4W.js +0 -1
- package/dist/chunks/chunk.3OSNYXIB.js +0 -37
- package/dist/chunks/chunk.3SBCV5YV.js +0 -74
- package/dist/chunks/chunk.4AODHTLA.js +0 -1
- package/dist/chunks/chunk.4JUNRLEC.js +0 -1
- package/dist/chunks/chunk.4O6EGUET.js +0 -6
- package/dist/chunks/chunk.4PNNISNN.js +0 -12
- package/dist/chunks/chunk.4PXK26WC.js +0 -1
- package/dist/chunks/chunk.4RJ73FTA.js +0 -1
- package/dist/chunks/chunk.5DG6GZR2.js +0 -1
- package/dist/chunks/chunk.5OFG6SIJ.js +0 -1
- package/dist/chunks/chunk.5UIZ5N7P.js +0 -345
- package/dist/chunks/chunk.5WH5YKQV.js +0 -129
- package/dist/chunks/chunk.5WXBL2P4.js +0 -299
- package/dist/chunks/chunk.5YTPWERZ.js +0 -1
- package/dist/chunks/chunk.67VTCJF4.js +0 -527
- package/dist/chunks/chunk.6DD3MA2P.js +0 -1
- package/dist/chunks/chunk.6J72MJEC.js +0 -1
- package/dist/chunks/chunk.6OCFGLDL.js +0 -1
- package/dist/chunks/chunk.6Q54KXMC.js +0 -157
- package/dist/chunks/chunk.6R6NM245.js +0 -39
- package/dist/chunks/chunk.6SHAP35V.js +0 -55
- package/dist/chunks/chunk.6SW4NJHL.js +0 -42
- package/dist/chunks/chunk.6TALLYX6.js +0 -1
- package/dist/chunks/chunk.6ZIINXUV.js +0 -1
- package/dist/chunks/chunk.7D3QWHPQ.js +0 -1
- package/dist/chunks/chunk.7DGA6X4U.js +0 -23
- package/dist/chunks/chunk.7KZSDLA2.js +0 -11
- package/dist/chunks/chunk.7LR6X6Z6.js +0 -1
- package/dist/chunks/chunk.7TW5XUJL.js +0 -1
- package/dist/chunks/chunk.7V4HIKGV.js +0 -20
- package/dist/chunks/chunk.A3VSFB3O.js +0 -1
- package/dist/chunks/chunk.ADGVYX3D.js +0 -1
- package/dist/chunks/chunk.ALYHNSZZ.js +0 -30
- package/dist/chunks/chunk.AMKSX4J2.js +0 -1
- package/dist/chunks/chunk.AVBBSQQN.js +0 -26
- package/dist/chunks/chunk.BCBEL5J3.js +0 -1
- package/dist/chunks/chunk.BFSQRKZP.js +0 -67
- package/dist/chunks/chunk.BIMQKSIE.js +0 -1
- package/dist/chunks/chunk.BJFYPKRH.js +0 -1
- package/dist/chunks/chunk.BK22YUL3.js +0 -1
- package/dist/chunks/chunk.BMUYWCSS.js +0 -1
- package/dist/chunks/chunk.BRHNY634.js +0 -1
- package/dist/chunks/chunk.BVNNUSMK.js +0 -1
- package/dist/chunks/chunk.C6CZYR3X.js +0 -1
- package/dist/chunks/chunk.C6YOBRFC.js +0 -1
- package/dist/chunks/chunk.CO3YFDGB.js +0 -27
- package/dist/chunks/chunk.CQK6QHLB.js +0 -1
- package/dist/chunks/chunk.CQPFMW2K.js +0 -1
- package/dist/chunks/chunk.CRDPEWYE.js +0 -1
- package/dist/chunks/chunk.CS4EGLGP.js +0 -1
- package/dist/chunks/chunk.CSXC6DPV.js +0 -280
- package/dist/chunks/chunk.DH6S4SMY.js +0 -9
- package/dist/chunks/chunk.DKS4TU3H.js +0 -1
- package/dist/chunks/chunk.DTISX46U.js +0 -1
- package/dist/chunks/chunk.DWB7WY2B.js +0 -1
- package/dist/chunks/chunk.DYY5ZEGD.js +0 -8
- package/dist/chunks/chunk.E264AGUB.js +0 -1
- package/dist/chunks/chunk.E2LODYPF.js +0 -1
- package/dist/chunks/chunk.E36ROOQP.js +0 -1
- package/dist/chunks/chunk.E6SYKRYA.js +0 -18
- package/dist/chunks/chunk.E7D32WNL.js +0 -99
- package/dist/chunks/chunk.EAIG3OAM.js +0 -1
- package/dist/chunks/chunk.EPJM7OIN.js +0 -1
- package/dist/chunks/chunk.EYLQFCG6.js +0 -1
- package/dist/chunks/chunk.F2LSSWTW.js +0 -1
- package/dist/chunks/chunk.F2OOGC7E.js +0 -1
- package/dist/chunks/chunk.F463ZO54.js +0 -26
- package/dist/chunks/chunk.F4QJ3AAN.js +0 -1
- package/dist/chunks/chunk.FCLASTZJ.js +0 -59
- package/dist/chunks/chunk.FEUU6PRO.js +0 -1231
- package/dist/chunks/chunk.FFJ4LVA4.js +0 -1
- package/dist/chunks/chunk.FLY7SZ43.js +0 -1
- package/dist/chunks/chunk.FTSUICBL.js +0 -5
- package/dist/chunks/chunk.FU4VAT7K.js +0 -126
- package/dist/chunks/chunk.FY5MRGO2.js +0 -4
- package/dist/chunks/chunk.G2RBM77C.js +0 -80
- package/dist/chunks/chunk.G5WS7EAO.js +0 -1
- package/dist/chunks/chunk.GCVZMOL6.js +0 -1
- package/dist/chunks/chunk.GFJZ3U6O.js +0 -1
- package/dist/chunks/chunk.GVQ3ULCA.js +0 -1
- package/dist/chunks/chunk.GVWKFBDB.js +0 -1
- package/dist/chunks/chunk.GZC4MHZL.js +0 -1
- package/dist/chunks/chunk.GZJI67IH.js +0 -1
- package/dist/chunks/chunk.HBM2PGPH.js +0 -1
- package/dist/chunks/chunk.HFNSDYFF.js +0 -1
- package/dist/chunks/chunk.HJ7H55BL.js +0 -1
- package/dist/chunks/chunk.HMGPFX2Y.js +0 -1
- package/dist/chunks/chunk.IGXIZYGS.js +0 -1
- package/dist/chunks/chunk.IKZERRE2.js +0 -1
- package/dist/chunks/chunk.IL752DKI.js +0 -1
- package/dist/chunks/chunk.ILG3LGC7.js +0 -1
- package/dist/chunks/chunk.ILLKI5UT.js +0 -1
- package/dist/chunks/chunk.IT5GSXLK.js +0 -1
- package/dist/chunks/chunk.IX7TDXLM.js +0 -1
- package/dist/chunks/chunk.J74HQDC4.js +0 -113
- package/dist/chunks/chunk.JDUDVTGM.js +0 -33
- package/dist/chunks/chunk.JER3EYSI.js +0 -43
- package/dist/chunks/chunk.JFQVCD2G.js +0 -1
- package/dist/chunks/chunk.JJDVDIMZ.js +0 -1
- package/dist/chunks/chunk.JUCYMLNQ.js +0 -24
- package/dist/chunks/chunk.JWV3256S.js +0 -1
- package/dist/chunks/chunk.K3JWAUPW.js +0 -1
- package/dist/chunks/chunk.K7EEMK7S.js +0 -1
- package/dist/chunks/chunk.KQQP67QH.js +0 -1
- package/dist/chunks/chunk.L7LZXSLB.js +0 -1
- package/dist/chunks/chunk.L7TU4EE7.js +0 -1
- package/dist/chunks/chunk.LBQFMWHH.js +0 -1
- package/dist/chunks/chunk.LHS2JI5C.js +0 -1
- package/dist/chunks/chunk.LRB2T4C6.js +0 -1
- package/dist/chunks/chunk.LSBA65NF.js +0 -55
- package/dist/chunks/chunk.LVJYASQH.js +0 -41
- package/dist/chunks/chunk.M5IM24X6.js +0 -1
- package/dist/chunks/chunk.M7GAVBP4.js +0 -1
- package/dist/chunks/chunk.MRAFQ6FC.js +0 -1
- package/dist/chunks/chunk.MSEAPM5O.js +0 -43
- package/dist/chunks/chunk.MXJCFEZ4.js +0 -780
- package/dist/chunks/chunk.NFGRTKHK.js +0 -35
- package/dist/chunks/chunk.NM6S6YGL.js +0 -30
- package/dist/chunks/chunk.NNGAFMYS.js +0 -1
- package/dist/chunks/chunk.NS34WRBV.js +0 -154
- package/dist/chunks/chunk.NZ4QJK47.js +0 -176
- package/dist/chunks/chunk.NZERF5GE.js +0 -1
- package/dist/chunks/chunk.O36CSOQK.js +0 -11
- package/dist/chunks/chunk.OAFIM27Q.js +0 -1
- package/dist/chunks/chunk.OBJ27374.js +0 -1
- package/dist/chunks/chunk.ONZTNAIQ.js +0 -1
- package/dist/chunks/chunk.OQ4IT42W.js +0 -1
- package/dist/chunks/chunk.OSAQ45F4.js +0 -145
- package/dist/chunks/chunk.OSDEVN34.js +0 -1001
- package/dist/chunks/chunk.P23PNMO2.js +0 -1
- package/dist/chunks/chunk.PGC2LCDL.js +0 -1
- package/dist/chunks/chunk.PGUHY4NZ.js +0 -1
- package/dist/chunks/chunk.PHWB36E5.js +0 -4
- package/dist/chunks/chunk.PIP3HL2S.js +0 -1
- package/dist/chunks/chunk.PM3RUTRJ.js +0 -1
- package/dist/chunks/chunk.PNRCW5GH.js +0 -48
- package/dist/chunks/chunk.PO5EHL4Q.js +0 -1
- package/dist/chunks/chunk.PSNV3IQZ.js +0 -1
- package/dist/chunks/chunk.Q6CVPPFA.js +0 -1
- package/dist/chunks/chunk.QDFHF7LY.js +0 -1
- package/dist/chunks/chunk.QEKPRA6B.js +0 -1
- package/dist/chunks/chunk.QGXUQL5S.js +0 -1
- package/dist/chunks/chunk.QGZOQXT5.js +0 -148
- package/dist/chunks/chunk.QH3KZBRJ.js +0 -1
- package/dist/chunks/chunk.QK5M4OHI.js +0 -1
- package/dist/chunks/chunk.R6RTP7QP.js +0 -1
- package/dist/chunks/chunk.RBPNA4JU.js +0 -22
- package/dist/chunks/chunk.REIUDVA3.js +0 -1
- package/dist/chunks/chunk.RH76C7M7.js +0 -1
- package/dist/chunks/chunk.RHDTWIMS.js +0 -1
- package/dist/chunks/chunk.RKLTK3FR.js +0 -1
- package/dist/chunks/chunk.RLOQMCKP.js +0 -1
- package/dist/chunks/chunk.S65R5GMI.js +0 -1
- package/dist/chunks/chunk.S6AD3O5Y.js +0 -2
- package/dist/chunks/chunk.S6UNY7TY.js +0 -1
- package/dist/chunks/chunk.SAVXAZC3.js +0 -1
- package/dist/chunks/chunk.SDFUXOW6.js +0 -47
- package/dist/chunks/chunk.SM2LJQQZ.js +0 -1
- package/dist/chunks/chunk.SN4M25TW.js +0 -1
- package/dist/chunks/chunk.SP4US3KC.js +0 -1
- package/dist/chunks/chunk.SP7J3EGR.js +0 -1
- package/dist/chunks/chunk.ST6Y273B.js +0 -1
- package/dist/chunks/chunk.SW4EXLIK.js +0 -100
- package/dist/chunks/chunk.SYA4MGC4.js +0 -1
- package/dist/chunks/chunk.T3RRBLSI.js +0 -1
- package/dist/chunks/chunk.T5MMUQEM.js +0 -2
- package/dist/chunks/chunk.T5UOTK5T.js +0 -14
- package/dist/chunks/chunk.TCJYR6XR.js +0 -75
- package/dist/chunks/chunk.TEJABDMI.js +0 -1
- package/dist/chunks/chunk.TOUSLOQP.js +0 -19
- package/dist/chunks/chunk.TWL4OKWI.js +0 -1
- package/dist/chunks/chunk.TXJOFCEB.js +0 -20
- package/dist/chunks/chunk.U5DWDLRH.js +0 -25
- package/dist/chunks/chunk.UBXADY37.js +0 -566
- package/dist/chunks/chunk.UJUBD5K6.js +0 -1
- package/dist/chunks/chunk.UMIX7BEK.js +0 -1
- package/dist/chunks/chunk.UNPFONVM.js +0 -121
- package/dist/chunks/chunk.VM42BF4S.js +0 -1
- package/dist/chunks/chunk.VO2NGMYX.js +0 -1
- package/dist/chunks/chunk.VPEIRF5L.js +0 -1
- package/dist/chunks/chunk.VQBTIXTR.js +0 -1
- package/dist/chunks/chunk.VRGYQH3V.js +0 -1
- package/dist/chunks/chunk.W22Z5NC6.js +0 -1
- package/dist/chunks/chunk.W2AIXOEB.js +0 -1
- package/dist/chunks/chunk.W37YFNFN.js +0 -1
- package/dist/chunks/chunk.W7LK5SL4.js +0 -1
- package/dist/chunks/chunk.WHM6GYCJ.js +0 -1
- package/dist/chunks/chunk.WSK5WSL4.js +0 -1
- package/dist/chunks/chunk.X3J4I27U.js +0 -1
- package/dist/chunks/chunk.XD4664TI.js +0 -16
- package/dist/chunks/chunk.XIGVC4SV.js +0 -62
- package/dist/chunks/chunk.XS3KPVEZ.js +0 -1
- package/dist/chunks/chunk.XX7TMK7N.js +0 -1
- package/dist/chunks/chunk.Y5DJ2TIT.js +0 -1
- package/dist/chunks/chunk.YH36XKHI.js +0 -1
- package/dist/chunks/chunk.YJCP5H5H.js +0 -1
- package/dist/chunks/chunk.YUFCED44.js +0 -64
- package/dist/chunks/chunk.Z5WR5G6V.js +0 -35
- package/dist/chunks/chunk.ZAO2ZNCW.js +0 -1
- package/dist/chunks/chunk.ZCO5H22U.js +0 -1
- package/dist/chunks/chunk.ZJRSMGBD.js +0 -1
- package/dist/chunks/chunk.ZOFZPC6S.js +0 -9
- package/dist/chunks/chunk.ZWQ5GUBX.js +0 -55
- package/dist/chunks/chunk.ZZDDQ567.js +0 -1
- package/dist/events/terra-map-change.d.ts +0 -14
- package/dist/terra_ui_components-0.0.203-py3-none-any.whl +0 -0
- package/dist/terra_ui_components-0.0.203.tar.gz +0 -0
|
@@ -0,0 +1,1307 @@
|
|
|
1
|
+
import {
|
|
2
|
+
orthographic,
|
|
3
|
+
scale,
|
|
4
|
+
translate,
|
|
5
|
+
translation
|
|
6
|
+
} from "./chunk.UD3TU5V6.js";
|
|
7
|
+
import {
|
|
8
|
+
TileEventType_default,
|
|
9
|
+
TileSourceEvent,
|
|
10
|
+
Tile_default,
|
|
11
|
+
createForProjection,
|
|
12
|
+
createXYZ,
|
|
13
|
+
extentFromProjection,
|
|
14
|
+
getForProjection
|
|
15
|
+
} from "./chunk.3XHPRPKJ.js";
|
|
16
|
+
import {
|
|
17
|
+
DataTile_default,
|
|
18
|
+
ERROR_THRESHOLD,
|
|
19
|
+
TileState_default,
|
|
20
|
+
Triangulation_default,
|
|
21
|
+
asArrayLike,
|
|
22
|
+
asImageLike,
|
|
23
|
+
calculateSourceExtentResolution,
|
|
24
|
+
getCacheKey,
|
|
25
|
+
toArray
|
|
26
|
+
} from "./chunk.CSF2PMFW.js";
|
|
27
|
+
import {
|
|
28
|
+
DEFAULT_TILE_SIZE
|
|
29
|
+
} from "./chunk.NRLNKN7I.js";
|
|
30
|
+
import {
|
|
31
|
+
toSize
|
|
32
|
+
} from "./chunk.WMGJ3MAP.js";
|
|
33
|
+
import {
|
|
34
|
+
EventType_default,
|
|
35
|
+
WORKER_OFFSCREEN_CANVAS,
|
|
36
|
+
createCanvasContext2D,
|
|
37
|
+
getUid,
|
|
38
|
+
listen,
|
|
39
|
+
toPromise,
|
|
40
|
+
unlistenByKey
|
|
41
|
+
} from "./chunk.2B2TSVNY.js";
|
|
42
|
+
import {
|
|
43
|
+
clamp,
|
|
44
|
+
createEmpty,
|
|
45
|
+
equivalent,
|
|
46
|
+
extend,
|
|
47
|
+
get3 as get,
|
|
48
|
+
getArea,
|
|
49
|
+
getHeight,
|
|
50
|
+
getIntersection,
|
|
51
|
+
getTopLeft,
|
|
52
|
+
getWidth,
|
|
53
|
+
wrapAndSliceX
|
|
54
|
+
} from "./chunk.S5UFNVHZ.js";
|
|
55
|
+
import {
|
|
56
|
+
init_buffer,
|
|
57
|
+
init_dirname,
|
|
58
|
+
init_process
|
|
59
|
+
} from "./chunk.IIJBAEGD.js";
|
|
60
|
+
|
|
61
|
+
// node_modules/ol/source/DataTile.js
|
|
62
|
+
init_dirname();
|
|
63
|
+
init_buffer();
|
|
64
|
+
init_process();
|
|
65
|
+
|
|
66
|
+
// node_modules/ol/reproj/DataTile.js
|
|
67
|
+
init_dirname();
|
|
68
|
+
init_buffer();
|
|
69
|
+
init_process();
|
|
70
|
+
|
|
71
|
+
// node_modules/ol/reproj/glreproj.js
|
|
72
|
+
init_dirname();
|
|
73
|
+
init_buffer();
|
|
74
|
+
init_process();
|
|
75
|
+
|
|
76
|
+
// node_modules/ol/webgl/Canvas.js
|
|
77
|
+
init_dirname();
|
|
78
|
+
init_buffer();
|
|
79
|
+
init_process();
|
|
80
|
+
var VERTEX_SHADER = `
|
|
81
|
+
attribute vec4 a_position;
|
|
82
|
+
attribute vec4 a_texcoord;
|
|
83
|
+
|
|
84
|
+
uniform mat4 u_matrix;
|
|
85
|
+
uniform mat4 u_textureMatrix;
|
|
86
|
+
|
|
87
|
+
varying vec2 v_texcoord;
|
|
88
|
+
|
|
89
|
+
void main() {
|
|
90
|
+
gl_Position = u_matrix * a_position;
|
|
91
|
+
vec2 texcoord = (u_textureMatrix * a_texcoord).xy;
|
|
92
|
+
v_texcoord = texcoord;
|
|
93
|
+
}
|
|
94
|
+
`;
|
|
95
|
+
var FRAGMENT_SHADER = `
|
|
96
|
+
precision mediump float;
|
|
97
|
+
|
|
98
|
+
varying vec2 v_texcoord;
|
|
99
|
+
|
|
100
|
+
uniform sampler2D u_texture;
|
|
101
|
+
|
|
102
|
+
void main() {
|
|
103
|
+
if (
|
|
104
|
+
v_texcoord.x < 0.0 ||
|
|
105
|
+
v_texcoord.y < 0.0 ||
|
|
106
|
+
v_texcoord.x > 1.0 ||
|
|
107
|
+
v_texcoord.y > 1.0
|
|
108
|
+
) {
|
|
109
|
+
discard;
|
|
110
|
+
}
|
|
111
|
+
gl_FragColor = texture2D(u_texture, v_texcoord);
|
|
112
|
+
}
|
|
113
|
+
`;
|
|
114
|
+
var Canvas = class {
|
|
115
|
+
/**
|
|
116
|
+
* @param {WebGLRenderingContext} gl Context to render in.
|
|
117
|
+
*/
|
|
118
|
+
constructor(gl) {
|
|
119
|
+
this.gl_ = gl;
|
|
120
|
+
this.program_ = createProgram(gl, FRAGMENT_SHADER, VERTEX_SHADER);
|
|
121
|
+
this.positionLocation = gl.getAttribLocation(this.program_, "a_position");
|
|
122
|
+
this.texcoordLocation = gl.getAttribLocation(this.program_, "a_texcoord");
|
|
123
|
+
this.matrixLocation = gl.getUniformLocation(this.program_, "u_matrix");
|
|
124
|
+
this.textureMatrixLocation = gl.getUniformLocation(
|
|
125
|
+
this.program_,
|
|
126
|
+
"u_textureMatrix"
|
|
127
|
+
);
|
|
128
|
+
this.textureLocation = gl.getUniformLocation(this.program_, "u_texture");
|
|
129
|
+
this.positionBuffer = gl.createBuffer();
|
|
130
|
+
gl.bindBuffer(gl.ARRAY_BUFFER, this.positionBuffer);
|
|
131
|
+
this.positions = [0, 0, 0, 1, 1, 0, 1, 0, 0, 1, 1, 1];
|
|
132
|
+
gl.bufferData(
|
|
133
|
+
gl.ARRAY_BUFFER,
|
|
134
|
+
new Float32Array(this.positions),
|
|
135
|
+
gl.STATIC_DRAW
|
|
136
|
+
);
|
|
137
|
+
this.texcoordBuffer = gl.createBuffer();
|
|
138
|
+
gl.bindBuffer(gl.ARRAY_BUFFER, this.texcoordBuffer);
|
|
139
|
+
this.texcoords = [0, 0, 0, 1, 1, 0, 1, 0, 0, 1, 1, 1];
|
|
140
|
+
gl.bufferData(
|
|
141
|
+
gl.ARRAY_BUFFER,
|
|
142
|
+
new Float32Array(this.texcoords),
|
|
143
|
+
gl.STATIC_DRAW
|
|
144
|
+
);
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
* 2dContext drawImage call implemented in webgl.
|
|
148
|
+
* Unlike images, textures do not have a width and height associated
|
|
149
|
+
* with them so we'll pass in the width and height of the texture.
|
|
150
|
+
*
|
|
151
|
+
* @param {WebGLTexture} tex Image to draw.
|
|
152
|
+
* @param {number} texWidth Image width.
|
|
153
|
+
* @param {number} texHeight Image height.
|
|
154
|
+
* @param {number} srcX Top-left x-point to read src image.
|
|
155
|
+
* @param {number} srcY Top-left y-point to read src image.
|
|
156
|
+
* @param {number} [srcWidth] Width of source to read.
|
|
157
|
+
* @param {number} [srcHeight] Height of source to read.
|
|
158
|
+
* @param {number} [dstX] Top-left x-point of destination.
|
|
159
|
+
* @param {number} [dstY] Top-left y-point of destination.
|
|
160
|
+
* @param {number} [dstWidth] Width of written image in destination.
|
|
161
|
+
* @param {number} [dstHeight] Height of written image in destination.
|
|
162
|
+
* @param {number} [width] Width of canvas.
|
|
163
|
+
* @param {number} [height] Height of canvas.
|
|
164
|
+
*/
|
|
165
|
+
drawImage(tex, texWidth, texHeight, srcX, srcY, srcWidth, srcHeight, dstX, dstY, dstWidth, dstHeight, width, height) {
|
|
166
|
+
const gl = this.gl_;
|
|
167
|
+
if (dstX === void 0) {
|
|
168
|
+
dstX = srcX;
|
|
169
|
+
}
|
|
170
|
+
if (dstY === void 0) {
|
|
171
|
+
dstY = srcY;
|
|
172
|
+
}
|
|
173
|
+
if (srcWidth === void 0) {
|
|
174
|
+
srcWidth = texWidth;
|
|
175
|
+
}
|
|
176
|
+
if (srcHeight === void 0) {
|
|
177
|
+
srcHeight = texHeight;
|
|
178
|
+
}
|
|
179
|
+
if (dstWidth === void 0) {
|
|
180
|
+
dstWidth = srcWidth;
|
|
181
|
+
}
|
|
182
|
+
if (dstHeight === void 0) {
|
|
183
|
+
dstHeight = srcHeight;
|
|
184
|
+
}
|
|
185
|
+
if (width === void 0) {
|
|
186
|
+
width = gl.canvas.width;
|
|
187
|
+
}
|
|
188
|
+
if (height === void 0) {
|
|
189
|
+
height = gl.canvas.height;
|
|
190
|
+
}
|
|
191
|
+
gl.bindTexture(gl.TEXTURE_2D, tex);
|
|
192
|
+
gl.useProgram(this.program_);
|
|
193
|
+
gl.bindBuffer(gl.ARRAY_BUFFER, this.positionBuffer);
|
|
194
|
+
gl.enableVertexAttribArray(this.positionLocation);
|
|
195
|
+
gl.vertexAttribPointer(this.positionLocation, 2, gl.FLOAT, false, 0, 0);
|
|
196
|
+
gl.bindBuffer(gl.ARRAY_BUFFER, this.texcoordBuffer);
|
|
197
|
+
gl.enableVertexAttribArray(this.texcoordLocation);
|
|
198
|
+
gl.vertexAttribPointer(this.texcoordLocation, 2, gl.FLOAT, false, 0, 0);
|
|
199
|
+
let matrix = orthographic(0, width, 0, height, -1, 1);
|
|
200
|
+
matrix = translate(matrix, dstX, dstY, 0);
|
|
201
|
+
matrix = scale(matrix, dstWidth, dstHeight, 1);
|
|
202
|
+
gl.uniformMatrix4fv(this.matrixLocation, false, matrix);
|
|
203
|
+
let texMatrix = translation(srcX / texWidth, srcY / texHeight, 0);
|
|
204
|
+
texMatrix = scale(
|
|
205
|
+
texMatrix,
|
|
206
|
+
srcWidth / texWidth,
|
|
207
|
+
srcHeight / texHeight,
|
|
208
|
+
1
|
|
209
|
+
);
|
|
210
|
+
gl.uniformMatrix4fv(this.textureMatrixLocation, false, texMatrix);
|
|
211
|
+
gl.uniform1i(this.textureLocation, 0);
|
|
212
|
+
gl.drawArrays(gl.TRIANGLES, 0, this.positions.length / 2);
|
|
213
|
+
}
|
|
214
|
+
};
|
|
215
|
+
function createShader(gl, type, source) {
|
|
216
|
+
const shader = gl.createShader(type);
|
|
217
|
+
if (shader === null) {
|
|
218
|
+
throw new Error("Shader compilation failed");
|
|
219
|
+
}
|
|
220
|
+
gl.shaderSource(shader, source);
|
|
221
|
+
gl.compileShader(shader);
|
|
222
|
+
if (!gl.getShaderParameter(shader, gl.COMPILE_STATUS)) {
|
|
223
|
+
const log = gl.getShaderInfoLog(shader);
|
|
224
|
+
if (log === null) {
|
|
225
|
+
throw new Error("Shader info log creation failed");
|
|
226
|
+
}
|
|
227
|
+
throw new Error(log);
|
|
228
|
+
}
|
|
229
|
+
return shader;
|
|
230
|
+
}
|
|
231
|
+
function createProgram(gl, fragmentSource, vertexSource) {
|
|
232
|
+
const program = gl.createProgram();
|
|
233
|
+
const vertexShader = createShader(gl, gl.VERTEX_SHADER, vertexSource);
|
|
234
|
+
const fragmentShader = createShader(gl, gl.FRAGMENT_SHADER, fragmentSource);
|
|
235
|
+
if (program === null) {
|
|
236
|
+
throw new Error("Program creation failed");
|
|
237
|
+
}
|
|
238
|
+
gl.attachShader(program, vertexShader);
|
|
239
|
+
gl.attachShader(program, fragmentShader);
|
|
240
|
+
gl.linkProgram(program);
|
|
241
|
+
if (!gl.getProgramParameter(program, gl.LINK_STATUS)) {
|
|
242
|
+
const log = gl.getProgramInfoLog(program);
|
|
243
|
+
if (log === null) {
|
|
244
|
+
throw new Error("Program info log creation failed");
|
|
245
|
+
}
|
|
246
|
+
throw new Error();
|
|
247
|
+
}
|
|
248
|
+
return program;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
// node_modules/ol/reproj/glreproj.js
|
|
252
|
+
var EDGE_VERTEX_SHADER = `
|
|
253
|
+
attribute vec4 a_position;
|
|
254
|
+
|
|
255
|
+
uniform mat4 u_matrix;
|
|
256
|
+
|
|
257
|
+
void main() {
|
|
258
|
+
gl_Position = u_matrix * a_position;
|
|
259
|
+
}
|
|
260
|
+
`;
|
|
261
|
+
var EDGE_FRAGMENT_SHADER = `
|
|
262
|
+
precision mediump float;
|
|
263
|
+
|
|
264
|
+
uniform vec4 u_val;
|
|
265
|
+
void main() {
|
|
266
|
+
gl_FragColor = u_val;
|
|
267
|
+
}
|
|
268
|
+
`;
|
|
269
|
+
var TRIANGLE_VERTEX_SHADER = `
|
|
270
|
+
attribute vec4 a_position;
|
|
271
|
+
attribute vec2 a_texcoord;
|
|
272
|
+
|
|
273
|
+
varying vec2 v_texcoord;
|
|
274
|
+
|
|
275
|
+
uniform mat4 u_matrix;
|
|
276
|
+
|
|
277
|
+
void main() {
|
|
278
|
+
gl_Position = u_matrix * a_position;
|
|
279
|
+
v_texcoord = a_texcoord;
|
|
280
|
+
}
|
|
281
|
+
`;
|
|
282
|
+
var TRIANGLE_FRAGMENT_SHADER = `
|
|
283
|
+
precision mediump float;
|
|
284
|
+
|
|
285
|
+
varying vec2 v_texcoord;
|
|
286
|
+
|
|
287
|
+
uniform sampler2D u_texture;
|
|
288
|
+
|
|
289
|
+
void main() {
|
|
290
|
+
if (v_texcoord.x < 0.0 || v_texcoord.x > 1.0 || v_texcoord.y < 0.0 || v_texcoord.y > 1.0) {
|
|
291
|
+
discard;
|
|
292
|
+
}
|
|
293
|
+
gl_FragColor = texture2D(u_texture, v_texcoord);
|
|
294
|
+
}
|
|
295
|
+
`;
|
|
296
|
+
function createCanvasContextWebGL(width, height, canvasPool, settings) {
|
|
297
|
+
let canvas;
|
|
298
|
+
if (canvasPool && canvasPool.length) {
|
|
299
|
+
canvas = /** @type {HTMLCanvasElement} */
|
|
300
|
+
canvasPool.shift();
|
|
301
|
+
} else if (WORKER_OFFSCREEN_CANVAS) {
|
|
302
|
+
canvas = new OffscreenCanvas(width || 300, height || 300);
|
|
303
|
+
} else {
|
|
304
|
+
canvas = document.createElement("canvas");
|
|
305
|
+
}
|
|
306
|
+
if (width) {
|
|
307
|
+
canvas.width = width;
|
|
308
|
+
}
|
|
309
|
+
if (height) {
|
|
310
|
+
canvas.height = height;
|
|
311
|
+
}
|
|
312
|
+
return (
|
|
313
|
+
/** @type {WebGLRenderingContext} */
|
|
314
|
+
canvas.getContext("webgl", settings)
|
|
315
|
+
);
|
|
316
|
+
}
|
|
317
|
+
function releaseGLCanvas(gl) {
|
|
318
|
+
const canvas = gl.canvas;
|
|
319
|
+
canvas.width = 1;
|
|
320
|
+
canvas.height = 1;
|
|
321
|
+
gl.clear(gl.COLOR_BUFFER_BIT | gl.DEPTH_BUFFER_BIT | gl.STENCIL_BUFFER_BIT);
|
|
322
|
+
}
|
|
323
|
+
var canvasGLPool = [];
|
|
324
|
+
function render(gl, width_, height_, pixelRatio, sourceResolution, targetResolution, targetExtent, triangulation, sources, gutter, dataType, renderEdges, interpolate, drawSingle) {
|
|
325
|
+
const width = Math.round(pixelRatio * width_);
|
|
326
|
+
const height = Math.round(pixelRatio * height_);
|
|
327
|
+
gl.canvas.width = width;
|
|
328
|
+
gl.canvas.height = height;
|
|
329
|
+
let resultFrameBuffer;
|
|
330
|
+
let resultTexture;
|
|
331
|
+
{
|
|
332
|
+
resultTexture = gl.createTexture();
|
|
333
|
+
gl.bindTexture(gl.TEXTURE_2D, resultTexture);
|
|
334
|
+
gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_WRAP_S, gl.CLAMP_TO_EDGE);
|
|
335
|
+
gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_WRAP_T, gl.CLAMP_TO_EDGE);
|
|
336
|
+
if (interpolate) {
|
|
337
|
+
gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MIN_FILTER, gl.LINEAR);
|
|
338
|
+
gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MAG_FILTER, gl.LINEAR);
|
|
339
|
+
} else {
|
|
340
|
+
gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MIN_FILTER, gl.NEAREST);
|
|
341
|
+
gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MAG_FILTER, gl.NEAREST);
|
|
342
|
+
}
|
|
343
|
+
gl.texImage2D(
|
|
344
|
+
gl.TEXTURE_2D,
|
|
345
|
+
0,
|
|
346
|
+
gl.RGBA,
|
|
347
|
+
width,
|
|
348
|
+
height,
|
|
349
|
+
0,
|
|
350
|
+
gl.RGBA,
|
|
351
|
+
dataType,
|
|
352
|
+
null
|
|
353
|
+
);
|
|
354
|
+
resultFrameBuffer = gl.createFramebuffer();
|
|
355
|
+
gl.bindFramebuffer(gl.FRAMEBUFFER, resultFrameBuffer);
|
|
356
|
+
gl.framebufferTexture2D(
|
|
357
|
+
gl.FRAMEBUFFER,
|
|
358
|
+
gl.COLOR_ATTACHMENT0,
|
|
359
|
+
gl.TEXTURE_2D,
|
|
360
|
+
resultTexture,
|
|
361
|
+
0
|
|
362
|
+
);
|
|
363
|
+
}
|
|
364
|
+
if (resultFrameBuffer === null) {
|
|
365
|
+
throw new Error("Could not create framebuffer");
|
|
366
|
+
}
|
|
367
|
+
if (resultTexture === null) {
|
|
368
|
+
throw new Error("Could not create texture");
|
|
369
|
+
}
|
|
370
|
+
if (sources.length === 0) {
|
|
371
|
+
return {
|
|
372
|
+
width,
|
|
373
|
+
height,
|
|
374
|
+
framebuffer: resultFrameBuffer,
|
|
375
|
+
texture: resultTexture
|
|
376
|
+
};
|
|
377
|
+
}
|
|
378
|
+
const sourceDataExtent = createEmpty();
|
|
379
|
+
sources.forEach(function(src, i, arr) {
|
|
380
|
+
extend(sourceDataExtent, src.extent);
|
|
381
|
+
});
|
|
382
|
+
let stitchTexture;
|
|
383
|
+
let stitchWidth;
|
|
384
|
+
let stitchHeight;
|
|
385
|
+
const stitchScale = 1 / sourceResolution;
|
|
386
|
+
if (!drawSingle || sources.length !== 1 || gutter !== 0) {
|
|
387
|
+
stitchTexture = gl.createTexture();
|
|
388
|
+
if (resultTexture === null) {
|
|
389
|
+
throw new Error("Could not create texture");
|
|
390
|
+
}
|
|
391
|
+
stitchWidth = Math.round(getWidth(sourceDataExtent) * stitchScale);
|
|
392
|
+
stitchHeight = Math.round(getHeight(sourceDataExtent) * stitchScale);
|
|
393
|
+
const maxTexSize = gl.getParameter(gl.MAX_TEXTURE_SIZE);
|
|
394
|
+
const largeSide = Math.max(stitchWidth, stitchHeight);
|
|
395
|
+
const scaleFactor = largeSide > maxTexSize ? maxTexSize / largeSide : 1;
|
|
396
|
+
const stitchWidthFixed = Math.round(stitchWidth * scaleFactor);
|
|
397
|
+
const stitchHeightFixed = Math.round(stitchHeight * scaleFactor);
|
|
398
|
+
gl.bindTexture(gl.TEXTURE_2D, stitchTexture);
|
|
399
|
+
gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_WRAP_S, gl.CLAMP_TO_EDGE);
|
|
400
|
+
gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_WRAP_T, gl.CLAMP_TO_EDGE);
|
|
401
|
+
if (interpolate) {
|
|
402
|
+
gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MIN_FILTER, gl.LINEAR);
|
|
403
|
+
gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MAG_FILTER, gl.LINEAR);
|
|
404
|
+
} else {
|
|
405
|
+
gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MIN_FILTER, gl.NEAREST);
|
|
406
|
+
gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MAG_FILTER, gl.NEAREST);
|
|
407
|
+
}
|
|
408
|
+
gl.texImage2D(
|
|
409
|
+
gl.TEXTURE_2D,
|
|
410
|
+
0,
|
|
411
|
+
gl.RGBA,
|
|
412
|
+
stitchWidthFixed,
|
|
413
|
+
stitchHeightFixed,
|
|
414
|
+
0,
|
|
415
|
+
gl.RGBA,
|
|
416
|
+
dataType,
|
|
417
|
+
null
|
|
418
|
+
);
|
|
419
|
+
const fb = gl.createFramebuffer();
|
|
420
|
+
gl.bindFramebuffer(gl.FRAMEBUFFER, fb);
|
|
421
|
+
gl.framebufferTexture2D(
|
|
422
|
+
gl.FRAMEBUFFER,
|
|
423
|
+
gl.COLOR_ATTACHMENT0,
|
|
424
|
+
gl.TEXTURE_2D,
|
|
425
|
+
stitchTexture,
|
|
426
|
+
0
|
|
427
|
+
);
|
|
428
|
+
const webGLCanvas = new Canvas(gl);
|
|
429
|
+
sources.forEach(function(src, i, arr) {
|
|
430
|
+
const xPos = (src.extent[0] - sourceDataExtent[0]) * stitchScale * scaleFactor;
|
|
431
|
+
const yPos = -(src.extent[3] - sourceDataExtent[3]) * stitchScale * scaleFactor;
|
|
432
|
+
const srcWidth = getWidth(src.extent) * stitchScale * scaleFactor;
|
|
433
|
+
const srcHeight = getHeight(src.extent) * stitchScale * scaleFactor;
|
|
434
|
+
gl.bindFramebuffer(gl.FRAMEBUFFER, fb);
|
|
435
|
+
gl.viewport(0, 0, stitchWidthFixed, stitchHeightFixed);
|
|
436
|
+
if (src.clipExtent) {
|
|
437
|
+
const xPos2 = (src.clipExtent[0] - sourceDataExtent[0]) * stitchScale * scaleFactor;
|
|
438
|
+
const yPos2 = -(src.clipExtent[3] - sourceDataExtent[3]) * stitchScale * scaleFactor;
|
|
439
|
+
const width2 = getWidth(src.clipExtent) * stitchScale * scaleFactor;
|
|
440
|
+
const height2 = getHeight(src.clipExtent) * stitchScale * scaleFactor;
|
|
441
|
+
gl.enable(gl.SCISSOR_TEST);
|
|
442
|
+
gl.scissor(
|
|
443
|
+
interpolate ? xPos2 : Math.round(xPos2),
|
|
444
|
+
interpolate ? yPos2 : Math.round(yPos2),
|
|
445
|
+
interpolate ? width2 : Math.round(xPos2 + width2) - Math.round(xPos2),
|
|
446
|
+
interpolate ? height2 : Math.round(yPos2 + height2) - Math.round(yPos2)
|
|
447
|
+
);
|
|
448
|
+
}
|
|
449
|
+
webGLCanvas.drawImage(
|
|
450
|
+
src.texture,
|
|
451
|
+
src.width,
|
|
452
|
+
src.height,
|
|
453
|
+
gutter,
|
|
454
|
+
gutter,
|
|
455
|
+
src.width - 2 * gutter,
|
|
456
|
+
src.height - 2 * gutter,
|
|
457
|
+
interpolate ? xPos : Math.round(xPos),
|
|
458
|
+
interpolate ? yPos : Math.round(yPos),
|
|
459
|
+
interpolate ? srcWidth : Math.round(xPos + srcWidth) - Math.round(xPos),
|
|
460
|
+
interpolate ? srcHeight : Math.round(yPos + srcHeight) - Math.round(yPos),
|
|
461
|
+
stitchWidthFixed,
|
|
462
|
+
stitchHeightFixed
|
|
463
|
+
);
|
|
464
|
+
gl.disable(gl.SCISSOR_TEST);
|
|
465
|
+
});
|
|
466
|
+
gl.deleteFramebuffer(fb);
|
|
467
|
+
} else {
|
|
468
|
+
stitchTexture = sources[0].texture;
|
|
469
|
+
stitchWidth = sources[0].width;
|
|
470
|
+
stitchHeight = sources[0].width;
|
|
471
|
+
}
|
|
472
|
+
const targetTopLeft = getTopLeft(targetExtent);
|
|
473
|
+
const sourceTopLeft = getTopLeft(sourceDataExtent);
|
|
474
|
+
const getUVs = (target) => {
|
|
475
|
+
const u0 = (target[0][0] - targetTopLeft[0]) / targetResolution * pixelRatio;
|
|
476
|
+
const v0 = -(target[0][1] - targetTopLeft[1]) / targetResolution * pixelRatio;
|
|
477
|
+
const u1 = (target[1][0] - targetTopLeft[0]) / targetResolution * pixelRatio;
|
|
478
|
+
const v1 = -(target[1][1] - targetTopLeft[1]) / targetResolution * pixelRatio;
|
|
479
|
+
const u2 = (target[2][0] - targetTopLeft[0]) / targetResolution * pixelRatio;
|
|
480
|
+
const v2 = -(target[2][1] - targetTopLeft[1]) / targetResolution * pixelRatio;
|
|
481
|
+
return { u1, v1, u0, v0, u2, v2 };
|
|
482
|
+
};
|
|
483
|
+
gl.bindFramebuffer(gl.FRAMEBUFFER, resultFrameBuffer);
|
|
484
|
+
gl.viewport(0, 0, width, height);
|
|
485
|
+
{
|
|
486
|
+
const vertices = [];
|
|
487
|
+
const texcoords = [];
|
|
488
|
+
const triProgram = createProgram(
|
|
489
|
+
gl,
|
|
490
|
+
TRIANGLE_FRAGMENT_SHADER,
|
|
491
|
+
TRIANGLE_VERTEX_SHADER
|
|
492
|
+
);
|
|
493
|
+
gl.useProgram(triProgram);
|
|
494
|
+
const textureLocation = gl.getUniformLocation(triProgram, "u_texture");
|
|
495
|
+
gl.bindTexture(gl.TEXTURE_2D, stitchTexture);
|
|
496
|
+
gl.uniform1i(textureLocation, 0);
|
|
497
|
+
triangulation.getTriangles().forEach(function(triangle, i, arr) {
|
|
498
|
+
const source = triangle.source;
|
|
499
|
+
const target = triangle.target;
|
|
500
|
+
const { u1, v1, u0, v0, u2, v2 } = getUVs(target);
|
|
501
|
+
const su0 = (source[0][0] - sourceTopLeft[0]) / sourceResolution / stitchWidth;
|
|
502
|
+
const sv0 = -(source[0][1] - sourceTopLeft[1]) / sourceResolution / stitchHeight;
|
|
503
|
+
const su1 = (source[1][0] - sourceTopLeft[0]) / sourceResolution / stitchWidth;
|
|
504
|
+
const sv1 = -(source[1][1] - sourceTopLeft[1]) / sourceResolution / stitchHeight;
|
|
505
|
+
const su2 = (source[2][0] - sourceTopLeft[0]) / sourceResolution / stitchWidth;
|
|
506
|
+
const sv2 = -(source[2][1] - sourceTopLeft[1]) / sourceResolution / stitchHeight;
|
|
507
|
+
vertices.push(u1, v1, u0, v0, u2, v2);
|
|
508
|
+
texcoords.push(su1, sv1, su0, sv0, su2, sv2);
|
|
509
|
+
});
|
|
510
|
+
const matrix = orthographic(0, width, height, 0, -1, 1);
|
|
511
|
+
const matrixLocation = gl.getUniformLocation(triProgram, "u_matrix");
|
|
512
|
+
gl.uniformMatrix4fv(matrixLocation, false, matrix);
|
|
513
|
+
const positionLocation = gl.getAttribLocation(triProgram, "a_position");
|
|
514
|
+
const positionBuffer = gl.createBuffer();
|
|
515
|
+
gl.bindBuffer(gl.ARRAY_BUFFER, positionBuffer);
|
|
516
|
+
gl.bufferData(gl.ARRAY_BUFFER, new Float32Array(vertices), gl.STATIC_DRAW);
|
|
517
|
+
gl.vertexAttribPointer(positionLocation, 2, gl.FLOAT, false, 0, 0);
|
|
518
|
+
gl.enableVertexAttribArray(positionLocation);
|
|
519
|
+
const texcoordLocation = gl.getAttribLocation(triProgram, "a_texcoord");
|
|
520
|
+
const texcoordBuffer = gl.createBuffer();
|
|
521
|
+
gl.bindBuffer(gl.ARRAY_BUFFER, texcoordBuffer);
|
|
522
|
+
gl.bufferData(gl.ARRAY_BUFFER, new Float32Array(texcoords), gl.STATIC_DRAW);
|
|
523
|
+
gl.vertexAttribPointer(texcoordLocation, 2, gl.FLOAT, false, 0, 0);
|
|
524
|
+
gl.enableVertexAttribArray(texcoordLocation);
|
|
525
|
+
gl.drawArrays(gl.TRIANGLES, 0, vertices.length / 2);
|
|
526
|
+
}
|
|
527
|
+
if (renderEdges) {
|
|
528
|
+
const edgeProgram = createProgram(
|
|
529
|
+
gl,
|
|
530
|
+
EDGE_FRAGMENT_SHADER,
|
|
531
|
+
EDGE_VERTEX_SHADER
|
|
532
|
+
);
|
|
533
|
+
gl.useProgram(edgeProgram);
|
|
534
|
+
const matrix = orthographic(0, width, height, 0, -1, 1);
|
|
535
|
+
const matrixLocation = gl.getUniformLocation(edgeProgram, "u_matrix");
|
|
536
|
+
gl.uniformMatrix4fv(matrixLocation, false, matrix);
|
|
537
|
+
const burnval = Array.isArray(renderEdges) ? renderEdges : [0, 0, 0, 255];
|
|
538
|
+
const burnvalLocation = gl.getUniformLocation(edgeProgram, "u_val");
|
|
539
|
+
const isFloat = true;
|
|
540
|
+
if (isFloat) {
|
|
541
|
+
gl.uniform4fv(burnvalLocation, burnval);
|
|
542
|
+
} else {
|
|
543
|
+
gl.uniform4iv(burnvalLocation, burnval);
|
|
544
|
+
}
|
|
545
|
+
const positionLocation = gl.getAttribLocation(edgeProgram, "a_position");
|
|
546
|
+
const positionBuffer = gl.createBuffer();
|
|
547
|
+
gl.bindBuffer(gl.ARRAY_BUFFER, positionBuffer);
|
|
548
|
+
gl.vertexAttribPointer(positionLocation, 2, gl.FLOAT, false, 0, 0);
|
|
549
|
+
gl.enableVertexAttribArray(positionLocation);
|
|
550
|
+
const lines = triangulation.getTriangles().reduce(function(lines2, triangle) {
|
|
551
|
+
const target = triangle.target;
|
|
552
|
+
const { u1, v1, u0, v0, u2, v2 } = getUVs(target);
|
|
553
|
+
return lines2.concat([u1, v1, u0, v0, u0, v0, u2, v2, u2, v2, u1, v1]);
|
|
554
|
+
}, []);
|
|
555
|
+
gl.bufferData(gl.ARRAY_BUFFER, new Float32Array(lines), gl.STATIC_DRAW);
|
|
556
|
+
gl.drawArrays(gl.LINES, 0, lines.length / 2);
|
|
557
|
+
}
|
|
558
|
+
return {
|
|
559
|
+
width,
|
|
560
|
+
height,
|
|
561
|
+
framebuffer: resultFrameBuffer,
|
|
562
|
+
texture: resultTexture
|
|
563
|
+
};
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
// node_modules/ol/reproj/DataTile.js
|
|
567
|
+
var defaultSize = [256, 256];
|
|
568
|
+
var ReprojDataTile = class extends DataTile_default {
|
|
569
|
+
/**
|
|
570
|
+
* @param {Options} options Tile options.
|
|
571
|
+
*/
|
|
572
|
+
constructor(options) {
|
|
573
|
+
super({
|
|
574
|
+
tileCoord: options.tileCoord,
|
|
575
|
+
loader: () => Promise.resolve(new Uint8ClampedArray(4)),
|
|
576
|
+
interpolate: options.interpolate,
|
|
577
|
+
transition: options.transition
|
|
578
|
+
});
|
|
579
|
+
this.renderEdges_ = options.renderEdges !== void 0 ? options.renderEdges : false;
|
|
580
|
+
this.hasAlpha_ = options.hasAlpha !== void 0 ? options.hasAlpha : true;
|
|
581
|
+
this.pixelRatio_ = options.pixelRatio;
|
|
582
|
+
this.gutter_ = options.gutter;
|
|
583
|
+
this.reprojData_ = null;
|
|
584
|
+
this.reprojError_ = null;
|
|
585
|
+
this.reprojSize_ = null;
|
|
586
|
+
this.sourceTileGrid_ = options.sourceTileGrid;
|
|
587
|
+
this.targetTileGrid_ = options.targetTileGrid;
|
|
588
|
+
this.wrappedTileCoord_ = options.wrappedTileCoord || options.tileCoord;
|
|
589
|
+
this.sourceTiles_ = [];
|
|
590
|
+
this.sourcesListenerKeys_ = null;
|
|
591
|
+
this.sourceZ_ = 0;
|
|
592
|
+
const sourceProj = options.sourceProj;
|
|
593
|
+
const sourceProjExtent = sourceProj.getExtent();
|
|
594
|
+
const sourceTileGridExtent = options.sourceTileGrid.getExtent();
|
|
595
|
+
this.clipExtent_ = sourceProj.canWrapX() ? sourceTileGridExtent ? getIntersection(sourceProjExtent, sourceTileGridExtent) : sourceProjExtent : sourceTileGridExtent || null;
|
|
596
|
+
const targetExtent = this.targetTileGrid_.getTileCoordExtent(
|
|
597
|
+
this.wrappedTileCoord_
|
|
598
|
+
);
|
|
599
|
+
const maxTargetExtent = this.targetTileGrid_.getExtent();
|
|
600
|
+
let maxSourceExtent = this.sourceTileGrid_.getExtent();
|
|
601
|
+
const limitedTargetExtent = maxTargetExtent ? getIntersection(targetExtent, maxTargetExtent) : targetExtent;
|
|
602
|
+
if (getArea(limitedTargetExtent) === 0) {
|
|
603
|
+
this.state = TileState_default.EMPTY;
|
|
604
|
+
return;
|
|
605
|
+
}
|
|
606
|
+
if (sourceProjExtent) {
|
|
607
|
+
if (!maxSourceExtent) {
|
|
608
|
+
maxSourceExtent = sourceProjExtent;
|
|
609
|
+
} else {
|
|
610
|
+
maxSourceExtent = getIntersection(maxSourceExtent, sourceProjExtent);
|
|
611
|
+
}
|
|
612
|
+
}
|
|
613
|
+
const targetResolution = this.targetTileGrid_.getResolution(
|
|
614
|
+
this.wrappedTileCoord_[0]
|
|
615
|
+
);
|
|
616
|
+
const targetProj = options.targetProj;
|
|
617
|
+
const sourceResolution = calculateSourceExtentResolution(
|
|
618
|
+
sourceProj,
|
|
619
|
+
targetProj,
|
|
620
|
+
limitedTargetExtent,
|
|
621
|
+
targetResolution
|
|
622
|
+
);
|
|
623
|
+
if (!isFinite(sourceResolution) || sourceResolution <= 0) {
|
|
624
|
+
this.state = TileState_default.EMPTY;
|
|
625
|
+
return;
|
|
626
|
+
}
|
|
627
|
+
const errorThresholdInPixels = options.errorThreshold !== void 0 ? options.errorThreshold : ERROR_THRESHOLD;
|
|
628
|
+
this.triangulation_ = new Triangulation_default(
|
|
629
|
+
sourceProj,
|
|
630
|
+
targetProj,
|
|
631
|
+
limitedTargetExtent,
|
|
632
|
+
maxSourceExtent || void 0,
|
|
633
|
+
sourceResolution * errorThresholdInPixels,
|
|
634
|
+
targetResolution,
|
|
635
|
+
options.transformMatrix
|
|
636
|
+
);
|
|
637
|
+
if (this.triangulation_.getTriangles().length === 0) {
|
|
638
|
+
this.state = TileState_default.EMPTY;
|
|
639
|
+
return;
|
|
640
|
+
}
|
|
641
|
+
this.sourceZ_ = this.sourceTileGrid_.getZForResolution(sourceResolution);
|
|
642
|
+
let sourceExtent = this.triangulation_.calculateSourceExtent();
|
|
643
|
+
if (maxSourceExtent) {
|
|
644
|
+
if (sourceProj.canWrapX()) {
|
|
645
|
+
sourceExtent[1] = clamp(
|
|
646
|
+
sourceExtent[1],
|
|
647
|
+
maxSourceExtent[1],
|
|
648
|
+
maxSourceExtent[3]
|
|
649
|
+
);
|
|
650
|
+
sourceExtent[3] = clamp(
|
|
651
|
+
sourceExtent[3],
|
|
652
|
+
maxSourceExtent[1],
|
|
653
|
+
maxSourceExtent[3]
|
|
654
|
+
);
|
|
655
|
+
} else {
|
|
656
|
+
sourceExtent = getIntersection(sourceExtent, maxSourceExtent);
|
|
657
|
+
}
|
|
658
|
+
}
|
|
659
|
+
if (!getArea(sourceExtent)) {
|
|
660
|
+
this.state = TileState_default.EMPTY;
|
|
661
|
+
} else {
|
|
662
|
+
let worldWidth = 0;
|
|
663
|
+
let worldsAway = 0;
|
|
664
|
+
if (sourceProj.canWrapX()) {
|
|
665
|
+
worldWidth = getWidth(sourceProjExtent);
|
|
666
|
+
worldsAway = Math.floor(
|
|
667
|
+
(sourceExtent[0] - sourceProjExtent[0]) / worldWidth
|
|
668
|
+
);
|
|
669
|
+
}
|
|
670
|
+
const sourceExtents = wrapAndSliceX(
|
|
671
|
+
sourceExtent.slice(),
|
|
672
|
+
sourceProj,
|
|
673
|
+
true
|
|
674
|
+
);
|
|
675
|
+
sourceExtents.forEach((extent) => {
|
|
676
|
+
const sourceRange = this.sourceTileGrid_.getTileRangeForExtentAndZ(
|
|
677
|
+
extent,
|
|
678
|
+
this.sourceZ_
|
|
679
|
+
);
|
|
680
|
+
const getTile = options.getTileFunction;
|
|
681
|
+
for (let srcX = sourceRange.minX; srcX <= sourceRange.maxX; srcX++) {
|
|
682
|
+
for (let srcY = sourceRange.minY; srcY <= sourceRange.maxY; srcY++) {
|
|
683
|
+
const tile = getTile(this.sourceZ_, srcX, srcY, this.pixelRatio_);
|
|
684
|
+
if (tile) {
|
|
685
|
+
const offset = worldsAway * worldWidth;
|
|
686
|
+
this.sourceTiles_.push({ tile, offset });
|
|
687
|
+
}
|
|
688
|
+
}
|
|
689
|
+
}
|
|
690
|
+
++worldsAway;
|
|
691
|
+
});
|
|
692
|
+
if (this.sourceTiles_.length === 0) {
|
|
693
|
+
this.state = TileState_default.EMPTY;
|
|
694
|
+
}
|
|
695
|
+
}
|
|
696
|
+
}
|
|
697
|
+
/**
|
|
698
|
+
* Get the tile size.
|
|
699
|
+
* @return {import('../size.js').Size} Tile size.
|
|
700
|
+
* @override
|
|
701
|
+
*/
|
|
702
|
+
getSize() {
|
|
703
|
+
return this.reprojSize_ || defaultSize;
|
|
704
|
+
}
|
|
705
|
+
/**
|
|
706
|
+
* Get the data for the tile.
|
|
707
|
+
* @return {import("../DataTile.js").Data|null} Tile data.
|
|
708
|
+
* @override
|
|
709
|
+
*/
|
|
710
|
+
getData() {
|
|
711
|
+
return this.reprojData_;
|
|
712
|
+
}
|
|
713
|
+
/**
|
|
714
|
+
* Get any loading error.
|
|
715
|
+
* @return {Error|null} Loading error.
|
|
716
|
+
* @override
|
|
717
|
+
*/
|
|
718
|
+
getError() {
|
|
719
|
+
return this.reprojError_;
|
|
720
|
+
}
|
|
721
|
+
/**
|
|
722
|
+
* @private
|
|
723
|
+
*/
|
|
724
|
+
reproject_() {
|
|
725
|
+
const dataSources = [];
|
|
726
|
+
let imageLike = false;
|
|
727
|
+
this.sourceTiles_.forEach((source) => {
|
|
728
|
+
var _a;
|
|
729
|
+
const tile = source.tile;
|
|
730
|
+
if (!tile || tile.getState() !== TileState_default.LOADED) {
|
|
731
|
+
return;
|
|
732
|
+
}
|
|
733
|
+
const size2 = tile.getSize();
|
|
734
|
+
const gutter = this.gutter_;
|
|
735
|
+
let tileData;
|
|
736
|
+
const rawData = tile.getData();
|
|
737
|
+
if (!rawData) {
|
|
738
|
+
return;
|
|
739
|
+
}
|
|
740
|
+
const arrayData = asArrayLike(rawData);
|
|
741
|
+
if (arrayData) {
|
|
742
|
+
tileData = arrayData;
|
|
743
|
+
} else {
|
|
744
|
+
imageLike = true;
|
|
745
|
+
const imageLikeData = asImageLike(rawData);
|
|
746
|
+
if (!imageLikeData) {
|
|
747
|
+
return;
|
|
748
|
+
}
|
|
749
|
+
tileData = toArray(imageLikeData);
|
|
750
|
+
}
|
|
751
|
+
const pixelSize = [size2[0] + 2 * gutter, size2[1] + 2 * gutter];
|
|
752
|
+
const isFloat = tileData instanceof Float32Array;
|
|
753
|
+
const pixelCount = pixelSize[0] * pixelSize[1];
|
|
754
|
+
const DataType = isFloat ? Float32Array : Uint8ClampedArray;
|
|
755
|
+
const tileDataR = new DataType(
|
|
756
|
+
/** @type {ArrayBuffer} */
|
|
757
|
+
tileData.buffer
|
|
758
|
+
);
|
|
759
|
+
const bytesPerElement = DataType.BYTES_PER_ELEMENT;
|
|
760
|
+
const bytesPerPixel = bytesPerElement * tileDataR.length / pixelCount;
|
|
761
|
+
const bytesPerRow = tileDataR.byteLength / pixelSize[1];
|
|
762
|
+
const bandCount2 = Math.floor(
|
|
763
|
+
bytesPerRow / bytesPerElement / pixelSize[0]
|
|
764
|
+
);
|
|
765
|
+
const extent = this.sourceTileGrid_.getTileCoordExtent(tile.tileCoord);
|
|
766
|
+
extent[0] += source.offset;
|
|
767
|
+
extent[2] += source.offset;
|
|
768
|
+
const clipExtent = (_a = this.clipExtent_) == null ? void 0 : _a.slice();
|
|
769
|
+
if (clipExtent) {
|
|
770
|
+
clipExtent[0] += source.offset;
|
|
771
|
+
clipExtent[2] += source.offset;
|
|
772
|
+
}
|
|
773
|
+
dataSources.push({
|
|
774
|
+
extent,
|
|
775
|
+
clipExtent,
|
|
776
|
+
data: tileDataR,
|
|
777
|
+
dataType: DataType,
|
|
778
|
+
bytesPerPixel,
|
|
779
|
+
pixelSize,
|
|
780
|
+
bandCount: bandCount2
|
|
781
|
+
});
|
|
782
|
+
});
|
|
783
|
+
this.sourceTiles_.length = 0;
|
|
784
|
+
if (dataSources.length === 0) {
|
|
785
|
+
this.state = TileState_default.ERROR;
|
|
786
|
+
this.changed();
|
|
787
|
+
return;
|
|
788
|
+
}
|
|
789
|
+
const z = this.wrappedTileCoord_[0];
|
|
790
|
+
const size = this.targetTileGrid_.getTileSize(z);
|
|
791
|
+
const targetWidth = typeof size === "number" ? size : size[0];
|
|
792
|
+
const targetHeight = typeof size === "number" ? size : size[1];
|
|
793
|
+
const outWidth = Math.round(targetWidth * this.pixelRatio_);
|
|
794
|
+
const outHeight = Math.round(targetHeight * this.pixelRatio_);
|
|
795
|
+
const targetResolution = this.targetTileGrid_.getResolution(z);
|
|
796
|
+
const sourceResolution = this.sourceTileGrid_.getResolution(this.sourceZ_);
|
|
797
|
+
const targetExtent = this.targetTileGrid_.getTileCoordExtent(
|
|
798
|
+
this.wrappedTileCoord_
|
|
799
|
+
);
|
|
800
|
+
const bandCount = dataSources[0].bandCount;
|
|
801
|
+
const coverageBand = this.hasAlpha_ ? -1 : bandCount;
|
|
802
|
+
const outBandCount = this.hasAlpha_ ? bandCount : bandCount + 1;
|
|
803
|
+
const dataR = new dataSources[0].dataType(
|
|
804
|
+
outBandCount * outWidth * outHeight
|
|
805
|
+
);
|
|
806
|
+
const gl = createCanvasContextWebGL(outWidth, outHeight, canvasGLPool, {
|
|
807
|
+
premultipliedAlpha: false,
|
|
808
|
+
antialias: false
|
|
809
|
+
});
|
|
810
|
+
let willInterpolate;
|
|
811
|
+
const format = gl.RGBA;
|
|
812
|
+
let textureType;
|
|
813
|
+
if (dataSources[0].dataType == Float32Array) {
|
|
814
|
+
textureType = gl.FLOAT;
|
|
815
|
+
gl.getExtension("WEBGL_color_buffer_float");
|
|
816
|
+
gl.getExtension("OES_texture_float");
|
|
817
|
+
gl.getExtension("EXT_float_blend");
|
|
818
|
+
const extension = gl.getExtension("OES_texture_float_linear");
|
|
819
|
+
const canInterpolate = extension !== null;
|
|
820
|
+
willInterpolate = canInterpolate && this.interpolate;
|
|
821
|
+
} else {
|
|
822
|
+
textureType = gl.UNSIGNED_BYTE;
|
|
823
|
+
willInterpolate = this.interpolate;
|
|
824
|
+
}
|
|
825
|
+
const opaque = dataSources[0].dataType === Float32Array ? 1 : 255;
|
|
826
|
+
const BANDS_PR_REPROJ = 4;
|
|
827
|
+
const reprojs = Math.ceil(outBandCount / BANDS_PR_REPROJ);
|
|
828
|
+
for (let reproj = reprojs - 1; reproj >= 0; --reproj) {
|
|
829
|
+
const sources = [];
|
|
830
|
+
const groupBase = reproj * BANDS_PR_REPROJ;
|
|
831
|
+
for (let i = 0, len = dataSources.length; i < len; ++i) {
|
|
832
|
+
const dataSource = dataSources[i];
|
|
833
|
+
const pixelSize = dataSource.pixelSize;
|
|
834
|
+
const width2 = pixelSize[0];
|
|
835
|
+
const height2 = pixelSize[1];
|
|
836
|
+
const dataS = (
|
|
837
|
+
/** @type {import("../DataTile.js").ArrayLike} */
|
|
838
|
+
dataSource.data
|
|
839
|
+
);
|
|
840
|
+
const data2 = new dataSource.dataType(BANDS_PR_REPROJ * width2 * height2);
|
|
841
|
+
for (let j = 0, p = 0, len2 = data2.length; j < len2; j += BANDS_PR_REPROJ) {
|
|
842
|
+
for (let c = 0; c < BANDS_PR_REPROJ; ++c) {
|
|
843
|
+
const band = groupBase + c;
|
|
844
|
+
if (band === coverageBand) {
|
|
845
|
+
data2[j + c] = opaque;
|
|
846
|
+
} else if (band < bandCount) {
|
|
847
|
+
const sourceValue = (
|
|
848
|
+
/** @type {Float32Array|Uint8ClampedArray|Uint8Array} */
|
|
849
|
+
dataS[p * bandCount + band]
|
|
850
|
+
);
|
|
851
|
+
data2[j + c] = sourceValue;
|
|
852
|
+
}
|
|
853
|
+
}
|
|
854
|
+
++p;
|
|
855
|
+
}
|
|
856
|
+
const texture = gl.createTexture();
|
|
857
|
+
gl.bindTexture(gl.TEXTURE_2D, texture);
|
|
858
|
+
if (willInterpolate) {
|
|
859
|
+
gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MIN_FILTER, gl.LINEAR);
|
|
860
|
+
gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MAG_FILTER, gl.LINEAR);
|
|
861
|
+
} else {
|
|
862
|
+
gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MIN_FILTER, gl.NEAREST);
|
|
863
|
+
gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MAG_FILTER, gl.NEAREST);
|
|
864
|
+
}
|
|
865
|
+
gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_WRAP_S, gl.CLAMP_TO_EDGE);
|
|
866
|
+
gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_WRAP_T, gl.CLAMP_TO_EDGE);
|
|
867
|
+
gl.texImage2D(
|
|
868
|
+
gl.TEXTURE_2D,
|
|
869
|
+
0,
|
|
870
|
+
format,
|
|
871
|
+
width2,
|
|
872
|
+
height2,
|
|
873
|
+
0,
|
|
874
|
+
format,
|
|
875
|
+
textureType,
|
|
876
|
+
data2
|
|
877
|
+
);
|
|
878
|
+
sources.push({
|
|
879
|
+
extent: dataSource.extent,
|
|
880
|
+
clipExtent: dataSource.clipExtent,
|
|
881
|
+
texture,
|
|
882
|
+
width: width2,
|
|
883
|
+
height: height2
|
|
884
|
+
});
|
|
885
|
+
}
|
|
886
|
+
const { framebuffer, width, height } = render(
|
|
887
|
+
gl,
|
|
888
|
+
targetWidth,
|
|
889
|
+
targetHeight,
|
|
890
|
+
this.pixelRatio_,
|
|
891
|
+
sourceResolution,
|
|
892
|
+
targetResolution,
|
|
893
|
+
targetExtent,
|
|
894
|
+
this.triangulation_,
|
|
895
|
+
sources,
|
|
896
|
+
this.gutter_,
|
|
897
|
+
textureType,
|
|
898
|
+
this.renderEdges_,
|
|
899
|
+
willInterpolate
|
|
900
|
+
);
|
|
901
|
+
const rows = width;
|
|
902
|
+
const cols = height * BANDS_PR_REPROJ;
|
|
903
|
+
const data = new dataSources[0].dataType(rows * cols);
|
|
904
|
+
gl.bindFramebuffer(gl.FRAMEBUFFER, framebuffer);
|
|
905
|
+
gl.readPixels(0, 0, width, height, gl.RGBA, textureType, data);
|
|
906
|
+
for (let i = 0, p = 0, len = data.length; i < len; i += BANDS_PR_REPROJ) {
|
|
907
|
+
const flipY = (rows - 1 - (i / cols | 0)) * cols + i % cols;
|
|
908
|
+
for (let c = 0; c < BANDS_PR_REPROJ; ++c) {
|
|
909
|
+
const band = groupBase + c;
|
|
910
|
+
if (band < outBandCount) {
|
|
911
|
+
dataR[p * outBandCount + band] = data[flipY + c];
|
|
912
|
+
}
|
|
913
|
+
}
|
|
914
|
+
++p;
|
|
915
|
+
}
|
|
916
|
+
}
|
|
917
|
+
releaseGLCanvas(gl);
|
|
918
|
+
canvasGLPool.push(gl.canvas);
|
|
919
|
+
if (imageLike) {
|
|
920
|
+
const context = createCanvasContext2D(targetWidth, targetHeight);
|
|
921
|
+
context.putImageData(context.createImageData(outWidth, outHeight), 0, 0);
|
|
922
|
+
const imageData = context.getImageData(0, 0, outWidth, outHeight);
|
|
923
|
+
imageData.data.set(
|
|
924
|
+
/** @type {Uint8ClampedArray} */
|
|
925
|
+
dataR
|
|
926
|
+
);
|
|
927
|
+
context.putImageData(imageData, 0, 0);
|
|
928
|
+
this.reprojData_ = context.canvas;
|
|
929
|
+
} else {
|
|
930
|
+
this.reprojData_ = dataR;
|
|
931
|
+
}
|
|
932
|
+
this.reprojSize_ = [outWidth, outHeight];
|
|
933
|
+
this.state = TileState_default.LOADED;
|
|
934
|
+
this.changed();
|
|
935
|
+
}
|
|
936
|
+
/**
|
|
937
|
+
* Load not yet loaded URI.
|
|
938
|
+
* @override
|
|
939
|
+
*/
|
|
940
|
+
load() {
|
|
941
|
+
if (this.state !== TileState_default.IDLE && this.state !== TileState_default.ERROR) {
|
|
942
|
+
return;
|
|
943
|
+
}
|
|
944
|
+
this.state = TileState_default.LOADING;
|
|
945
|
+
this.changed();
|
|
946
|
+
let leftToLoad = 0;
|
|
947
|
+
this.sourcesListenerKeys_ = [];
|
|
948
|
+
this.sourceTiles_.forEach(({ tile }) => {
|
|
949
|
+
const state = tile.getState();
|
|
950
|
+
if (state !== TileState_default.IDLE && state !== TileState_default.LOADING) {
|
|
951
|
+
return;
|
|
952
|
+
}
|
|
953
|
+
leftToLoad++;
|
|
954
|
+
const sourceListenKey = listen(tile, EventType_default.CHANGE, () => {
|
|
955
|
+
const state2 = tile.getState();
|
|
956
|
+
if (state2 == TileState_default.LOADED || state2 == TileState_default.ERROR || state2 == TileState_default.EMPTY) {
|
|
957
|
+
unlistenByKey(sourceListenKey);
|
|
958
|
+
leftToLoad--;
|
|
959
|
+
if (leftToLoad === 0) {
|
|
960
|
+
this.unlistenSources_();
|
|
961
|
+
this.reproject_();
|
|
962
|
+
}
|
|
963
|
+
}
|
|
964
|
+
});
|
|
965
|
+
this.sourcesListenerKeys_.push(sourceListenKey);
|
|
966
|
+
});
|
|
967
|
+
if (leftToLoad === 0) {
|
|
968
|
+
setTimeout(this.reproject_.bind(this), 0);
|
|
969
|
+
} else {
|
|
970
|
+
this.sourceTiles_.forEach(function({ tile }) {
|
|
971
|
+
const state = tile.getState();
|
|
972
|
+
if (state == TileState_default.IDLE) {
|
|
973
|
+
tile.load();
|
|
974
|
+
}
|
|
975
|
+
});
|
|
976
|
+
}
|
|
977
|
+
}
|
|
978
|
+
/**
|
|
979
|
+
* @private
|
|
980
|
+
*/
|
|
981
|
+
unlistenSources_() {
|
|
982
|
+
if (this.sourcesListenerKeys_) {
|
|
983
|
+
this.sourcesListenerKeys_.forEach(unlistenByKey);
|
|
984
|
+
this.sourcesListenerKeys_ = null;
|
|
985
|
+
}
|
|
986
|
+
}
|
|
987
|
+
};
|
|
988
|
+
var DataTile_default2 = ReprojDataTile;
|
|
989
|
+
|
|
990
|
+
// node_modules/ol/source/DataTile.js
|
|
991
|
+
var DataTileSource = class extends Tile_default {
|
|
992
|
+
/**
|
|
993
|
+
* @param {Options} options DataTile source options.
|
|
994
|
+
*/
|
|
995
|
+
constructor(options) {
|
|
996
|
+
const projection = options.projection === void 0 ? "EPSG:3857" : options.projection;
|
|
997
|
+
let tileGrid = options.tileGrid;
|
|
998
|
+
if (tileGrid === void 0 && projection) {
|
|
999
|
+
tileGrid = createXYZ({
|
|
1000
|
+
extent: extentFromProjection(projection),
|
|
1001
|
+
maxResolution: options.maxResolution,
|
|
1002
|
+
maxZoom: options.maxZoom,
|
|
1003
|
+
minZoom: options.minZoom,
|
|
1004
|
+
tileSize: options.tileSize
|
|
1005
|
+
});
|
|
1006
|
+
}
|
|
1007
|
+
super({
|
|
1008
|
+
cacheSize: 0.1,
|
|
1009
|
+
// don't cache on the source
|
|
1010
|
+
attributions: options.attributions,
|
|
1011
|
+
attributionsCollapsible: options.attributionsCollapsible,
|
|
1012
|
+
projection,
|
|
1013
|
+
tileGrid,
|
|
1014
|
+
state: options.state,
|
|
1015
|
+
wrapX: options.wrapX,
|
|
1016
|
+
transition: options.transition,
|
|
1017
|
+
interpolate: options.interpolate,
|
|
1018
|
+
key: options.key,
|
|
1019
|
+
zDirection: options.zDirection
|
|
1020
|
+
});
|
|
1021
|
+
this.gutter_ = options.gutter !== void 0 ? options.gutter : 0;
|
|
1022
|
+
this.tileSize_ = options.tileSize ? toSize(options.tileSize) : null;
|
|
1023
|
+
this.tileSizes_ = null;
|
|
1024
|
+
this.tileLoadingKeys_ = {};
|
|
1025
|
+
this.loader_ = options.loader;
|
|
1026
|
+
this.handleTileChange_ = this.handleTileChange_.bind(this);
|
|
1027
|
+
this.bandCount = options.bandCount === void 0 ? 4 : options.bandCount;
|
|
1028
|
+
this.hasAlpha = options.hasAlpha !== void 0 ? options.hasAlpha : this.bandCount === 2 || this.bandCount === 4;
|
|
1029
|
+
this.nodataBandIndex;
|
|
1030
|
+
this.tileGridForProjection_ = {};
|
|
1031
|
+
this.crossOrigin_ = options.crossOrigin || "anonymous";
|
|
1032
|
+
this.referrerPolicy_ = options.referrerPolicy;
|
|
1033
|
+
this.transformMatrix = null;
|
|
1034
|
+
}
|
|
1035
|
+
/**
|
|
1036
|
+
* Set the source tile sizes. The length of the array is expected to match the number of
|
|
1037
|
+
* levels in the tile grid.
|
|
1038
|
+
* @protected
|
|
1039
|
+
* @param {Array<import('../size.js').Size>} tileSizes An array of tile sizes.
|
|
1040
|
+
*/
|
|
1041
|
+
setTileSizes(tileSizes) {
|
|
1042
|
+
this.tileSizes_ = tileSizes;
|
|
1043
|
+
}
|
|
1044
|
+
/**
|
|
1045
|
+
* Get the source tile size at the given zoom level. This may be different than the rendered tile
|
|
1046
|
+
* size.
|
|
1047
|
+
* @protected
|
|
1048
|
+
* @param {number} z Tile zoom level.
|
|
1049
|
+
* @return {import('../size.js').Size} The source tile size.
|
|
1050
|
+
*/
|
|
1051
|
+
getTileSize(z) {
|
|
1052
|
+
if (this.tileSizes_) {
|
|
1053
|
+
return this.tileSizes_[z];
|
|
1054
|
+
}
|
|
1055
|
+
if (this.tileSize_) {
|
|
1056
|
+
return this.tileSize_;
|
|
1057
|
+
}
|
|
1058
|
+
const tileGrid = this.getTileGrid();
|
|
1059
|
+
return tileGrid ? toSize(tileGrid.getTileSize(z)) : [256, 256];
|
|
1060
|
+
}
|
|
1061
|
+
/**
|
|
1062
|
+
* @param {import("../proj/Projection.js").default} projection Projection.
|
|
1063
|
+
* @return {number} Gutter.
|
|
1064
|
+
* @override
|
|
1065
|
+
*/
|
|
1066
|
+
getGutterForProjection(projection) {
|
|
1067
|
+
const thisProj = this.getProjection();
|
|
1068
|
+
if ((!thisProj || equivalent(thisProj, projection)) && !this.transformMatrix) {
|
|
1069
|
+
return this.gutter_;
|
|
1070
|
+
}
|
|
1071
|
+
return 0;
|
|
1072
|
+
}
|
|
1073
|
+
/**
|
|
1074
|
+
* @param {Loader} loader The data loader.
|
|
1075
|
+
* @protected
|
|
1076
|
+
*/
|
|
1077
|
+
setLoader(loader) {
|
|
1078
|
+
this.loader_ = loader;
|
|
1079
|
+
}
|
|
1080
|
+
/**
|
|
1081
|
+
* @param {number} z Tile coordinate z.
|
|
1082
|
+
* @param {number} x Tile coordinate x.
|
|
1083
|
+
* @param {number} y Tile coordinate y.
|
|
1084
|
+
* @param {import("../proj/Projection.js").default} targetProj The output projection.
|
|
1085
|
+
* @param {import("../proj/Projection.js").default} sourceProj The input projection.
|
|
1086
|
+
* @param {import("../structs/LRUCache.js").default<import("../Tile.js").default>} [tileCache] Tile cache.
|
|
1087
|
+
* @return {!TileType} Tile.
|
|
1088
|
+
*/
|
|
1089
|
+
getReprojTile_(z, x, y, targetProj, sourceProj, tileCache) {
|
|
1090
|
+
const sourceTileGrid = this.tileGrid || this.getTileGridForProjection(sourceProj || targetProj);
|
|
1091
|
+
const reprojTilePixelRatio = Math.max.apply(
|
|
1092
|
+
null,
|
|
1093
|
+
sourceTileGrid.getResolutions().map((r, z2) => {
|
|
1094
|
+
const tileSize = toSize(sourceTileGrid.getTileSize(z2));
|
|
1095
|
+
const textureSize = this.getTileSize(z2);
|
|
1096
|
+
return Math.max(
|
|
1097
|
+
textureSize[0] / tileSize[0],
|
|
1098
|
+
textureSize[1] / tileSize[1]
|
|
1099
|
+
);
|
|
1100
|
+
})
|
|
1101
|
+
);
|
|
1102
|
+
const targetTileGrid = this.getTileGridForProjection(targetProj);
|
|
1103
|
+
const tileCoord = [z, x, y];
|
|
1104
|
+
const wrappedTileCoord = this.getTileCoordForTileUrlFunction(
|
|
1105
|
+
tileCoord,
|
|
1106
|
+
targetProj
|
|
1107
|
+
);
|
|
1108
|
+
const options = Object.assign(
|
|
1109
|
+
{
|
|
1110
|
+
sourceProj: sourceProj || targetProj,
|
|
1111
|
+
sourceTileGrid,
|
|
1112
|
+
targetProj,
|
|
1113
|
+
targetTileGrid,
|
|
1114
|
+
tileCoord,
|
|
1115
|
+
wrappedTileCoord,
|
|
1116
|
+
pixelRatio: reprojTilePixelRatio,
|
|
1117
|
+
gutter: this.gutter_,
|
|
1118
|
+
hasAlpha: this.hasAlpha,
|
|
1119
|
+
getTileFunction: (z2, x2, y2, pixelRatio) => this.getTile(z2, x2, y2, pixelRatio, void 0, tileCache),
|
|
1120
|
+
transformMatrix: this.transformMatrix
|
|
1121
|
+
},
|
|
1122
|
+
/** @type {import("../reproj/DataTile.js").Options} */
|
|
1123
|
+
this.tileOptions
|
|
1124
|
+
);
|
|
1125
|
+
const tile = (
|
|
1126
|
+
/** @type {TileType} */
|
|
1127
|
+
/** @type {*} */
|
|
1128
|
+
new DataTile_default2(options)
|
|
1129
|
+
);
|
|
1130
|
+
tile.key = this.getKey();
|
|
1131
|
+
return tile;
|
|
1132
|
+
}
|
|
1133
|
+
/**
|
|
1134
|
+
* @param {number} z Tile coordinate z.
|
|
1135
|
+
* @param {number} x Tile coordinate x.
|
|
1136
|
+
* @param {number} y Tile coordinate y.
|
|
1137
|
+
* @param {number} pixelRatio Pixel ratio.
|
|
1138
|
+
* @param {import("../proj/Projection.js").default} [projection] Projection.
|
|
1139
|
+
* @param {import("../structs/LRUCache.js").default<import("../Tile.js").default>} [tileCache] Tile cache.
|
|
1140
|
+
* @return {TileType|null} Tile (or null if outside source extent).
|
|
1141
|
+
* @override
|
|
1142
|
+
*/
|
|
1143
|
+
getTile(z, x, y, pixelRatio, projection, tileCache) {
|
|
1144
|
+
var _a;
|
|
1145
|
+
const sourceProjection = this.getProjection();
|
|
1146
|
+
if (projection && (sourceProjection && !equivalent(sourceProjection, projection) || this.transformMatrix)) {
|
|
1147
|
+
return this.getReprojTile_(
|
|
1148
|
+
z,
|
|
1149
|
+
x,
|
|
1150
|
+
y,
|
|
1151
|
+
projection,
|
|
1152
|
+
sourceProjection || projection,
|
|
1153
|
+
tileCache
|
|
1154
|
+
);
|
|
1155
|
+
}
|
|
1156
|
+
const size = this.getTileSize(z);
|
|
1157
|
+
const sourceLoader = this.loader_;
|
|
1158
|
+
if (!sourceLoader) {
|
|
1159
|
+
return null;
|
|
1160
|
+
}
|
|
1161
|
+
const controller = new AbortController();
|
|
1162
|
+
const loaderOptions = {
|
|
1163
|
+
signal: controller.signal,
|
|
1164
|
+
crossOrigin: this.crossOrigin_,
|
|
1165
|
+
referrerPolicy: this.referrerPolicy_
|
|
1166
|
+
};
|
|
1167
|
+
const tileCoord = this.getTileCoordForTileUrlFunction([z, x, y]);
|
|
1168
|
+
if (!tileCoord) {
|
|
1169
|
+
return null;
|
|
1170
|
+
}
|
|
1171
|
+
const key = this.getKey();
|
|
1172
|
+
const cacheKey = getCacheKey(this, key, z, x, y);
|
|
1173
|
+
if (tileCache && tileCache.containsKey(cacheKey)) {
|
|
1174
|
+
return (
|
|
1175
|
+
/** @type {TileType} */
|
|
1176
|
+
tileCache.get(cacheKey)
|
|
1177
|
+
);
|
|
1178
|
+
}
|
|
1179
|
+
const requestZ = tileCoord[0];
|
|
1180
|
+
const requestX = tileCoord[1];
|
|
1181
|
+
const requestY = tileCoord[2];
|
|
1182
|
+
const range = (_a = this.getTileGrid()) == null ? void 0 : _a.getFullTileRange(requestZ);
|
|
1183
|
+
if (range) {
|
|
1184
|
+
loaderOptions.maxY = range.getHeight() - 1;
|
|
1185
|
+
}
|
|
1186
|
+
function loader() {
|
|
1187
|
+
if (!sourceLoader) {
|
|
1188
|
+
return Promise.reject(new Error("Missing tile loader"));
|
|
1189
|
+
}
|
|
1190
|
+
return toPromise(function() {
|
|
1191
|
+
return (
|
|
1192
|
+
/** @type {import("../DataTile.js").Data|Promise<import("../DataTile.js").Data>} */
|
|
1193
|
+
sourceLoader(requestZ, requestX, requestY, loaderOptions)
|
|
1194
|
+
);
|
|
1195
|
+
});
|
|
1196
|
+
}
|
|
1197
|
+
const options = Object.assign(
|
|
1198
|
+
{
|
|
1199
|
+
tileCoord: [z, x, y],
|
|
1200
|
+
loader,
|
|
1201
|
+
size,
|
|
1202
|
+
controller
|
|
1203
|
+
},
|
|
1204
|
+
this.tileOptions
|
|
1205
|
+
);
|
|
1206
|
+
const tile = (
|
|
1207
|
+
/** @type {TileType} */
|
|
1208
|
+
/** @type {*} */
|
|
1209
|
+
new DataTile_default(options)
|
|
1210
|
+
);
|
|
1211
|
+
tile.key = this.getKey();
|
|
1212
|
+
tile.addEventListener(
|
|
1213
|
+
EventType_default.CHANGE,
|
|
1214
|
+
/** @type {import("../events.js").ListenerFunction} */
|
|
1215
|
+
this.handleTileChange_
|
|
1216
|
+
);
|
|
1217
|
+
tileCache == null ? void 0 : tileCache.set(cacheKey, tile);
|
|
1218
|
+
return tile;
|
|
1219
|
+
}
|
|
1220
|
+
/**
|
|
1221
|
+
* Handle tile change events.
|
|
1222
|
+
* @param {import("../events/Event.js").default} event Event.
|
|
1223
|
+
*/
|
|
1224
|
+
handleTileChange_(event) {
|
|
1225
|
+
const tile = (
|
|
1226
|
+
/** @type {import("../Tile.js").default} */
|
|
1227
|
+
event.target
|
|
1228
|
+
);
|
|
1229
|
+
const uid = getUid(tile);
|
|
1230
|
+
const tileState = tile.getState();
|
|
1231
|
+
let type;
|
|
1232
|
+
if (tileState == TileState_default.LOADING) {
|
|
1233
|
+
this.tileLoadingKeys_[uid] = true;
|
|
1234
|
+
type = TileEventType_default.TILELOADSTART;
|
|
1235
|
+
} else if (uid in this.tileLoadingKeys_) {
|
|
1236
|
+
delete this.tileLoadingKeys_[uid];
|
|
1237
|
+
type = tileState == TileState_default.ERROR ? TileEventType_default.TILELOADERROR : tileState == TileState_default.LOADED ? TileEventType_default.TILELOADEND : void 0;
|
|
1238
|
+
}
|
|
1239
|
+
if (type) {
|
|
1240
|
+
this.dispatchEvent(new TileSourceEvent(type, tile));
|
|
1241
|
+
}
|
|
1242
|
+
}
|
|
1243
|
+
/**
|
|
1244
|
+
* @param {import("../proj/Projection.js").default} projection Projection.
|
|
1245
|
+
* @return {!import("../tilegrid/TileGrid.js").default} Tile grid.
|
|
1246
|
+
* @override
|
|
1247
|
+
*/
|
|
1248
|
+
getTileGridForProjection(projection) {
|
|
1249
|
+
const thisProj = this.getProjection();
|
|
1250
|
+
if (this.tileGrid && (!thisProj || equivalent(thisProj, projection)) && !this.transformMatrix) {
|
|
1251
|
+
return this.tileGrid;
|
|
1252
|
+
}
|
|
1253
|
+
const projKey = getUid(projection);
|
|
1254
|
+
if (!(projKey in this.tileGridForProjection_)) {
|
|
1255
|
+
if (this.tileGrid && thisProj && !equivalent(thisProj, projection)) {
|
|
1256
|
+
const sourceResolutions = this.tileGrid.getResolutions();
|
|
1257
|
+
const sourceFinestRes = sourceResolutions[sourceResolutions.length - 1];
|
|
1258
|
+
const sourceMetersPerUnit = thisProj.getMetersPerUnit() || 1;
|
|
1259
|
+
const targetMetersPerUnit = projection.getMetersPerUnit() || 1;
|
|
1260
|
+
const targetFinestRes = sourceFinestRes * sourceMetersPerUnit / targetMetersPerUnit;
|
|
1261
|
+
const extent = extentFromProjection(projection);
|
|
1262
|
+
const tileSize = DEFAULT_TILE_SIZE;
|
|
1263
|
+
const maxResolution = Math.max(
|
|
1264
|
+
getWidth(extent) / tileSize,
|
|
1265
|
+
getHeight(extent) / tileSize
|
|
1266
|
+
);
|
|
1267
|
+
const maxZoom = Math.max(
|
|
1268
|
+
0,
|
|
1269
|
+
Math.ceil(Math.log2(maxResolution / targetFinestRes)) + 1
|
|
1270
|
+
);
|
|
1271
|
+
this.tileGridForProjection_[projKey] = createForProjection(
|
|
1272
|
+
projection,
|
|
1273
|
+
maxZoom
|
|
1274
|
+
);
|
|
1275
|
+
} else {
|
|
1276
|
+
this.tileGridForProjection_[projKey] = getForProjection(projection);
|
|
1277
|
+
}
|
|
1278
|
+
}
|
|
1279
|
+
return this.tileGridForProjection_[projKey];
|
|
1280
|
+
}
|
|
1281
|
+
/**
|
|
1282
|
+
* Sets the tile grid to use when reprojecting the tiles to the given
|
|
1283
|
+
* projection instead of the default tile grid for the projection.
|
|
1284
|
+
*
|
|
1285
|
+
* This can be useful when the default tile grid cannot be created
|
|
1286
|
+
* (e.g. projection has no extent defined) or
|
|
1287
|
+
* for optimization reasons (custom tile size, resolutions, ...).
|
|
1288
|
+
*
|
|
1289
|
+
* @param {import("../proj.js").ProjectionLike} projection Projection.
|
|
1290
|
+
* @param {import("../tilegrid/TileGrid.js").default} tilegrid Tile grid to use for the projection.
|
|
1291
|
+
* @api
|
|
1292
|
+
*/
|
|
1293
|
+
setTileGridForProjection(projection, tilegrid) {
|
|
1294
|
+
const proj = get(projection);
|
|
1295
|
+
if (proj) {
|
|
1296
|
+
const projKey = getUid(proj);
|
|
1297
|
+
if (!(projKey in this.tileGridForProjection_)) {
|
|
1298
|
+
this.tileGridForProjection_[projKey] = tilegrid;
|
|
1299
|
+
}
|
|
1300
|
+
}
|
|
1301
|
+
}
|
|
1302
|
+
};
|
|
1303
|
+
var DataTile_default3 = DataTileSource;
|
|
1304
|
+
|
|
1305
|
+
export {
|
|
1306
|
+
DataTile_default3 as DataTile_default
|
|
1307
|
+
};
|