@nasa-terra/components 0.0.198 → 0.0.199
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/chunks/GeoTIFF.VXDS234A.js +20754 -0
- package/cdn/chunks/chunk.2EWZDAYT.js +29 -0
- package/cdn/chunks/chunk.2JJELSL5.js +47 -0
- package/cdn/chunks/chunk.2T337UTK.js +19 -0
- package/cdn/chunks/chunk.2XG73ITG.js +357 -0
- package/cdn/chunks/chunk.33GFCE5N.js +19 -0
- package/cdn/chunks/chunk.3JXVH2NE.js +377 -0
- package/cdn/chunks/chunk.3VUC5O5G.js +33 -0
- package/cdn/chunks/chunk.3XZ3WU77.js +35 -0
- package/cdn/chunks/chunk.44VCJ6SW.js +29 -0
- package/cdn/chunks/chunk.4HXIWAKE.js +29 -0
- package/cdn/chunks/chunk.4KHGJTYG.js +310 -0
- package/cdn/chunks/chunk.4LAXKCHJ.js +19 -0
- package/cdn/chunks/chunk.4N76TU2N.js +60 -0
- package/cdn/chunks/chunk.55WRSCJY.js +978 -0
- package/cdn/chunks/chunk.573DB434.js +39 -0
- package/cdn/chunks/chunk.5BH3C4GN.js +19 -0
- package/cdn/chunks/chunk.5BVN7II7.js +19 -0
- package/cdn/chunks/chunk.5DLA37YX.js +19 -0
- package/cdn/chunks/chunk.5LFN6KT3.js +416 -0
- package/cdn/chunks/chunk.5MB6A5RU.js +19 -0
- package/cdn/chunks/chunk.5ZT2BS3I.js +60 -0
- package/cdn/chunks/chunk.66IWKBC6.js +364 -0
- package/cdn/chunks/chunk.6D2IDMCW.js +106 -0
- package/cdn/chunks/chunk.6JG52BSF.js +35 -0
- package/cdn/chunks/chunk.6O7XOHAP.js +32 -0
- package/cdn/chunks/chunk.6Z7GRBWL.js +277 -0
- package/cdn/chunks/chunk.76A5M5WG.js +33 -0
- package/cdn/chunks/chunk.7BSMV3XV.js +36 -0
- package/cdn/chunks/chunk.7C3LJSTD.js +19 -0
- package/cdn/chunks/chunk.7G65ACMK.js +19 -0
- package/cdn/chunks/chunk.7GIH3FHL.js +29 -0
- package/cdn/chunks/chunk.7KYOVGMU.js +32 -0
- package/cdn/chunks/chunk.7UCNMWYE.js +1975 -0
- package/cdn/chunks/chunk.7Y2VDUYC.js +62 -0
- package/cdn/chunks/chunk.ABFNT6U4.js +32 -0
- package/cdn/chunks/chunk.ADFH5ULU.js +29 -0
- package/cdn/chunks/chunk.ADHCB3BO.js +538 -0
- package/cdn/chunks/chunk.AH7EQF7K.js +29 -0
- package/cdn/chunks/chunk.AO7RPFJO.js +19 -0
- package/cdn/chunks/chunk.AQB2ML3I.js +537 -0
- package/cdn/chunks/chunk.AYFA4HPN.js +4735 -0
- package/cdn/chunks/chunk.B3ADFXJY.js +32 -0
- package/cdn/chunks/chunk.B3GLOTII.js +92 -0
- package/cdn/chunks/chunk.B6YC7R6P.js +29 -0
- package/cdn/chunks/chunk.BFDVUZHC.js +35 -0
- package/cdn/chunks/chunk.BJRAF4ZX.js +19 -0
- package/cdn/chunks/chunk.BNGXQNNQ.js +29 -0
- package/cdn/chunks/chunk.BOZ3VKJO.js +19 -0
- package/cdn/chunks/chunk.BW44PXWN.js +657 -0
- package/cdn/chunks/chunk.COHRXEHA.js +29 -0
- package/cdn/chunks/chunk.CRQDFPSH.js +37 -0
- package/cdn/chunks/chunk.CX65AHTW.js +104 -0
- package/cdn/chunks/chunk.CX6JSAGB.js +19 -0
- package/cdn/chunks/chunk.DEHDGGWE.js +19 -0
- package/cdn/chunks/chunk.DMULXFKY.js +32 -0
- package/cdn/chunks/chunk.DO3V7V6I.js +259 -0
- package/cdn/chunks/chunk.DYRKSW2X.js +99 -0
- package/cdn/chunks/chunk.E4ONM7EQ.js +224 -0
- package/cdn/chunks/chunk.E6L6YVTU.js +19 -0
- package/cdn/chunks/chunk.ECR75TPC.js +19 -0
- package/cdn/chunks/chunk.EHRAILYE.js +19 -0
- package/cdn/chunks/chunk.EHVXLTCB.js +190 -0
- package/cdn/chunks/chunk.EKXY4PGP.js +29 -0
- package/cdn/chunks/chunk.FI4YBHHD.js +1339 -0
- package/cdn/chunks/chunk.FIREC5CC.js +478 -0
- package/cdn/chunks/chunk.FQ7GYAM6.js +450 -0
- package/cdn/chunks/chunk.FQBIIKY5.js +19 -0
- package/cdn/chunks/chunk.FSGSFI2L.js +162 -0
- package/cdn/chunks/chunk.G7AGZVJM.js +32 -0
- package/cdn/chunks/chunk.GA4QBBRX.js +19 -0
- package/cdn/chunks/chunk.GEVOOPOP.js +32 -0
- package/cdn/chunks/chunk.GF56J2LC.js +29 -0
- package/cdn/chunks/chunk.GGODQ75Z.js +359 -0
- package/cdn/chunks/chunk.GP5CKNVX.js +19 -0
- package/cdn/chunks/chunk.GTZLRBU6.js +15 -0
- package/cdn/chunks/chunk.GWUGCYFL.js +19 -0
- package/cdn/chunks/chunk.H6KRH5P2.js +17685 -0
- package/cdn/chunks/chunk.HCUUZMUR.js +610 -0
- package/cdn/chunks/chunk.HETFTQ32.js +36 -0
- package/cdn/chunks/chunk.HFQ4URSA.js +29 -0
- package/cdn/chunks/chunk.HHFSBJ5G.js +19 -0
- package/cdn/chunks/chunk.HJHZJEFY.js +19 -0
- package/cdn/chunks/chunk.HQL5JPO6.js +29 -0
- package/cdn/chunks/chunk.HRRDY7XJ.js +19 -0
- package/cdn/chunks/chunk.HT4VXYXY.js +37 -0
- package/cdn/chunks/chunk.HUVHJ5KI.js +19 -0
- package/cdn/chunks/chunk.HVDW2G5B.js +19 -0
- package/cdn/chunks/chunk.HVKGLK5J.js +78 -0
- package/cdn/chunks/chunk.I4B5GFUI.js +30 -0
- package/cdn/chunks/chunk.I4GAKXVS.js +82 -0
- package/cdn/chunks/chunk.I74CWXDT.js +29 -0
- package/cdn/chunks/chunk.IJRMB4PM.js +19 -0
- package/cdn/chunks/chunk.IK2SGPIW.js +5463 -0
- package/cdn/chunks/chunk.IYBWOV2C.js +1660 -0
- package/cdn/chunks/chunk.J52GFLCR.js +110 -0
- package/cdn/chunks/chunk.JHM6GLII.js +599 -0
- package/cdn/chunks/chunk.JJRD2OTY.js +293 -0
- package/cdn/chunks/chunk.JTRGBBGG.js +29 -0
- package/cdn/chunks/chunk.JXSQUWZZ.js +19 -0
- package/cdn/chunks/chunk.JYF5D5R5.js +19 -0
- package/cdn/chunks/chunk.K4QMVYIR.js +443 -0
- package/cdn/chunks/chunk.K56RZQTE.js +155 -0
- package/cdn/chunks/chunk.KB3G2WCI.js +34 -0
- package/cdn/chunks/chunk.KF4FXYKE.js +19 -0
- package/cdn/chunks/chunk.KHDL2CAQ.js +230 -0
- package/cdn/chunks/chunk.KHRT3JCC.js +29 -0
- package/cdn/chunks/chunk.KPSIXCYD.js +29 -0
- package/cdn/chunks/chunk.KX7SACHH.js +68 -0
- package/cdn/chunks/chunk.KZCBK6S4.js +19 -0
- package/cdn/chunks/chunk.L3TQOLJO.js +74 -0
- package/cdn/chunks/chunk.L67UJNXB.js +41 -0
- package/cdn/chunks/chunk.LGRZMWVK.js +35 -0
- package/cdn/chunks/chunk.LIPFUNWP.js +38 -0
- package/cdn/chunks/chunk.LWZNG7WV.js +29 -0
- package/cdn/chunks/chunk.LXQGTI2B.js +32 -0
- package/cdn/chunks/chunk.M43ZJHCX.js +33 -0
- package/cdn/chunks/chunk.M6QQY2ST.js +17603 -0
- package/cdn/chunks/chunk.MLJM2THR.js +19 -0
- package/cdn/chunks/chunk.MNP4CXLJ.js +19 -0
- package/cdn/chunks/chunk.MUXCPAHQ.js +543 -0
- package/cdn/chunks/chunk.MZKOUZD2.js +123 -0
- package/cdn/chunks/chunk.N2L7WOXF.js +29 -0
- package/cdn/chunks/chunk.N2SCVTHV.js +29 -0
- package/cdn/chunks/chunk.NCROEX7Z.js +29 -0
- package/cdn/chunks/chunk.NH4YMQJT.js +298 -0
- package/cdn/chunks/chunk.NIKJGSH5.js +19 -0
- package/cdn/chunks/chunk.NIQW247C.js +19 -0
- package/cdn/chunks/chunk.NKD2XOGT.js +33 -0
- package/cdn/chunks/chunk.NNUQZHMT.js +32 -0
- package/cdn/chunks/chunk.O3E7K42P.js +278 -0
- package/cdn/chunks/chunk.O3JICBSZ.js +904 -0
- package/cdn/chunks/chunk.O6V37MUB.js +19 -0
- package/cdn/chunks/chunk.OCOILS4L.js +531 -0
- package/cdn/chunks/chunk.OO345KKC.js +19 -0
- package/cdn/chunks/chunk.P5NZ7ZES.js +19 -0
- package/cdn/chunks/chunk.PB7O3LZB.js +2713 -0
- package/cdn/chunks/chunk.PDZ25A5I.js +19 -0
- package/cdn/chunks/chunk.PF6HHPHM.js +1691 -0
- package/cdn/chunks/chunk.PHX2Z4JM.js +113 -0
- package/cdn/chunks/chunk.PIEJ3UF6.js +592 -0
- package/cdn/chunks/chunk.PJPMBXC4.js +19 -0
- package/cdn/chunks/chunk.PKAVFPZ7.js +36 -0
- package/cdn/chunks/chunk.PNEWL4NR.js +925 -0
- package/cdn/chunks/chunk.PR55CF2E.js +19 -0
- package/cdn/chunks/chunk.PVARN7ER.js +86 -0
- package/cdn/chunks/chunk.Q4B4QXYW.js +19 -0
- package/cdn/chunks/chunk.Q7FVA2QA.js +234 -0
- package/cdn/chunks/chunk.QNGVGHSM.js +616 -0
- package/cdn/chunks/chunk.QSXNN4K7.js +29 -0
- package/cdn/chunks/chunk.QU5NA6A2.js +34 -0
- package/cdn/chunks/chunk.QUXBL6PU.js +19 -0
- package/cdn/chunks/chunk.QWKEI3FC.js +49 -0
- package/cdn/chunks/chunk.RCUE3PFX.js +19 -0
- package/cdn/chunks/chunk.RGMOIMLO.js +19 -0
- package/cdn/chunks/chunk.RHKWK57F.js +32 -0
- package/cdn/chunks/chunk.RK7LHY6Q.js +1197 -0
- package/cdn/chunks/chunk.RPETTG3O.js +19 -0
- package/cdn/chunks/chunk.RYLQ7J4S.js +134 -0
- package/cdn/chunks/chunk.S43EHJMQ.js +276 -0
- package/cdn/chunks/chunk.S5FXMDJD.js +136 -0
- package/cdn/chunks/chunk.SE55TMVG.js +143 -0
- package/cdn/chunks/chunk.SPVQ3TUO.js +188 -0
- package/cdn/chunks/chunk.STAMGMYS.js +19 -0
- package/cdn/chunks/chunk.SYUADFIF.js +151 -0
- package/cdn/chunks/chunk.SZVIFQRJ.js +71 -0
- package/cdn/chunks/chunk.T47BZXNK.js +19 -0
- package/cdn/chunks/chunk.TAGA7EGX.js +348 -0
- package/cdn/chunks/chunk.TG3YYWRJ.js +672 -0
- package/cdn/chunks/chunk.TOSFVKE4.js +36 -0
- package/cdn/chunks/chunk.TTCE562V.js +29 -0
- package/cdn/chunks/chunk.TTUIBJR7.js +29 -0
- package/cdn/chunks/chunk.TXCVCIZI.js +35 -0
- package/cdn/chunks/chunk.TZQ63Z3H.js +36 -0
- package/cdn/chunks/chunk.UBVO3Z7U.js +32 -0
- package/cdn/chunks/chunk.UI5WWHT7.js +19 -0
- package/cdn/chunks/chunk.UKCY4NE5.js +33 -0
- package/cdn/chunks/chunk.UKKNHVT2.js +2546 -0
- package/cdn/chunks/chunk.URQOTCAU.js +29 -0
- package/cdn/chunks/chunk.UUUD46S3.js +1862 -0
- package/cdn/chunks/chunk.VEIJLCDU.js +29 -0
- package/cdn/chunks/chunk.VKNIBCZI.js +19 -0
- package/cdn/chunks/chunk.VRMWYJMN.js +37 -0
- package/cdn/chunks/chunk.VSLVNJ6A.js +158 -0
- package/cdn/chunks/chunk.W36EIIQD.js +19 -0
- package/cdn/chunks/chunk.W4NGS5VZ.js +29 -0
- package/cdn/chunks/chunk.W5DRTC2Y.js +19 -0
- package/cdn/chunks/chunk.W7DYWM5I.js +32 -0
- package/cdn/chunks/chunk.WEGQDDNL.js +83 -0
- package/cdn/chunks/chunk.WHARISEG.js +29 -0
- package/cdn/chunks/chunk.WHHJJOQT.js +19 -0
- package/cdn/chunks/chunk.WNFL2Q36.js +524 -0
- package/cdn/chunks/chunk.WY6BZ6AK.js +138 -0
- package/cdn/chunks/chunk.WY7ZAZXA.js +19 -0
- package/cdn/chunks/chunk.X37TJUYW.js +19 -0
- package/cdn/chunks/chunk.X5GEXAXL.js +19 -0
- package/cdn/chunks/chunk.X76WQYYW.js +19 -0
- package/cdn/chunks/chunk.XVQCMA3M.js +32 -0
- package/cdn/chunks/chunk.XWYVG7GK.js +19 -0
- package/cdn/chunks/chunk.Y66HDAOP.js +32 -0
- package/cdn/chunks/chunk.YF7FICS7.js +19 -0
- package/cdn/chunks/chunk.YHKRAHVP.js +231 -0
- package/cdn/chunks/chunk.YPKEC5IK.js +29 -0
- package/cdn/chunks/chunk.YQ4SKOIN.js +132 -0
- package/cdn/chunks/chunk.Z3RVDKOC.js +15 -0
- package/cdn/chunks/chunk.Z44HWXXJ.js +195 -0
- package/cdn/chunks/chunk.ZAARA5NN.js +29 -0
- package/cdn/chunks/chunk.ZCVWVO2H.js +266 -0
- package/cdn/chunks/chunk.ZHIZCLYJ.js +93 -0
- package/cdn/chunks/chunk.ZL336EPZ.js +631 -0
- package/cdn/chunks/chunk.ZLI235RR.js +19 -0
- package/cdn/chunks/chunk.ZRV6GVL5.js +19 -0
- package/cdn/chunks/chunk.ZS67HYGB.js +56075 -0
- package/cdn/chunks/chunk.ZSELDXE4.js +19 -0
- package/cdn/chunks/chunk.ZZUDFWQK.js +19 -0
- package/cdn/chunks/lerc.WZVXX72L.js +2097 -0
- package/cdn/components/accordion/accordion.component.js +3 -3
- package/cdn/components/accordion/accordion.js +4 -4
- package/cdn/components/alert/alert.component.js +2 -2
- package/cdn/components/alert/alert.js +3 -3
- package/cdn/components/avatar/avatar.component.js +3 -3
- package/cdn/components/avatar/avatar.js +4 -4
- package/cdn/components/badge/badge.component.js +2 -2
- package/cdn/components/badge/badge.js +3 -3
- package/cdn/components/banner/banner.component.js +2 -2
- package/cdn/components/banner/banner.js +3 -3
- 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.js +11 -11
- package/cdn/components/browse-variables/browse-variables.js +12 -12
- package/cdn/components/button/button.component.js +3 -3
- package/cdn/components/button/button.js +4 -4
- 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 +4 -4
- package/cdn/components/checkbox/checkbox.js +5 -5
- package/cdn/components/chip/chip.component.js +2 -2
- package/cdn/components/chip/chip.js +3 -3
- package/cdn/components/combobox/combobox.component.js +4 -4
- package/cdn/components/combobox/combobox.js +5 -5
- package/cdn/components/data-access/data-access.component.js +35 -25
- package/cdn/components/data-access/data-access.js +36 -26
- 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.js +39 -29
- package/cdn/components/data-rods/data-rods.js +40 -30
- package/cdn/components/data-subsetter/data-subsetter.component.js +48 -38
- package/cdn/components/data-subsetter/data-subsetter.js +49 -39
- package/cdn/components/data-subsetter/notebooks/subsetter-notebook.js +1 -1
- package/cdn/components/data-subsetter-history/data-subsetter-history.component.js +50 -40
- package/cdn/components/data-subsetter-history/data-subsetter-history.js +51 -41
- package/cdn/components/date-picker/date-picker.component.js +7 -7
- package/cdn/components/date-picker/date-picker.js +8 -8
- package/cdn/components/date-range-slider/date-range-slider.component.js +2 -2
- package/cdn/components/date-range-slider/date-range-slider.js +3 -3
- package/cdn/components/dialog/dialog.component.js +4 -4
- package/cdn/components/dialog/dialog.js +5 -5
- package/cdn/components/divider/divider.component.js +2 -2
- package/cdn/components/divider/divider.js +3 -3
- package/cdn/components/dropdown/dropdown.component.js +3 -3
- package/cdn/components/dropdown/dropdown.js +4 -4
- package/cdn/components/earthdata-login/earthdata-login.component.js +10 -10
- package/cdn/components/earthdata-login/earthdata-login.js +11 -11
- 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.js +6 -6
- package/cdn/components/harmony-history/harmony-history.js +7 -7
- package/cdn/components/icon/icon.component.js +2 -2
- package/cdn/components/icon/icon.js +3 -3
- package/cdn/components/input/input.component.js +3 -3
- package/cdn/components/input/input.js +4 -4
- package/cdn/components/loader/loader.component.js +2 -2
- package/cdn/components/loader/loader.js +3 -3
- package/cdn/components/login/login.component.js +8 -8
- package/cdn/components/login/login.js +9 -9
- package/cdn/components/map/controls/draw-toolbar.control.js +3 -1
- package/cdn/components/map/layers/base.layer.d.ts +7 -0
- package/cdn/components/map/layers/base.layer.js +12 -0
- package/cdn/components/map/layers/borders.layer.d.ts +6 -0
- package/cdn/components/map/layers/borders.layer.js +14 -0
- package/cdn/components/map/layers/bordersStyleConfig.d.ts +29 -0
- package/cdn/components/map/layers/bordersStyleConfig.js +7 -0
- package/cdn/components/map/layers/labels.layer.d.ts +6 -0
- package/cdn/components/map/layers/labels.layer.js +14 -0
- package/cdn/components/map/layers/labelsStyleConfig.d.ts +2337 -0
- package/cdn/components/map/layers/labelsStyleConfig.js +7 -0
- package/cdn/components/map/map.component.d.ts +42 -0
- package/cdn/components/map/map.component.js +17 -7
- package/cdn/components/map/map.js +18 -8
- package/cdn/components/map/map.service.d.ts +50 -1
- package/cdn/components/map/map.service.js +14 -4
- package/cdn/components/map/map.styles.js +1 -1
- 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 +5 -5
- package/cdn/components/menu-item/menu-item.js +6 -6
- package/cdn/components/option/option.component.js +3 -3
- package/cdn/components/option/option.js +4 -4
- package/cdn/components/pagination/pagination.component.js +3 -3
- package/cdn/components/pagination/pagination.js +4 -4
- 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.js +25 -15
- package/cdn/components/plot-toolbar/plot-toolbar.js +26 -16
- 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 +2 -2
- package/cdn/components/radio/radio.js +3 -3
- package/cdn/components/radio-group/radio-group.component.js +2 -2
- package/cdn/components/radio-group/radio-group.js +3 -3
- package/cdn/components/scroll-hint/scroll-hint.component.js +3 -3
- package/cdn/components/scroll-hint/scroll-hint.js +4 -4
- package/cdn/components/select/select.component.js +5 -5
- package/cdn/components/select/select.js +6 -6
- package/cdn/components/site-header/site-header.component.js +3 -3
- package/cdn/components/site-header/site-header.js +3 -3
- 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.js +22 -12
- package/cdn/components/spatial-picker/spatial-picker.js +23 -13
- 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 +3 -3
- package/cdn/components/stepper-step/stepper-step.js +4 -4
- package/cdn/components/tab/tab.component.js +3 -3
- package/cdn/components/tab/tab.js +4 -4
- package/cdn/components/tab-panel/tab-panel.component.js +2 -2
- package/cdn/components/tab-panel/tab-panel.js +3 -3
- package/cdn/components/tabs/tabs.component.js +3 -3
- package/cdn/components/tabs/tabs.js +4 -4
- package/cdn/components/tag/tag.component.js +3 -3
- package/cdn/components/tag/tag.js +4 -4
- package/cdn/components/textarea/textarea.component.js +2 -2
- package/cdn/components/textarea/textarea.js +3 -3
- package/cdn/components/time-average-map/time-average-map.component.d.ts +12 -8
- package/cdn/components/time-average-map/time-average-map.component.js +32 -22
- package/cdn/components/time-average-map/time-average-map.controller.d.ts +5 -0
- package/cdn/components/time-average-map/time-average-map.controller.js +1 -1
- package/cdn/components/time-average-map/time-average-map.js +33 -23
- package/cdn/components/time-average-map/time-average-map.styles.js +1 -1
- package/cdn/components/time-series/time-series.component.js +31 -21
- package/cdn/components/time-series/time-series.controller.d.ts +5 -0
- package/cdn/components/time-series/time-series.controller.js +1 -1
- package/cdn/components/time-series/time-series.js +32 -22
- package/cdn/components/toast/toast.component.js +3 -3
- package/cdn/components/toast/toast.js +4 -4
- package/cdn/components/toggle/toggle.component.js +2 -2
- package/cdn/components/toggle/toggle.js +3 -3
- package/cdn/components/tooltip/tooltip.component.js +3 -3
- package/cdn/components/tooltip/tooltip.js +4 -4
- package/cdn/components/variable-combobox/variable-combobox.component.js +8 -8
- package/cdn/components/variable-combobox/variable-combobox.js +9 -9
- package/cdn/components/variable-keyword-search/variable-keyword-search.component.js +7 -7
- package/cdn/components/variable-keyword-search/variable-keyword-search.js +8 -8
- package/cdn/custom-elements.json +6691 -6612
- package/cdn/events/events.d.ts +1 -1
- package/cdn/events/terra-map-change.d.ts +6 -0
- package/cdn/react/accordion/index.js +4 -4
- package/cdn/react/alert/index.js +3 -3
- package/cdn/react/avatar/index.js +4 -4
- package/cdn/react/badge/index.js +3 -3
- package/cdn/react/banner/index.js +3 -3
- package/cdn/react/breadcrumb/index.js +3 -3
- package/cdn/react/breadcrumbs/index.js +3 -3
- package/cdn/react/browse-variables/index.js +12 -12
- package/cdn/react/button/index.js +4 -4
- 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 +5 -5
- package/cdn/react/chip/index.js +3 -3
- package/cdn/react/combobox/index.js +5 -5
- package/cdn/react/data-access/index.js +36 -26
- package/cdn/react/data-grid/index.js +4 -4
- package/cdn/react/data-rods/index.js +40 -30
- package/cdn/react/data-subsetter/index.js +49 -39
- package/cdn/react/data-subsetter-history/index.js +51 -41
- package/cdn/react/date-picker/index.js +8 -8
- package/cdn/react/date-range-slider/index.js +3 -3
- package/cdn/react/dialog/index.js +5 -5
- package/cdn/react/divider/index.js +3 -3
- package/cdn/react/dropdown/index.js +4 -4
- package/cdn/react/earthdata-login/index.js +11 -11
- package/cdn/react/file-upload/index.js +3 -3
- package/cdn/react/harmony-history/index.js +7 -7
- package/cdn/react/icon/index.js +3 -3
- package/cdn/react/index.d.ts +20 -20
- package/cdn/react/index.js +232 -222
- package/cdn/react/input/index.js +4 -4
- package/cdn/react/loader/index.js +3 -3
- package/cdn/react/login/index.js +9 -9
- package/cdn/react/map/index.js +18 -8
- package/cdn/react/menu/index.js +3 -3
- package/cdn/react/menu-item/index.js +6 -6
- package/cdn/react/option/index.js +4 -4
- package/cdn/react/pagination/index.js +4 -4
- package/cdn/react/plot/index.js +3 -3
- package/cdn/react/plot-toolbar/index.js +26 -16
- package/cdn/react/popup/index.js +3 -3
- package/cdn/react/progress-bar/index.js +3 -3
- package/cdn/react/radio/index.js +3 -3
- package/cdn/react/radio-group/index.js +3 -3
- package/cdn/react/scroll-hint/index.js +4 -4
- package/cdn/react/select/index.js +6 -6
- package/cdn/react/site-header/index.js +4 -4
- 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 +23 -13
- package/cdn/react/status-indicator/index.js +3 -3
- package/cdn/react/stepper/index.js +3 -3
- package/cdn/react/stepper-step/index.js +4 -4
- package/cdn/react/tab/index.js +4 -4
- package/cdn/react/tab-panel/index.js +3 -3
- package/cdn/react/tabs/index.js +4 -4
- package/cdn/react/tag/index.js +4 -4
- package/cdn/react/textarea/index.js +3 -3
- package/cdn/react/time-average-map/index.js +33 -23
- package/cdn/react/time-series/index.js +32 -22
- package/cdn/react/toast/index.js +4 -4
- package/cdn/react/toggle/index.js +3 -3
- package/cdn/react/tooltip/index.js +4 -4
- package/cdn/react/variable-combobox/index.js +9 -9
- package/cdn/react/variable-keyword-search/index.js +8 -8
- package/cdn/terra-ui-components.js +229 -219
- package/cdn/types/vue/index.d.ts +890 -870
- package/cdn/vscode.html-custom-data.json +625 -619
- package/cdn/web-types.json +2087 -2074
- package/dist/chunks/chunk.2HEXM6MX.js +154 -0
- package/dist/chunks/chunk.2XFQ7HNR.js +1 -0
- package/dist/chunks/chunk.2ZDFC7XD.js +5 -0
- package/dist/chunks/chunk.3AF4SJ26.js +780 -0
- package/dist/chunks/chunk.3CP7SY7X.js +1 -0
- package/dist/chunks/chunk.3NAZF34U.js +1 -0
- package/dist/chunks/chunk.3R2J27ZS.js +25 -0
- package/dist/chunks/chunk.3XRKWNW5.js +1 -0
- package/dist/chunks/chunk.3YJGZAO5.js +1 -0
- package/dist/chunks/chunk.447IKCOD.js +1 -0
- package/dist/chunks/chunk.44AWWV54.js +30 -0
- package/dist/chunks/chunk.46DYUPBX.js +22 -0
- package/dist/chunks/chunk.4E2BUN4F.js +1 -0
- package/dist/chunks/chunk.4NDKE3PZ.js +1 -0
- package/dist/chunks/chunk.4RFJMMAN.js +1 -0
- package/dist/chunks/chunk.4SRXQYLE.js +39 -0
- package/dist/chunks/chunk.4ZQUOM75.js +80 -0
- package/dist/chunks/chunk.5DDZRQCR.js +26 -0
- package/dist/chunks/chunk.5DJQBDNY.js +99 -0
- package/dist/chunks/chunk.5GJQRKUS.js +1 -0
- package/dist/chunks/chunk.5GTOXSEK.js +24 -0
- package/dist/chunks/chunk.5HY3BVXE.js +23 -0
- package/dist/chunks/chunk.5MNSQC5Z.js +43 -0
- package/dist/chunks/chunk.5S57Z6MY.js +1 -0
- package/dist/chunks/chunk.63KFBVDZ.js +125 -0
- package/dist/chunks/chunk.66FVHWWG.js +1 -0
- package/dist/chunks/chunk.6C3T5LR6.js +1 -0
- package/dist/chunks/chunk.6D4YDDOH.js +148 -0
- package/dist/chunks/chunk.6OVOBLEB.js +1 -0
- package/dist/chunks/chunk.6QWTHDDS.js +1 -0
- package/dist/chunks/chunk.6TIISOSM.js +1 -0
- package/dist/chunks/chunk.6UUXXIO5.js +1 -0
- package/dist/chunks/chunk.6YB2WV52.js +9 -0
- package/dist/chunks/chunk.6YNWYAON.js +1 -0
- package/dist/chunks/chunk.74UO2S6X.js +26 -0
- package/dist/chunks/chunk.75Q2DUI4.js +145 -0
- package/dist/chunks/chunk.7DCDWHIP.js +1 -0
- package/dist/chunks/chunk.7KOIBYPW.js +1 -0
- package/dist/chunks/chunk.7LW5MDPV.js +1 -0
- package/dist/chunks/chunk.7RSJSUF5.js +122 -0
- package/dist/chunks/chunk.7VL5XLTF.js +1 -0
- package/dist/chunks/chunk.7ZTODERJ.js +61 -0
- package/dist/chunks/chunk.A4JPZBCU.js +1 -0
- package/dist/chunks/chunk.A6XZHXKG.js +17 -0
- package/dist/chunks/chunk.ABDHAYTU.js +1 -0
- package/dist/chunks/chunk.AF4KKKIK.js +176 -0
- package/dist/chunks/chunk.AOJ7CENL.js +1 -0
- package/dist/chunks/chunk.ATX7REBU.js +1 -0
- package/dist/chunks/chunk.AUBMY7XI.js +8 -0
- package/dist/chunks/chunk.AV5MTWD4.js +1 -0
- package/dist/chunks/chunk.AWA2ZGEV.js +300 -0
- package/dist/chunks/chunk.AXXCXZWY.js +1 -0
- package/dist/chunks/chunk.AYEBTFZT.js +433 -0
- package/dist/chunks/chunk.B5FLJR3A.js +37 -0
- package/dist/chunks/chunk.BCI323BR.js +1 -0
- package/dist/chunks/chunk.BQ2TQQGG.js +1 -0
- package/dist/chunks/chunk.BRSDDKYM.js +33 -0
- package/dist/chunks/chunk.BYWODPGT.js +1 -0
- package/dist/chunks/chunk.C5S23DNK.js +1 -0
- package/dist/chunks/chunk.CBLMIMXD.js +20 -0
- package/dist/chunks/chunk.CC3TFKZ5.js +1 -0
- package/dist/chunks/chunk.CLGMXYFG.js +1 -0
- package/dist/chunks/chunk.CLQSO2B3.js +1 -0
- package/dist/chunks/chunk.CMABIFU7.js +1 -0
- package/dist/chunks/chunk.CS5XSAK7.js +1 -0
- package/dist/chunks/chunk.D5GCNDYG.js +1 -0
- package/dist/chunks/chunk.DANE2DV4.js +1 -0
- package/dist/chunks/chunk.DBLKA334.js +1 -0
- package/dist/chunks/chunk.DHUDN5NR.js +1 -0
- package/dist/chunks/chunk.DK636C4K.js +19 -0
- package/dist/chunks/chunk.DSIIF7K6.js +1 -0
- package/dist/chunks/chunk.DUG6LPDO.js +1 -0
- package/dist/chunks/chunk.DXULPI2C.js +1 -0
- package/dist/chunks/chunk.ECXCY3XX.js +12 -0
- package/dist/chunks/chunk.EFQ4VOA6.js +1 -0
- package/dist/chunks/chunk.EHEFJ4UM.js +35 -0
- package/dist/chunks/chunk.EPMIYG6Y.js +113 -0
- package/dist/chunks/chunk.F5HERH3C.js +1 -0
- package/dist/chunks/chunk.FEBNDE5C.js +1 -0
- package/dist/chunks/chunk.FSHLOPG4.js +1 -0
- package/dist/chunks/chunk.FTC6BJLL.js +47 -0
- package/dist/chunks/chunk.FWNUKBYM.js +1 -0
- package/dist/chunks/chunk.GCKLOHLJ.js +1 -0
- package/dist/chunks/chunk.GQT3QXWD.js +1 -0
- package/dist/chunks/chunk.GSCUNOLU.js +30 -0
- package/dist/chunks/chunk.GUIMVPU3.js +1 -0
- package/dist/chunks/chunk.GXCYLTXI.js +1 -0
- package/dist/chunks/chunk.H2EZ7VOW.js +1 -0
- package/dist/chunks/chunk.H2MRWWA5.js +1 -0
- package/dist/chunks/chunk.H4WCUAI5.js +1 -0
- package/dist/chunks/chunk.H6HYWCWZ.js +55 -0
- package/dist/chunks/chunk.HKXBQIJC.js +1 -0
- package/dist/chunks/chunk.HLRV2WXA.js +1 -0
- package/dist/chunks/chunk.HPSHJNUL.js +1 -0
- package/dist/chunks/chunk.HQE6JQ36.js +1 -0
- package/dist/chunks/chunk.HTRDWX5D.js +1 -0
- package/dist/chunks/chunk.I2H5CL5B.js +1 -0
- package/dist/chunks/chunk.I2VZCTPD.js +1 -0
- package/dist/chunks/chunk.I3ABET54.js +1 -0
- package/dist/chunks/chunk.I4XNSZMV.js +14 -0
- package/dist/chunks/chunk.IDRV4QVY.js +75 -0
- package/dist/chunks/chunk.IHH2EMZT.js +280 -0
- package/dist/chunks/chunk.IX4DTAAR.js +1 -0
- package/dist/chunks/chunk.IYYXOBVJ.js +1 -0
- package/dist/chunks/chunk.J6YMXA4V.js +1 -0
- package/dist/chunks/chunk.JF64QOIK.js +1 -0
- package/dist/chunks/chunk.JMGGBACY.js +1 -0
- package/dist/chunks/chunk.JPRIHHL3.js +1 -0
- package/dist/chunks/chunk.JUV3F76R.js +35 -0
- package/dist/chunks/chunk.K67524WR.js +1 -0
- package/dist/chunks/chunk.K6KJNAUI.js +1 -0
- package/dist/chunks/chunk.KCCCUPQI.js +74 -0
- package/dist/chunks/chunk.KDP7MFSQ.js +1 -0
- package/dist/chunks/chunk.KG3775TI.js +1 -0
- package/dist/chunks/chunk.KG4H7K5W.js +11 -0
- package/dist/chunks/chunk.KIXW3H6F.js +1 -0
- package/dist/chunks/chunk.KRQB5VTT.js +1 -0
- package/dist/chunks/chunk.KSEX673E.js +1 -0
- package/dist/chunks/chunk.KUPSLOUX.js +1 -0
- package/dist/chunks/chunk.L2IUPHO3.js +1 -0
- package/dist/chunks/chunk.LCGVUMKQ.js +43 -0
- package/dist/chunks/chunk.LFHFYBLO.js +1 -0
- package/dist/chunks/chunk.LICY6WJT.js +4 -0
- package/dist/chunks/chunk.LKQ44YSQ.js +1 -0
- package/dist/chunks/chunk.M4G2JEW2.js +1 -0
- package/dist/chunks/chunk.MBOEFHQI.js +55 -0
- package/dist/chunks/chunk.MCR2VZQP.js +1 -0
- package/dist/chunks/chunk.MGN6FPMX.js +1 -0
- package/dist/chunks/chunk.MOWA5ULN.js +1 -0
- package/dist/chunks/chunk.MPDRWVZL.js +1 -0
- package/dist/chunks/chunk.MSBCPIGA.js +1 -0
- package/dist/chunks/chunk.N4IMML6I.js +121 -0
- package/dist/chunks/chunk.NRTWU3TW.js +1 -0
- package/dist/chunks/chunk.NW27EPOF.js +5 -0
- package/dist/chunks/chunk.NXSYWMFP.js +1 -0
- package/dist/chunks/chunk.NZNJPDVW.js +1 -0
- package/dist/chunks/chunk.OAALYDNZ.js +1 -0
- package/dist/chunks/chunk.OANTUX24.js +48 -0
- package/dist/chunks/chunk.OFOCDP2M.js +1 -0
- package/dist/chunks/chunk.OJUQFN4A.js +27 -0
- package/dist/chunks/chunk.OPBZIY2A.js +1 -0
- package/dist/chunks/chunk.OT6SFBQX.js +1 -0
- package/dist/chunks/chunk.OWZEKFKL.js +1 -0
- package/dist/chunks/chunk.OZUKFWGD.js +1 -0
- package/dist/chunks/chunk.P5XWJ5HC.js +1 -0
- package/dist/chunks/chunk.PR7E6KYS.js +1 -0
- package/dist/chunks/chunk.PTN44XCI.js +572 -0
- package/dist/chunks/chunk.PWT5JMOP.js +1 -0
- package/dist/chunks/chunk.QBXUVQTY.js +1 -0
- package/dist/chunks/chunk.QIS56XCC.js +1 -0
- package/dist/chunks/chunk.QP5FZIRF.js +1 -0
- package/dist/chunks/chunk.QQV7OIO7.js +55 -0
- package/dist/chunks/chunk.QS2CNV3Q.js +1 -0
- package/dist/chunks/chunk.QUULVCZU.js +1 -0
- package/dist/chunks/chunk.R4JAF7DS.js +1 -0
- package/dist/chunks/chunk.RFRYQSE5.js +41 -0
- package/dist/chunks/chunk.RIDJTVHV.js +1 -0
- package/dist/chunks/chunk.RNGOVZGF.js +9 -0
- package/dist/chunks/chunk.RRTP2FHP.js +1 -0
- package/dist/chunks/chunk.RW66TULD.js +1 -0
- package/dist/chunks/chunk.RXSKPOBF.js +1 -0
- package/dist/chunks/chunk.RYL27WYB.js +1 -0
- package/dist/chunks/chunk.SAHUIO3P.js +1 -0
- package/dist/chunks/chunk.SPNO75Q4.js +514 -0
- package/dist/chunks/chunk.SY3HGJA3.js +100 -0
- package/dist/chunks/chunk.SYGSWLVD.js +1 -0
- package/dist/chunks/chunk.TAQ6A3B7.js +2 -0
- package/dist/chunks/chunk.TQZFMQPE.js +11 -0
- package/dist/chunks/chunk.TSOQGANL.js +1 -0
- package/dist/chunks/chunk.TTWUGVNW.js +1 -0
- package/dist/chunks/chunk.UCO7ADVP.js +64 -0
- package/dist/chunks/chunk.UFJISWXG.js +1 -0
- package/dist/chunks/chunk.UFYFMNUK.js +1 -0
- package/dist/chunks/chunk.UIQXEV7N.js +67 -0
- package/dist/chunks/chunk.UZHA3QCH.js +1190 -0
- package/dist/chunks/chunk.UZI5DYPK.js +41 -0
- package/dist/chunks/chunk.UZZBJV4T.js +1 -0
- package/dist/chunks/chunk.V34PEB3H.js +1 -0
- package/dist/chunks/chunk.V4X3J7H5.js +1 -0
- package/dist/chunks/chunk.VILSXY2Q.js +1 -0
- package/dist/chunks/chunk.VSPWNHOW.js +1 -0
- package/dist/chunks/chunk.VT3KMZ66.js +1 -0
- package/dist/chunks/chunk.VZESRFZQ.js +62 -0
- package/dist/chunks/chunk.W57YAS2G.js +1 -0
- package/dist/chunks/chunk.WDHC6FGQ.js +157 -0
- package/dist/chunks/chunk.WE4PQXFD.js +65 -0
- package/dist/chunks/chunk.WG457PDK.js +1 -0
- package/dist/chunks/chunk.WJQTKD6X.js +1 -0
- package/dist/chunks/chunk.WKNEHZOD.js +16 -0
- package/dist/chunks/chunk.WQFHYRFG.js +1 -0
- package/dist/chunks/chunk.WTDZWPN3.js +1 -0
- package/dist/chunks/chunk.WZYEI2K3.js +1 -0
- package/dist/chunks/chunk.X266J3HR.js +1 -0
- package/dist/chunks/chunk.X74E6IXG.js +1 -0
- package/dist/chunks/chunk.XA6IYBQ4.js +1 -0
- package/dist/chunks/chunk.XAZE2FE3.js +1 -0
- package/dist/chunks/chunk.XJKVDKZL.js +1 -0
- package/dist/chunks/chunk.XUAILPGW.js +1 -0
- package/dist/chunks/chunk.XV7MX5O2.js +1 -0
- package/dist/chunks/chunk.YA5FFFLQ.js +20 -0
- package/dist/chunks/chunk.YDXNKY2Y.js +1 -0
- package/dist/chunks/chunk.YOFBYVP5.js +6 -0
- package/dist/chunks/chunk.YR5SSBSW.js +299 -0
- package/dist/chunks/chunk.YUDIM7TE.js +1 -0
- package/dist/chunks/chunk.YX5E2IPT.js +1 -0
- package/dist/chunks/chunk.ZRR3M7ZR.js +8 -0
- package/dist/chunks/chunk.ZUZ7QHWU.js +1 -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.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.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.js +1 -1
- package/dist/components/data-rods/data-rods.js +1 -1
- 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/notebooks/subsetter-notebook.js +1 -1
- 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.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.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.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.js +1 -1
- package/dist/components/login/login.js +1 -1
- package/dist/components/map/layers/base.layer.d.ts +7 -0
- package/dist/components/map/layers/base.layer.js +1 -0
- package/dist/components/map/layers/borders.layer.d.ts +6 -0
- package/dist/components/map/layers/borders.layer.js +1 -0
- package/dist/components/map/layers/bordersStyleConfig.d.ts +29 -0
- package/dist/components/map/layers/bordersStyleConfig.js +1 -0
- package/dist/components/map/layers/labels.layer.d.ts +6 -0
- package/dist/components/map/layers/labels.layer.js +1 -0
- package/dist/components/map/layers/labelsStyleConfig.d.ts +2337 -0
- package/dist/components/map/layers/labelsStyleConfig.js +1 -0
- package/dist/components/map/map.component.d.ts +42 -0
- 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 +50 -1
- package/dist/components/map/map.service.js +1 -1
- package/dist/components/map/map.styles.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.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.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.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 +12 -8
- package/dist/components/time-average-map/time-average-map.component.js +1 -1
- package/dist/components/time-average-map/time-average-map.controller.d.ts +5 -0
- 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-average-map/time-average-map.styles.js +1 -1
- package/dist/components/time-series/time-series.component.js +1 -1
- package/dist/components/time-series/time-series.controller.d.ts +5 -0
- 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.js +1 -1
- package/dist/components/variable-combobox/variable-combobox.js +1 -1
- 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 +6691 -6612
- package/dist/events/events.d.ts +1 -1
- package/dist/events/terra-map-change.d.ts +6 -0
- 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.js +1 -1
- package/dist/react/data-subsetter/index.js +1 -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.js +1 -1
- package/dist/react/icon/index.js +1 -1
- package/dist/react/index.d.ts +20 -20
- 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.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.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.js +1 -1
- 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.js +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.199-py3-none-any.whl +0 -0
- package/dist/terra_ui_components-0.0.199.tar.gz +0 -0
- package/dist/types/vue/index.d.ts +890 -870
- package/dist/vscode.html-custom-data.json +625 -619
- package/dist/web-types.json +2087 -2074
- package/package.json +2 -1
- package/cdn/chunks/GeoTIFF.NRJSPXBW.js +0 -21958
- package/cdn/chunks/chunk.25SASHHO.js +0 -60
- package/cdn/chunks/chunk.27NEXEZY.js +0 -19
- package/cdn/chunks/chunk.2FFK57ZH.js +0 -1264
- package/cdn/chunks/chunk.2FGK3J7F.js +0 -29
- package/cdn/chunks/chunk.2FSQRD2X.js +0 -32
- package/cdn/chunks/chunk.2P5VNQ3Q.js +0 -36
- package/cdn/chunks/chunk.34EBDDZ2.js +0 -19
- package/cdn/chunks/chunk.3AK225D4.js +0 -35
- package/cdn/chunks/chunk.3DB6PNAX.js +0 -36
- package/cdn/chunks/chunk.3IYEHDGU.js +0 -19
- package/cdn/chunks/chunk.3KHEMQPI.js +0 -19
- package/cdn/chunks/chunk.3Q2LDNOY.js +0 -276
- package/cdn/chunks/chunk.3RCH7UZU.js +0 -19
- package/cdn/chunks/chunk.3UIUIYCO.js +0 -32
- package/cdn/chunks/chunk.3VQHJIOH.js +0 -277
- package/cdn/chunks/chunk.4FFCJHOF.js +0 -29
- package/cdn/chunks/chunk.4GDEK6CA.js +0 -1975
- package/cdn/chunks/chunk.4KGQA5PY.js +0 -657
- package/cdn/chunks/chunk.4OGJ2ZSG.js +0 -195
- package/cdn/chunks/chunk.4VSXBUU6.js +0 -377
- package/cdn/chunks/chunk.4Z7MSJL7.js +0 -19
- package/cdn/chunks/chunk.53FLKCIC.js +0 -19
- package/cdn/chunks/chunk.5ASO3OUZ.js +0 -138
- package/cdn/chunks/chunk.5D655ZE7.js +0 -19
- package/cdn/chunks/chunk.5ETTKUDG.js +0 -188
- package/cdn/chunks/chunk.5IQUQXEQ.js +0 -19
- package/cdn/chunks/chunk.5LXVG2NR.js +0 -2713
- package/cdn/chunks/chunk.5SWFG3T6.js +0 -151
- package/cdn/chunks/chunk.673RMALO.js +0 -104
- package/cdn/chunks/chunk.6EVMKXR5.js +0 -32
- package/cdn/chunks/chunk.6HUTR57W.js +0 -19
- package/cdn/chunks/chunk.6JSHABDB.js +0 -32
- package/cdn/chunks/chunk.763TTBY7.js +0 -93
- package/cdn/chunks/chunk.763WHPEC.js +0 -132
- package/cdn/chunks/chunk.7BKQAOA6.js +0 -904
- package/cdn/chunks/chunk.7EKX7V3C.js +0 -32
- package/cdn/chunks/chunk.7T7SZ2MG.js +0 -224
- package/cdn/chunks/chunk.7UOLOECG.js +0 -19
- package/cdn/chunks/chunk.7XXKTRE2.js +0 -62
- package/cdn/chunks/chunk.AAQP4ZRG.js +0 -36
- package/cdn/chunks/chunk.ACM6IUFA.js +0 -29
- package/cdn/chunks/chunk.ACQRX6KA.js +0 -2546
- package/cdn/chunks/chunk.AE7GQ2OH.js +0 -162
- package/cdn/chunks/chunk.AOAMCCLA.js +0 -230
- package/cdn/chunks/chunk.AOCKA5FE.js +0 -19
- package/cdn/chunks/chunk.AQ5UEM6S.js +0 -136
- package/cdn/chunks/chunk.ATCMXTT6.js +0 -155
- package/cdn/chunks/chunk.AXUUEQIQ.js +0 -19
- package/cdn/chunks/chunk.BDDP57YT.js +0 -616
- package/cdn/chunks/chunk.BIO3CT7R.js +0 -19
- package/cdn/chunks/chunk.BX4XMEDL.js +0 -32
- package/cdn/chunks/chunk.C4Q3HQT3.js +0 -19
- package/cdn/chunks/chunk.CCVZBOJU.js +0 -19
- package/cdn/chunks/chunk.CFWEN4DK.js +0 -19
- package/cdn/chunks/chunk.CKRCCLC4.js +0 -1197
- package/cdn/chunks/chunk.COOTH73Y.js +0 -158
- package/cdn/chunks/chunk.CQQ7A6TB.js +0 -19
- package/cdn/chunks/chunk.CSSDZBIW.js +0 -29
- package/cdn/chunks/chunk.CVCOATX4.js +0 -29
- package/cdn/chunks/chunk.CYHEIQK4.js +0 -19
- package/cdn/chunks/chunk.D5MA5XD2.js +0 -19
- package/cdn/chunks/chunk.D65VLQ5F.js +0 -925
- package/cdn/chunks/chunk.DDAV4MHH.js +0 -33
- package/cdn/chunks/chunk.DTCGB6MX.js +0 -29
- package/cdn/chunks/chunk.DVOT5I62.js +0 -266
- package/cdn/chunks/chunk.E23DSFKG.js +0 -19
- package/cdn/chunks/chunk.E3AMPHJV.js +0 -29
- package/cdn/chunks/chunk.ED45RVQ7.js +0 -134
- package/cdn/chunks/chunk.EN2T3RPZ.js +0 -19
- package/cdn/chunks/chunk.EQ6SQSU4.js +0 -113
- package/cdn/chunks/chunk.F3KZAEMI.js +0 -86
- package/cdn/chunks/chunk.FAHOVJJQ.js +0 -19
- package/cdn/chunks/chunk.FETH5QYA.js +0 -92
- package/cdn/chunks/chunk.FGO5SZJJ.js +0 -29
- package/cdn/chunks/chunk.FOWCYICQ.js +0 -19
- package/cdn/chunks/chunk.FP46ENK2.js +0 -106
- package/cdn/chunks/chunk.FQDDBEJS.js +0 -478
- package/cdn/chunks/chunk.FRXGVFPM.js +0 -32
- package/cdn/chunks/chunk.G2JFFI24.js +0 -19
- package/cdn/chunks/chunk.G6U6RXJS.js +0 -82
- package/cdn/chunks/chunk.GB6CFGNH.js +0 -29
- package/cdn/chunks/chunk.GGTQYGC5.js +0 -458
- package/cdn/chunks/chunk.GJEUR34A.js +0 -32
- package/cdn/chunks/chunk.GL4VHOZ6.js +0 -631
- package/cdn/chunks/chunk.GMM3EOD6.js +0 -9743
- package/cdn/chunks/chunk.GN3JMZRR.js +0 -29
- package/cdn/chunks/chunk.GQBAO7NT.js +0 -29
- package/cdn/chunks/chunk.GXV3SI3E.js +0 -310
- package/cdn/chunks/chunk.H4E67GBN.js +0 -32
- package/cdn/chunks/chunk.HP5JGXDX.js +0 -19
- package/cdn/chunks/chunk.HPESON7W.js +0 -443
- package/cdn/chunks/chunk.HPFSUZ5Z.js +0 -294
- package/cdn/chunks/chunk.HTRP2HMU.js +0 -19
- package/cdn/chunks/chunk.IOPMJDF5.js +0 -19
- package/cdn/chunks/chunk.IPOUZRQQ.js +0 -33
- package/cdn/chunks/chunk.J2MEB73Q.js +0 -19
- package/cdn/chunks/chunk.J2YY5O2V.js +0 -543
- package/cdn/chunks/chunk.J534EJQR.js +0 -19
- package/cdn/chunks/chunk.J5YZLQZG.js +0 -19
- package/cdn/chunks/chunk.JALTEGNG.js +0 -19
- package/cdn/chunks/chunk.JERVD5PR.js +0 -30
- package/cdn/chunks/chunk.JINQBHNW.js +0 -60
- package/cdn/chunks/chunk.JJOHTWOC.js +0 -36
- package/cdn/chunks/chunk.JZPB2P2H.js +0 -34
- package/cdn/chunks/chunk.JZXYV4F3.js +0 -19
- package/cdn/chunks/chunk.KDMCTX4V.js +0 -19
- package/cdn/chunks/chunk.KJ2GVCPZ.js +0 -29
- package/cdn/chunks/chunk.KJUPXC55.js +0 -41
- package/cdn/chunks/chunk.KLHRICOA.js +0 -19
- package/cdn/chunks/chunk.LBDLTKYA.js +0 -34
- package/cdn/chunks/chunk.LBTS6K2C.js +0 -19
- package/cdn/chunks/chunk.LJNSIKDU.js +0 -74
- package/cdn/chunks/chunk.LMEJH2BQ.js +0 -234
- package/cdn/chunks/chunk.LOTR636L.js +0 -19
- package/cdn/chunks/chunk.LP56SNNW.js +0 -19
- package/cdn/chunks/chunk.LQUILBH4.js +0 -19
- package/cdn/chunks/chunk.LRWHUN6Q.js +0 -19
- package/cdn/chunks/chunk.LSLLV44U.js +0 -35
- package/cdn/chunks/chunk.LWN6Z2MT.js +0 -610
- package/cdn/chunks/chunk.M67NQHER.js +0 -259
- package/cdn/chunks/chunk.MVC3GRDP.js +0 -524
- package/cdn/chunks/chunk.MZPYNFAK.js +0 -19
- package/cdn/chunks/chunk.NAYEMU6V.js +0 -594
- package/cdn/chunks/chunk.NBV7BO7K.js +0 -35
- package/cdn/chunks/chunk.NBVGG52Y.js +0 -19
- package/cdn/chunks/chunk.NCBYWOID.js +0 -33
- package/cdn/chunks/chunk.NEXXYMR2.js +0 -29
- package/cdn/chunks/chunk.NGS4A7JM.js +0 -960
- package/cdn/chunks/chunk.NPWYBDA7.js +0 -19
- package/cdn/chunks/chunk.O4C2GKGK.js +0 -357
- package/cdn/chunks/chunk.O7LDEO3Y.js +0 -36
- package/cdn/chunks/chunk.OKZX2FLN.js +0 -190
- package/cdn/chunks/chunk.OMDMKCSO.js +0 -68
- package/cdn/chunks/chunk.OMV3UFK5.js +0 -19
- package/cdn/chunks/chunk.OUPRETB6.js +0 -537
- package/cdn/chunks/chunk.OWEAZGNG.js +0 -29
- package/cdn/chunks/chunk.P3IZXZD7.js +0 -19
- package/cdn/chunks/chunk.P4PYSONI.js +0 -1985
- package/cdn/chunks/chunk.P5L2C7D6.js +0 -33
- package/cdn/chunks/chunk.PAFDTAPQ.js +0 -71
- package/cdn/chunks/chunk.PFTM3PHG.js +0 -110
- package/cdn/chunks/chunk.PZT47FKK.js +0 -19
- package/cdn/chunks/chunk.Q7SENWN7.js +0 -32
- package/cdn/chunks/chunk.QAEFL5ZA.js +0 -29
- package/cdn/chunks/chunk.QJUVPP3K.js +0 -19
- package/cdn/chunks/chunk.QLB2HRLZ.js +0 -19
- package/cdn/chunks/chunk.QWF3B66L.js +0 -29
- package/cdn/chunks/chunk.QXZWFB45.js +0 -19
- package/cdn/chunks/chunk.QZU24DVR.js +0 -47
- package/cdn/chunks/chunk.R3DMTQZ7.js +0 -99
- package/cdn/chunks/chunk.R77CTO6K.js +0 -32
- package/cdn/chunks/chunk.R7LMVJAZ.js +0 -83
- package/cdn/chunks/chunk.RCOD7FFJ.js +0 -278
- package/cdn/chunks/chunk.RKS4PEGG.js +0 -330
- package/cdn/chunks/chunk.RRPDBZZG.js +0 -19
- package/cdn/chunks/chunk.RT45YBDH.js +0 -19
- package/cdn/chunks/chunk.S6FUVU5G.js +0 -19
- package/cdn/chunks/chunk.SKBS4BJN.js +0 -24561
- package/cdn/chunks/chunk.SPWQ65KD.js +0 -29
- package/cdn/chunks/chunk.SR3N2FYU.js +0 -78
- package/cdn/chunks/chunk.STHBAAN2.js +0 -538
- package/cdn/chunks/chunk.SX3JRN4T.js +0 -599
- package/cdn/chunks/chunk.TDMPHDKJ.js +0 -19
- package/cdn/chunks/chunk.TFXTRVKP.js +0 -29
- package/cdn/chunks/chunk.TKY6BLP4.js +0 -19
- package/cdn/chunks/chunk.TUOTP4CD.js +0 -19
- package/cdn/chunks/chunk.UDHCKILF.js +0 -29
- package/cdn/chunks/chunk.UI656UYI.js +0 -56075
- package/cdn/chunks/chunk.UQSFYHDF.js +0 -29
- package/cdn/chunks/chunk.UXFIJ2ZX.js +0 -293
- package/cdn/chunks/chunk.UYNLPW2B.js +0 -298
- package/cdn/chunks/chunk.VH3CFXFW.js +0 -39
- package/cdn/chunks/chunk.VIBJ6GTB.js +0 -231
- package/cdn/chunks/chunk.VU5YCBI7.js +0 -29
- package/cdn/chunks/chunk.VZZ5VWGT.js +0 -515
- package/cdn/chunks/chunk.WIYWTJBS.js +0 -29
- package/cdn/chunks/chunk.WJ6P74RX.js +0 -672
- package/cdn/chunks/chunk.WOGYXGQJ.js +0 -29
- package/cdn/chunks/chunk.WRH6KGLB.js +0 -32
- package/cdn/chunks/chunk.WVFK7SEA.js +0 -19
- package/cdn/chunks/chunk.WY7Z4HZC.js +0 -19
- package/cdn/chunks/chunk.WZWTQD7Z.js +0 -29
- package/cdn/chunks/chunk.X2VWBUE3.js +0 -19
- package/cdn/chunks/chunk.X4BGAKNR.js +0 -123
- package/cdn/chunks/chunk.X4HGAHKQ.js +0 -35
- package/cdn/chunks/chunk.X7YHUN2A.js +0 -19
- package/cdn/chunks/chunk.XA72A6DU.js +0 -19
- package/cdn/chunks/chunk.XC7Z44CM.js +0 -19
- package/cdn/chunks/chunk.XFCD7OFY.js +0 -33
- package/cdn/chunks/chunk.XLQG5E2P.js +0 -37
- package/cdn/chunks/chunk.XTGUW4UW.js +0 -35
- package/cdn/chunks/chunk.XUTJ666V.js +0 -19
- package/cdn/chunks/chunk.XWRI2TBI.js +0 -19
- package/cdn/chunks/chunk.YGLWUTM5.js +0 -29
- package/cdn/chunks/chunk.YNXKSK2K.js +0 -29
- package/cdn/chunks/chunk.YSK7YOI2.js +0 -359
- package/cdn/chunks/chunk.Z2ZM5DA2.js +0 -37
- package/cdn/chunks/chunk.Z7HEB67J.js +0 -29
- package/cdn/chunks/chunk.ZEFZMBN5.js +0 -29
- package/cdn/chunks/chunk.ZKIDCWMN.js +0 -32
- package/cdn/chunks/chunk.ZLKXOXOU.js +0 -49
- package/cdn/chunks/chunk.ZMRWSDKT.js +0 -29
- package/cdn/chunks/chunk.ZQFRHM65.js +0 -32
- package/cdn/chunks/chunk.ZYWUJLL7.js +0 -29
- package/cdn/chunks/lerc.4U2WA6NV.js +0 -2097
- package/dist/chunks/chunk.24SX4FMU.js +0 -1
- package/dist/chunks/chunk.2GXQG2C6.js +0 -1
- package/dist/chunks/chunk.2XKK72BX.js +0 -1
- package/dist/chunks/chunk.2XPGS7YP.js +0 -48
- package/dist/chunks/chunk.2ZYNR23M.js +0 -1
- package/dist/chunks/chunk.36HLLZYQ.js +0 -1
- package/dist/chunks/chunk.3CU7KNNE.js +0 -1
- package/dist/chunks/chunk.3ITVVL3P.js +0 -1
- package/dist/chunks/chunk.3W34LXSN.js +0 -1
- package/dist/chunks/chunk.4GQ4J4RQ.js +0 -47
- package/dist/chunks/chunk.4QD3ZYJY.js +0 -24
- package/dist/chunks/chunk.4R2LB5BK.js +0 -1
- package/dist/chunks/chunk.4UFR7QMC.js +0 -1
- package/dist/chunks/chunk.52ODFIC3.js +0 -1
- package/dist/chunks/chunk.55EGVUKA.js +0 -8
- package/dist/chunks/chunk.5FJJ7CKA.js +0 -1
- package/dist/chunks/chunk.5GXF4QPJ.js +0 -1
- package/dist/chunks/chunk.5HMYUJA4.js +0 -11
- package/dist/chunks/chunk.5TC6SHQD.js +0 -1
- package/dist/chunks/chunk.5Y2ANPPB.js +0 -121
- package/dist/chunks/chunk.64BYIJHY.js +0 -1
- package/dist/chunks/chunk.6ETTLWXK.js +0 -1
- package/dist/chunks/chunk.6FH4FIIS.js +0 -157
- package/dist/chunks/chunk.6NISHRMO.js +0 -1
- package/dist/chunks/chunk.6OIEAUAO.js +0 -9
- package/dist/chunks/chunk.6SIPIJUK.js +0 -19
- package/dist/chunks/chunk.6XQYLPLE.js +0 -1
- package/dist/chunks/chunk.6ZY5ELEO.js +0 -1
- package/dist/chunks/chunk.73NL7DL3.js +0 -1
- package/dist/chunks/chunk.75UA5KEJ.js +0 -1
- package/dist/chunks/chunk.7L35TYU5.js +0 -1
- package/dist/chunks/chunk.7NFE6ZZV.js +0 -1
- package/dist/chunks/chunk.7SDRQM32.js +0 -1
- package/dist/chunks/chunk.7YCJNGUN.js +0 -148
- package/dist/chunks/chunk.A4MX5WMW.js +0 -43
- package/dist/chunks/chunk.A673HJFE.js +0 -1
- package/dist/chunks/chunk.AFIUQX3S.js +0 -20
- package/dist/chunks/chunk.AGRACYBL.js +0 -1
- package/dist/chunks/chunk.AOIZBSP4.js +0 -14
- package/dist/chunks/chunk.AXF5M76D.js +0 -35
- package/dist/chunks/chunk.BOTQGLFI.js +0 -1190
- package/dist/chunks/chunk.BQC5WG2F.js +0 -1
- package/dist/chunks/chunk.BS64IZTS.js +0 -1
- package/dist/chunks/chunk.BXVCOWUZ.js +0 -122
- package/dist/chunks/chunk.BYA3HDVE.js +0 -154
- package/dist/chunks/chunk.C3X67ZLF.js +0 -1
- package/dist/chunks/chunk.CBBP6HID.js +0 -1
- package/dist/chunks/chunk.CFCILO2Y.js +0 -1
- package/dist/chunks/chunk.CLLARK3K.js +0 -27
- package/dist/chunks/chunk.CNWVGJYN.js +0 -127
- package/dist/chunks/chunk.CO4V5XB7.js +0 -1
- package/dist/chunks/chunk.CXDMJZ4A.js +0 -1
- package/dist/chunks/chunk.D2RDQWCD.js +0 -1
- package/dist/chunks/chunk.DA3J4VXR.js +0 -145
- package/dist/chunks/chunk.DBNR7FR7.js +0 -1
- package/dist/chunks/chunk.DCBVJQPK.js +0 -1
- package/dist/chunks/chunk.DCM3VMX3.js +0 -1
- package/dist/chunks/chunk.DD4HJH47.js +0 -6
- package/dist/chunks/chunk.DDWDUBXM.js +0 -30
- package/dist/chunks/chunk.DMWYZA3Y.js +0 -1
- package/dist/chunks/chunk.DPTTMTMJ.js +0 -1
- package/dist/chunks/chunk.DXEDGBWD.js +0 -11
- package/dist/chunks/chunk.EJZK2KGV.js +0 -1
- package/dist/chunks/chunk.ELNLFTBC.js +0 -8
- package/dist/chunks/chunk.F3CMUMHO.js +0 -1
- package/dist/chunks/chunk.F6QDIBZ2.js +0 -1
- package/dist/chunks/chunk.FB7XCQPI.js +0 -1
- package/dist/chunks/chunk.FC7OUKJM.js +0 -1
- package/dist/chunks/chunk.FCBH4XA6.js +0 -20
- package/dist/chunks/chunk.FDOGNNGJ.js +0 -1
- package/dist/chunks/chunk.FJYHLRCI.js +0 -1
- package/dist/chunks/chunk.FKPKXR4K.js +0 -1
- package/dist/chunks/chunk.FQUY53QY.js +0 -1
- package/dist/chunks/chunk.FR7BDEKN.js +0 -1
- package/dist/chunks/chunk.FVAIGJMJ.js +0 -1
- package/dist/chunks/chunk.G3QY2X2J.js +0 -1
- package/dist/chunks/chunk.GCRALU2G.js +0 -30
- package/dist/chunks/chunk.GJA52HAR.js +0 -1
- package/dist/chunks/chunk.GJBPFJ2K.js +0 -1
- package/dist/chunks/chunk.GVJLQQRL.js +0 -55
- package/dist/chunks/chunk.H5C34R7T.js +0 -1
- package/dist/chunks/chunk.H633XPHC.js +0 -1
- package/dist/chunks/chunk.HIK6ESFZ.js +0 -1
- package/dist/chunks/chunk.HVOJ5I2Q.js +0 -1
- package/dist/chunks/chunk.I3MPRNEW.js +0 -1
- package/dist/chunks/chunk.IIFFGPR4.js +0 -1
- package/dist/chunks/chunk.IQHS4SSB.js +0 -22
- package/dist/chunks/chunk.IRXHB5LN.js +0 -1
- package/dist/chunks/chunk.IUTF6RLJ.js +0 -1
- package/dist/chunks/chunk.J4OEX4V7.js +0 -1
- package/dist/chunks/chunk.J54CLY55.js +0 -176
- package/dist/chunks/chunk.JJ2RKYZX.js +0 -1
- package/dist/chunks/chunk.JKHYEFZ7.js +0 -67
- package/dist/chunks/chunk.JLLYBW5K.js +0 -1
- package/dist/chunks/chunk.JNEOJDFH.js +0 -1
- package/dist/chunks/chunk.JNGVL46L.js +0 -1
- package/dist/chunks/chunk.JPRQO25T.js +0 -1
- package/dist/chunks/chunk.JYCCPLLK.js +0 -1
- package/dist/chunks/chunk.KTR74BUH.js +0 -9
- package/dist/chunks/chunk.KX3QK6AG.js +0 -1
- package/dist/chunks/chunk.LAV7B5HQ.js +0 -75
- package/dist/chunks/chunk.LCVY7UI3.js +0 -1
- package/dist/chunks/chunk.LFSREVFB.js +0 -1
- package/dist/chunks/chunk.LIL2OD6B.js +0 -1
- package/dist/chunks/chunk.LK4BRRBC.js +0 -1
- package/dist/chunks/chunk.LMSZJF64.js +0 -1
- package/dist/chunks/chunk.LNU5A3P4.js +0 -1
- package/dist/chunks/chunk.LX4TKJE4.js +0 -1
- package/dist/chunks/chunk.MCGELDAA.js +0 -300
- package/dist/chunks/chunk.MITQ2OXL.js +0 -1
- package/dist/chunks/chunk.MJR76YOH.js +0 -1
- package/dist/chunks/chunk.MLKC2NGO.js +0 -23
- package/dist/chunks/chunk.MPNC775E.js +0 -1
- package/dist/chunks/chunk.MWFVVSXA.js +0 -41
- package/dist/chunks/chunk.NLRMSHFU.js +0 -26
- package/dist/chunks/chunk.NOEBPPRY.js +0 -1
- package/dist/chunks/chunk.NOZEVQR4.js +0 -1
- package/dist/chunks/chunk.NX7IFT72.js +0 -1
- package/dist/chunks/chunk.OGDWQJZD.js +0 -280
- package/dist/chunks/chunk.OIJKFVKH.js +0 -80
- package/dist/chunks/chunk.OPCENTDH.js +0 -1
- package/dist/chunks/chunk.OVJTQS3R.js +0 -1
- package/dist/chunks/chunk.OY3LFRUC.js +0 -1
- package/dist/chunks/chunk.P34GHQPV.js +0 -299
- package/dist/chunks/chunk.P4DO532S.js +0 -1
- package/dist/chunks/chunk.P4MGQ55S.js +0 -1
- package/dist/chunks/chunk.P6F4F5QD.js +0 -1
- package/dist/chunks/chunk.P6ZQBWYA.js +0 -498
- package/dist/chunks/chunk.PJ6I3F64.js +0 -1
- package/dist/chunks/chunk.PKDR4N72.js +0 -1
- package/dist/chunks/chunk.PNDOGBBH.js +0 -35
- package/dist/chunks/chunk.PPMANAS7.js +0 -25
- package/dist/chunks/chunk.PSO4FXBN.js +0 -1
- package/dist/chunks/chunk.PURJ6A7V.js +0 -12
- package/dist/chunks/chunk.PXBLOJC2.js +0 -26
- package/dist/chunks/chunk.Q2WAGLNI.js +0 -1
- package/dist/chunks/chunk.Q4KUQYWO.js +0 -1
- package/dist/chunks/chunk.QDDRKEFK.js +0 -1
- package/dist/chunks/chunk.QGIQ5722.js +0 -1
- package/dist/chunks/chunk.QIRR5SHU.js +0 -1
- package/dist/chunks/chunk.QX7ATWZI.js +0 -1
- package/dist/chunks/chunk.QYVIUHVB.js +0 -38
- package/dist/chunks/chunk.R5W2QDX7.js +0 -1
- package/dist/chunks/chunk.RAHGHMXI.js +0 -1
- package/dist/chunks/chunk.RDYM773Z.js +0 -1
- package/dist/chunks/chunk.RK2WIN35.js +0 -1
- package/dist/chunks/chunk.ROUAWWLV.js +0 -1
- package/dist/chunks/chunk.RVOEFT5U.js +0 -1
- package/dist/chunks/chunk.RZU3COUL.js +0 -1
- package/dist/chunks/chunk.S3AX4H3V.js +0 -64
- package/dist/chunks/chunk.S5DZSTMC.js +0 -1
- package/dist/chunks/chunk.S5QAVZ6U.js +0 -17
- package/dist/chunks/chunk.S6VRSSO6.js +0 -1
- package/dist/chunks/chunk.SD6CXJRC.js +0 -2
- package/dist/chunks/chunk.SHFZMIFP.js +0 -39
- package/dist/chunks/chunk.SJ53VOP3.js +0 -1
- package/dist/chunks/chunk.SMIYI4II.js +0 -5
- package/dist/chunks/chunk.SMKE3JC5.js +0 -74
- package/dist/chunks/chunk.SPXXTRWH.js +0 -1
- package/dist/chunks/chunk.SXS6TOEP.js +0 -1
- package/dist/chunks/chunk.T2YVRM7D.js +0 -1
- package/dist/chunks/chunk.TAOFCQZQ.js +0 -1
- package/dist/chunks/chunk.TFVXGDQM.js +0 -37
- package/dist/chunks/chunk.TKVQOZQV.js +0 -1
- package/dist/chunks/chunk.TLSNSBFZ.js +0 -1
- package/dist/chunks/chunk.TQPOCOGE.js +0 -62
- package/dist/chunks/chunk.UL54RDR4.js +0 -1
- package/dist/chunks/chunk.UNHHJHFU.js +0 -1
- package/dist/chunks/chunk.UQN3GWLF.js +0 -1
- package/dist/chunks/chunk.UWTZQQSB.js +0 -1
- package/dist/chunks/chunk.V36IF7ZI.js +0 -1
- package/dist/chunks/chunk.V6SKIMFL.js +0 -43
- package/dist/chunks/chunk.VB25KRVB.js +0 -1
- package/dist/chunks/chunk.VMJ66H2K.js +0 -55
- package/dist/chunks/chunk.VVGU3MRZ.js +0 -61
- package/dist/chunks/chunk.WGDASVED.js +0 -1
- package/dist/chunks/chunk.WSQAOKNW.js +0 -572
- package/dist/chunks/chunk.WTWPPELF.js +0 -1
- package/dist/chunks/chunk.WUVKUAFQ.js +0 -1
- package/dist/chunks/chunk.WXPNSREU.js +0 -55
- package/dist/chunks/chunk.WZMBYYJZ.js +0 -1
- package/dist/chunks/chunk.X35TMCUS.js +0 -4
- package/dist/chunks/chunk.X4FGTGNS.js +0 -33
- package/dist/chunks/chunk.XB2SWVUB.js +0 -1
- package/dist/chunks/chunk.XM6WREG5.js +0 -1
- package/dist/chunks/chunk.XUX7B3MY.js +0 -113
- package/dist/chunks/chunk.XV2F2D73.js +0 -780
- package/dist/chunks/chunk.XXD4ILGD.js +0 -1
- package/dist/chunks/chunk.XYAXUANC.js +0 -1
- package/dist/chunks/chunk.Y6VOJNJH.js +0 -441
- package/dist/chunks/chunk.YASIML6Z.js +0 -5
- package/dist/chunks/chunk.YKXFFCAA.js +0 -65
- package/dist/chunks/chunk.YYECXERO.js +0 -1
- package/dist/chunks/chunk.ZBOS3NT4.js +0 -1
- package/dist/chunks/chunk.ZE3GRFIA.js +0 -16
- package/dist/chunks/chunk.ZH2NCLUA.js +0 -100
- package/dist/chunks/chunk.ZH45GJVZ.js +0 -1
- package/dist/chunks/chunk.ZNF2N7SP.js +0 -1
- package/dist/chunks/chunk.ZNJUJR6V.js +0 -99
- package/dist/chunks/chunk.ZR77WP3G.js +0 -1
- package/dist/chunks/chunk.ZVIT7ATK.js +0 -1
- package/dist/chunks/chunk.ZZTRPSS7.js +0 -1
- package/dist/terra_ui_components-0.0.198-py3-none-any.whl +0 -0
- package/dist/terra_ui_components-0.0.198.tar.gz +0 -0
|
@@ -0,0 +1,1339 @@
|
|
|
1
|
+
import {
|
|
2
|
+
DataTile_default,
|
|
3
|
+
ERROR_THRESHOLD,
|
|
4
|
+
TileEventType_default,
|
|
5
|
+
TileSourceEvent,
|
|
6
|
+
TileState_default,
|
|
7
|
+
Tile_default2 as Tile_default,
|
|
8
|
+
Triangulation_default,
|
|
9
|
+
asArrayLike,
|
|
10
|
+
asImageLike,
|
|
11
|
+
calculateSourceExtentResolution,
|
|
12
|
+
createXYZ,
|
|
13
|
+
extentFromProjection,
|
|
14
|
+
getCacheKey,
|
|
15
|
+
getForProjection,
|
|
16
|
+
toArray
|
|
17
|
+
} from "./chunk.UUUD46S3.js";
|
|
18
|
+
import {
|
|
19
|
+
EventType_default,
|
|
20
|
+
WORKER_OFFSCREEN_CANVAS,
|
|
21
|
+
clamp,
|
|
22
|
+
createCanvasContext2D,
|
|
23
|
+
createEmpty,
|
|
24
|
+
equivalent,
|
|
25
|
+
extend2 as extend,
|
|
26
|
+
get,
|
|
27
|
+
getArea,
|
|
28
|
+
getHeight,
|
|
29
|
+
getIntersection,
|
|
30
|
+
getTopLeft,
|
|
31
|
+
getUid,
|
|
32
|
+
getWidth,
|
|
33
|
+
listen,
|
|
34
|
+
toPromise,
|
|
35
|
+
toSize,
|
|
36
|
+
unlistenByKey,
|
|
37
|
+
wrapAndSliceX
|
|
38
|
+
} from "./chunk.RCPXD7AS.js";
|
|
39
|
+
import {
|
|
40
|
+
init_buffer,
|
|
41
|
+
init_dirname,
|
|
42
|
+
init_process
|
|
43
|
+
} from "./chunk.ZEOVK2FE.js";
|
|
44
|
+
|
|
45
|
+
// node_modules/ol/source/DataTile.js
|
|
46
|
+
init_dirname();
|
|
47
|
+
init_buffer();
|
|
48
|
+
init_process();
|
|
49
|
+
|
|
50
|
+
// node_modules/ol/reproj/DataTile.js
|
|
51
|
+
init_dirname();
|
|
52
|
+
init_buffer();
|
|
53
|
+
init_process();
|
|
54
|
+
|
|
55
|
+
// node_modules/ol/reproj/glreproj.js
|
|
56
|
+
init_dirname();
|
|
57
|
+
init_buffer();
|
|
58
|
+
init_process();
|
|
59
|
+
|
|
60
|
+
// node_modules/ol/vec/mat4.js
|
|
61
|
+
init_dirname();
|
|
62
|
+
init_buffer();
|
|
63
|
+
init_process();
|
|
64
|
+
function create() {
|
|
65
|
+
return [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
66
|
+
}
|
|
67
|
+
function fromTransform(mat4, transform) {
|
|
68
|
+
mat4[0] = transform[0];
|
|
69
|
+
mat4[1] = transform[1];
|
|
70
|
+
mat4[4] = transform[2];
|
|
71
|
+
mat4[5] = transform[3];
|
|
72
|
+
mat4[12] = transform[4];
|
|
73
|
+
mat4[13] = transform[5];
|
|
74
|
+
return mat4;
|
|
75
|
+
}
|
|
76
|
+
function orthographic(left, right, bottom, top, near, far, out) {
|
|
77
|
+
out = out != null ? out : create();
|
|
78
|
+
const lr = 1 / (left - right), bt = 1 / (bottom - top), nf = 1 / (near - far);
|
|
79
|
+
out[0] = -2 * lr;
|
|
80
|
+
out[1] = 0;
|
|
81
|
+
out[2] = 0;
|
|
82
|
+
out[3] = 0;
|
|
83
|
+
out[4] = 0;
|
|
84
|
+
out[5] = -2 * bt;
|
|
85
|
+
out[6] = 0;
|
|
86
|
+
out[7] = 0;
|
|
87
|
+
out[8] = 0;
|
|
88
|
+
out[9] = 0;
|
|
89
|
+
out[10] = 2 * nf;
|
|
90
|
+
out[11] = 0;
|
|
91
|
+
out[12] = (left + right) * lr;
|
|
92
|
+
out[13] = (top + bottom) * bt;
|
|
93
|
+
out[14] = (far + near) * nf;
|
|
94
|
+
out[15] = 1;
|
|
95
|
+
return out;
|
|
96
|
+
}
|
|
97
|
+
function scale(m, x, y, z, out) {
|
|
98
|
+
out = out != null ? out : create();
|
|
99
|
+
out[0] = m[0] * x;
|
|
100
|
+
out[1] = m[1] * x;
|
|
101
|
+
out[2] = m[2] * x;
|
|
102
|
+
out[3] = m[3] * x;
|
|
103
|
+
out[4] = m[4] * y;
|
|
104
|
+
out[5] = m[5] * y;
|
|
105
|
+
out[6] = m[6] * y;
|
|
106
|
+
out[7] = m[7] * y;
|
|
107
|
+
out[8] = m[8] * z;
|
|
108
|
+
out[9] = m[9] * z;
|
|
109
|
+
out[10] = m[10] * z;
|
|
110
|
+
out[11] = m[11] * z;
|
|
111
|
+
out[12] = m[12];
|
|
112
|
+
out[13] = m[13];
|
|
113
|
+
out[14] = m[14];
|
|
114
|
+
out[15] = m[15];
|
|
115
|
+
return out;
|
|
116
|
+
}
|
|
117
|
+
function translate(m, x, y, z, out) {
|
|
118
|
+
out = out != null ? out : create();
|
|
119
|
+
let a00, a01, a02, a03, a10, a11, a12, a13, a20, a21, a22, a23;
|
|
120
|
+
if (m === out) {
|
|
121
|
+
out[12] = m[0] * x + m[4] * y + m[8] * z + m[12];
|
|
122
|
+
out[13] = m[1] * x + m[5] * y + m[9] * z + m[13];
|
|
123
|
+
out[14] = m[2] * x + m[6] * y + m[10] * z + m[14];
|
|
124
|
+
out[15] = m[3] * x + m[7] * y + m[11] * z + m[15];
|
|
125
|
+
} else {
|
|
126
|
+
a00 = m[0];
|
|
127
|
+
a01 = m[1];
|
|
128
|
+
a02 = m[2];
|
|
129
|
+
a03 = m[3];
|
|
130
|
+
a10 = m[4];
|
|
131
|
+
a11 = m[5];
|
|
132
|
+
a12 = m[6];
|
|
133
|
+
a13 = m[7];
|
|
134
|
+
a20 = m[8];
|
|
135
|
+
a21 = m[9];
|
|
136
|
+
a22 = m[10];
|
|
137
|
+
a23 = m[11];
|
|
138
|
+
out[0] = a00;
|
|
139
|
+
out[1] = a01;
|
|
140
|
+
out[2] = a02;
|
|
141
|
+
out[3] = a03;
|
|
142
|
+
out[4] = a10;
|
|
143
|
+
out[5] = a11;
|
|
144
|
+
out[6] = a12;
|
|
145
|
+
out[7] = a13;
|
|
146
|
+
out[8] = a20;
|
|
147
|
+
out[9] = a21;
|
|
148
|
+
out[10] = a22;
|
|
149
|
+
out[11] = a23;
|
|
150
|
+
out[12] = a00 * x + a10 * y + a20 * z + m[12];
|
|
151
|
+
out[13] = a01 * x + a11 * y + a21 * z + m[13];
|
|
152
|
+
out[14] = a02 * x + a12 * y + a22 * z + m[14];
|
|
153
|
+
out[15] = a03 * x + a13 * y + a23 * z + m[15];
|
|
154
|
+
}
|
|
155
|
+
return out;
|
|
156
|
+
}
|
|
157
|
+
function translation(x, y, z, out) {
|
|
158
|
+
out = out != null ? out : create();
|
|
159
|
+
out[0] = 1;
|
|
160
|
+
out[1] = 0;
|
|
161
|
+
out[2] = 0;
|
|
162
|
+
out[3] = 0;
|
|
163
|
+
out[4] = 0;
|
|
164
|
+
out[5] = 1;
|
|
165
|
+
out[6] = 0;
|
|
166
|
+
out[7] = 0;
|
|
167
|
+
out[8] = 0;
|
|
168
|
+
out[9] = 0;
|
|
169
|
+
out[10] = 1;
|
|
170
|
+
out[11] = 0;
|
|
171
|
+
out[12] = x;
|
|
172
|
+
out[13] = y;
|
|
173
|
+
out[14] = z;
|
|
174
|
+
out[15] = 1;
|
|
175
|
+
return out;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
// node_modules/ol/webgl/Canvas.js
|
|
179
|
+
init_dirname();
|
|
180
|
+
init_buffer();
|
|
181
|
+
init_process();
|
|
182
|
+
var VERTEX_SHADER = `
|
|
183
|
+
attribute vec4 a_position;
|
|
184
|
+
attribute vec4 a_texcoord;
|
|
185
|
+
|
|
186
|
+
uniform mat4 u_matrix;
|
|
187
|
+
uniform mat4 u_textureMatrix;
|
|
188
|
+
|
|
189
|
+
varying vec2 v_texcoord;
|
|
190
|
+
|
|
191
|
+
void main() {
|
|
192
|
+
gl_Position = u_matrix * a_position;
|
|
193
|
+
vec2 texcoord = (u_textureMatrix * a_texcoord).xy;
|
|
194
|
+
v_texcoord = texcoord;
|
|
195
|
+
}
|
|
196
|
+
`;
|
|
197
|
+
var FRAGMENT_SHADER = `
|
|
198
|
+
precision mediump float;
|
|
199
|
+
|
|
200
|
+
varying vec2 v_texcoord;
|
|
201
|
+
|
|
202
|
+
uniform sampler2D u_texture;
|
|
203
|
+
|
|
204
|
+
void main() {
|
|
205
|
+
if (
|
|
206
|
+
v_texcoord.x < 0.0 ||
|
|
207
|
+
v_texcoord.y < 0.0 ||
|
|
208
|
+
v_texcoord.x > 1.0 ||
|
|
209
|
+
v_texcoord.y > 1.0
|
|
210
|
+
) {
|
|
211
|
+
discard;
|
|
212
|
+
}
|
|
213
|
+
gl_FragColor = texture2D(u_texture, v_texcoord);
|
|
214
|
+
}
|
|
215
|
+
`;
|
|
216
|
+
var Canvas = class {
|
|
217
|
+
/**
|
|
218
|
+
* @param {WebGLRenderingContext} gl Context to render in.
|
|
219
|
+
*/
|
|
220
|
+
constructor(gl) {
|
|
221
|
+
this.gl_ = gl;
|
|
222
|
+
this.program_ = createProgram(gl, FRAGMENT_SHADER, VERTEX_SHADER);
|
|
223
|
+
this.positionLocation = gl.getAttribLocation(this.program_, "a_position");
|
|
224
|
+
this.texcoordLocation = gl.getAttribLocation(this.program_, "a_texcoord");
|
|
225
|
+
this.matrixLocation = gl.getUniformLocation(this.program_, "u_matrix");
|
|
226
|
+
this.textureMatrixLocation = gl.getUniformLocation(
|
|
227
|
+
this.program_,
|
|
228
|
+
"u_textureMatrix"
|
|
229
|
+
);
|
|
230
|
+
this.textureLocation = gl.getUniformLocation(this.program_, "u_texture");
|
|
231
|
+
this.positionBuffer = gl.createBuffer();
|
|
232
|
+
gl.bindBuffer(gl.ARRAY_BUFFER, this.positionBuffer);
|
|
233
|
+
this.positions = [0, 0, 0, 1, 1, 0, 1, 0, 0, 1, 1, 1];
|
|
234
|
+
gl.bufferData(
|
|
235
|
+
gl.ARRAY_BUFFER,
|
|
236
|
+
new Float32Array(this.positions),
|
|
237
|
+
gl.STATIC_DRAW
|
|
238
|
+
);
|
|
239
|
+
this.texcoordBuffer = gl.createBuffer();
|
|
240
|
+
gl.bindBuffer(gl.ARRAY_BUFFER, this.texcoordBuffer);
|
|
241
|
+
this.texcoords = [0, 0, 0, 1, 1, 0, 1, 0, 0, 1, 1, 1];
|
|
242
|
+
gl.bufferData(
|
|
243
|
+
gl.ARRAY_BUFFER,
|
|
244
|
+
new Float32Array(this.texcoords),
|
|
245
|
+
gl.STATIC_DRAW
|
|
246
|
+
);
|
|
247
|
+
}
|
|
248
|
+
/**
|
|
249
|
+
* 2dContext drawImage call implemented in webgl.
|
|
250
|
+
* Unlike images, textures do not have a width and height associated
|
|
251
|
+
* with them so we'll pass in the width and height of the texture.
|
|
252
|
+
*
|
|
253
|
+
* @param {WebGLTexture} tex Image to draw.
|
|
254
|
+
* @param {number} texWidth Image width.
|
|
255
|
+
* @param {number} texHeight Image height.
|
|
256
|
+
* @param {number} srcX Top-left x-point to read src image.
|
|
257
|
+
* @param {number} srcY Top-left y-point to read src image.
|
|
258
|
+
* @param {number} [srcWidth] Width of source to read.
|
|
259
|
+
* @param {number} [srcHeight] Height of source to read.
|
|
260
|
+
* @param {number} [dstX] Top-left x-point of destination.
|
|
261
|
+
* @param {number} [dstY] Top-left y-point of destination.
|
|
262
|
+
* @param {number} [dstWidth] Width of written image in destination.
|
|
263
|
+
* @param {number} [dstHeight] Height of written image in destination.
|
|
264
|
+
* @param {number} [width] Width of canvas.
|
|
265
|
+
* @param {number} [height] Height of canvas.
|
|
266
|
+
*/
|
|
267
|
+
drawImage(tex, texWidth, texHeight, srcX, srcY, srcWidth, srcHeight, dstX, dstY, dstWidth, dstHeight, width, height) {
|
|
268
|
+
const gl = this.gl_;
|
|
269
|
+
if (dstX === void 0) {
|
|
270
|
+
dstX = srcX;
|
|
271
|
+
}
|
|
272
|
+
if (dstY === void 0) {
|
|
273
|
+
dstY = srcY;
|
|
274
|
+
}
|
|
275
|
+
if (srcWidth === void 0) {
|
|
276
|
+
srcWidth = texWidth;
|
|
277
|
+
}
|
|
278
|
+
if (srcHeight === void 0) {
|
|
279
|
+
srcHeight = texHeight;
|
|
280
|
+
}
|
|
281
|
+
if (dstWidth === void 0) {
|
|
282
|
+
dstWidth = srcWidth;
|
|
283
|
+
}
|
|
284
|
+
if (dstHeight === void 0) {
|
|
285
|
+
dstHeight = srcHeight;
|
|
286
|
+
}
|
|
287
|
+
if (width === void 0) {
|
|
288
|
+
width = gl.canvas.width;
|
|
289
|
+
}
|
|
290
|
+
if (height === void 0) {
|
|
291
|
+
height = gl.canvas.height;
|
|
292
|
+
}
|
|
293
|
+
gl.bindTexture(gl.TEXTURE_2D, tex);
|
|
294
|
+
gl.useProgram(this.program_);
|
|
295
|
+
gl.bindBuffer(gl.ARRAY_BUFFER, this.positionBuffer);
|
|
296
|
+
gl.enableVertexAttribArray(this.positionLocation);
|
|
297
|
+
gl.vertexAttribPointer(this.positionLocation, 2, gl.FLOAT, false, 0, 0);
|
|
298
|
+
gl.bindBuffer(gl.ARRAY_BUFFER, this.texcoordBuffer);
|
|
299
|
+
gl.enableVertexAttribArray(this.texcoordLocation);
|
|
300
|
+
gl.vertexAttribPointer(this.texcoordLocation, 2, gl.FLOAT, false, 0, 0);
|
|
301
|
+
let matrix = orthographic(0, width, 0, height, -1, 1);
|
|
302
|
+
matrix = translate(matrix, dstX, dstY, 0);
|
|
303
|
+
matrix = scale(matrix, dstWidth, dstHeight, 1);
|
|
304
|
+
gl.uniformMatrix4fv(this.matrixLocation, false, matrix);
|
|
305
|
+
let texMatrix = translation(srcX / texWidth, srcY / texHeight, 0);
|
|
306
|
+
texMatrix = scale(
|
|
307
|
+
texMatrix,
|
|
308
|
+
srcWidth / texWidth,
|
|
309
|
+
srcHeight / texHeight,
|
|
310
|
+
1
|
|
311
|
+
);
|
|
312
|
+
gl.uniformMatrix4fv(this.textureMatrixLocation, false, texMatrix);
|
|
313
|
+
gl.uniform1i(this.textureLocation, 0);
|
|
314
|
+
gl.drawArrays(gl.TRIANGLES, 0, this.positions.length / 2);
|
|
315
|
+
}
|
|
316
|
+
};
|
|
317
|
+
function createShader(gl, type, source) {
|
|
318
|
+
const shader = gl.createShader(type);
|
|
319
|
+
if (shader === null) {
|
|
320
|
+
throw new Error("Shader compilation failed");
|
|
321
|
+
}
|
|
322
|
+
gl.shaderSource(shader, source);
|
|
323
|
+
gl.compileShader(shader);
|
|
324
|
+
if (!gl.getShaderParameter(shader, gl.COMPILE_STATUS)) {
|
|
325
|
+
const log = gl.getShaderInfoLog(shader);
|
|
326
|
+
if (log === null) {
|
|
327
|
+
throw new Error("Shader info log creation failed");
|
|
328
|
+
}
|
|
329
|
+
throw new Error(log);
|
|
330
|
+
}
|
|
331
|
+
return shader;
|
|
332
|
+
}
|
|
333
|
+
function createProgram(gl, fragmentSource, vertexSource) {
|
|
334
|
+
const program = gl.createProgram();
|
|
335
|
+
const vertexShader = createShader(gl, gl.VERTEX_SHADER, vertexSource);
|
|
336
|
+
const fragmentShader = createShader(gl, gl.FRAGMENT_SHADER, fragmentSource);
|
|
337
|
+
if (program === null) {
|
|
338
|
+
throw new Error("Program creation failed");
|
|
339
|
+
}
|
|
340
|
+
gl.attachShader(program, vertexShader);
|
|
341
|
+
gl.attachShader(program, fragmentShader);
|
|
342
|
+
gl.linkProgram(program);
|
|
343
|
+
if (!gl.getProgramParameter(program, gl.LINK_STATUS)) {
|
|
344
|
+
const log = gl.getProgramInfoLog(program);
|
|
345
|
+
if (log === null) {
|
|
346
|
+
throw new Error("Program info log creation failed");
|
|
347
|
+
}
|
|
348
|
+
throw new Error();
|
|
349
|
+
}
|
|
350
|
+
return program;
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
// node_modules/ol/reproj/glreproj.js
|
|
354
|
+
var EDGE_VERTEX_SHADER = `
|
|
355
|
+
attribute vec4 a_position;
|
|
356
|
+
|
|
357
|
+
uniform mat4 u_matrix;
|
|
358
|
+
|
|
359
|
+
void main() {
|
|
360
|
+
gl_Position = u_matrix * a_position;
|
|
361
|
+
}
|
|
362
|
+
`;
|
|
363
|
+
var EDGE_FRAGMENT_SHADER = `
|
|
364
|
+
precision mediump float;
|
|
365
|
+
|
|
366
|
+
uniform vec4 u_val;
|
|
367
|
+
void main() {
|
|
368
|
+
gl_FragColor = u_val;
|
|
369
|
+
}
|
|
370
|
+
`;
|
|
371
|
+
var TRIANGLE_VERTEX_SHADER = `
|
|
372
|
+
attribute vec4 a_position;
|
|
373
|
+
attribute vec2 a_texcoord;
|
|
374
|
+
|
|
375
|
+
varying vec2 v_texcoord;
|
|
376
|
+
|
|
377
|
+
uniform mat4 u_matrix;
|
|
378
|
+
|
|
379
|
+
void main() {
|
|
380
|
+
gl_Position = u_matrix * a_position;
|
|
381
|
+
v_texcoord = a_texcoord;
|
|
382
|
+
}
|
|
383
|
+
`;
|
|
384
|
+
var TRIANGLE_FRAGMENT_SHADER = `
|
|
385
|
+
precision mediump float;
|
|
386
|
+
|
|
387
|
+
varying vec2 v_texcoord;
|
|
388
|
+
|
|
389
|
+
uniform sampler2D u_texture;
|
|
390
|
+
|
|
391
|
+
void main() {
|
|
392
|
+
if (v_texcoord.x < 0.0 || v_texcoord.x > 1.0 || v_texcoord.y < 0.0 || v_texcoord.y > 1.0) {
|
|
393
|
+
discard;
|
|
394
|
+
}
|
|
395
|
+
gl_FragColor = texture2D(u_texture, v_texcoord);
|
|
396
|
+
}
|
|
397
|
+
`;
|
|
398
|
+
function createCanvasContextWebGL(width, height, canvasPool, settings) {
|
|
399
|
+
let canvas;
|
|
400
|
+
if (canvasPool && canvasPool.length) {
|
|
401
|
+
canvas = /** @type {HTMLCanvasElement} */
|
|
402
|
+
canvasPool.shift();
|
|
403
|
+
} else if (WORKER_OFFSCREEN_CANVAS) {
|
|
404
|
+
canvas = new OffscreenCanvas(width || 300, height || 300);
|
|
405
|
+
} else {
|
|
406
|
+
canvas = document.createElement("canvas");
|
|
407
|
+
}
|
|
408
|
+
if (width) {
|
|
409
|
+
canvas.width = width;
|
|
410
|
+
}
|
|
411
|
+
if (height) {
|
|
412
|
+
canvas.height = height;
|
|
413
|
+
}
|
|
414
|
+
return (
|
|
415
|
+
/** @type {WebGLRenderingContext} */
|
|
416
|
+
canvas.getContext("webgl", settings)
|
|
417
|
+
);
|
|
418
|
+
}
|
|
419
|
+
function releaseGLCanvas(gl) {
|
|
420
|
+
const canvas = gl.canvas;
|
|
421
|
+
canvas.width = 1;
|
|
422
|
+
canvas.height = 1;
|
|
423
|
+
gl.clear(gl.COLOR_BUFFER_BIT | gl.DEPTH_BUFFER_BIT | gl.STENCIL_BUFFER_BIT);
|
|
424
|
+
}
|
|
425
|
+
var canvasGLPool = [];
|
|
426
|
+
function render(gl, width_, height_, pixelRatio, sourceResolution, targetResolution, targetExtent, triangulation, sources, gutter, dataType, renderEdges, interpolate, drawSingle) {
|
|
427
|
+
const width = Math.round(pixelRatio * width_);
|
|
428
|
+
const height = Math.round(pixelRatio * height_);
|
|
429
|
+
gl.canvas.width = width;
|
|
430
|
+
gl.canvas.height = height;
|
|
431
|
+
let resultFrameBuffer;
|
|
432
|
+
let resultTexture;
|
|
433
|
+
{
|
|
434
|
+
resultTexture = gl.createTexture();
|
|
435
|
+
gl.bindTexture(gl.TEXTURE_2D, resultTexture);
|
|
436
|
+
gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_WRAP_S, gl.CLAMP_TO_EDGE);
|
|
437
|
+
gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_WRAP_T, gl.CLAMP_TO_EDGE);
|
|
438
|
+
if (interpolate) {
|
|
439
|
+
gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MIN_FILTER, gl.LINEAR);
|
|
440
|
+
gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MAG_FILTER, gl.LINEAR);
|
|
441
|
+
} else {
|
|
442
|
+
gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MIN_FILTER, gl.NEAREST);
|
|
443
|
+
gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MAG_FILTER, gl.NEAREST);
|
|
444
|
+
}
|
|
445
|
+
gl.texImage2D(
|
|
446
|
+
gl.TEXTURE_2D,
|
|
447
|
+
0,
|
|
448
|
+
gl.RGBA,
|
|
449
|
+
width,
|
|
450
|
+
height,
|
|
451
|
+
0,
|
|
452
|
+
gl.RGBA,
|
|
453
|
+
dataType,
|
|
454
|
+
null
|
|
455
|
+
);
|
|
456
|
+
resultFrameBuffer = gl.createFramebuffer();
|
|
457
|
+
gl.bindFramebuffer(gl.FRAMEBUFFER, resultFrameBuffer);
|
|
458
|
+
gl.framebufferTexture2D(
|
|
459
|
+
gl.FRAMEBUFFER,
|
|
460
|
+
gl.COLOR_ATTACHMENT0,
|
|
461
|
+
gl.TEXTURE_2D,
|
|
462
|
+
resultTexture,
|
|
463
|
+
0
|
|
464
|
+
);
|
|
465
|
+
}
|
|
466
|
+
if (resultFrameBuffer === null) {
|
|
467
|
+
throw new Error("Could not create framebuffer");
|
|
468
|
+
}
|
|
469
|
+
if (resultTexture === null) {
|
|
470
|
+
throw new Error("Could not create texture");
|
|
471
|
+
}
|
|
472
|
+
if (sources.length === 0) {
|
|
473
|
+
return {
|
|
474
|
+
width,
|
|
475
|
+
height,
|
|
476
|
+
framebuffer: resultFrameBuffer,
|
|
477
|
+
texture: resultTexture
|
|
478
|
+
};
|
|
479
|
+
}
|
|
480
|
+
const sourceDataExtent = createEmpty();
|
|
481
|
+
sources.forEach(function(src, i, arr) {
|
|
482
|
+
extend(sourceDataExtent, src.extent);
|
|
483
|
+
});
|
|
484
|
+
let stitchTexture;
|
|
485
|
+
let stitchWidth;
|
|
486
|
+
let stitchHeight;
|
|
487
|
+
const stitchScale = 1 / sourceResolution;
|
|
488
|
+
if (!drawSingle || sources.length !== 1 || gutter !== 0) {
|
|
489
|
+
stitchTexture = gl.createTexture();
|
|
490
|
+
if (resultTexture === null) {
|
|
491
|
+
throw new Error("Could not create texture");
|
|
492
|
+
}
|
|
493
|
+
stitchWidth = Math.round(getWidth(sourceDataExtent) * stitchScale);
|
|
494
|
+
stitchHeight = Math.round(getHeight(sourceDataExtent) * stitchScale);
|
|
495
|
+
const maxTexSize = gl.getParameter(gl.MAX_TEXTURE_SIZE);
|
|
496
|
+
const largeSide = Math.max(stitchWidth, stitchHeight);
|
|
497
|
+
const scaleFactor = largeSide > maxTexSize ? maxTexSize / largeSide : 1;
|
|
498
|
+
const stitchWidthFixed = Math.round(stitchWidth * scaleFactor);
|
|
499
|
+
const stitchHeightFixed = Math.round(stitchHeight * scaleFactor);
|
|
500
|
+
gl.bindTexture(gl.TEXTURE_2D, stitchTexture);
|
|
501
|
+
gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_WRAP_S, gl.CLAMP_TO_EDGE);
|
|
502
|
+
gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_WRAP_T, gl.CLAMP_TO_EDGE);
|
|
503
|
+
if (interpolate) {
|
|
504
|
+
gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MIN_FILTER, gl.LINEAR);
|
|
505
|
+
gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MAG_FILTER, gl.LINEAR);
|
|
506
|
+
} else {
|
|
507
|
+
gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MIN_FILTER, gl.NEAREST);
|
|
508
|
+
gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MAG_FILTER, gl.NEAREST);
|
|
509
|
+
}
|
|
510
|
+
gl.texImage2D(
|
|
511
|
+
gl.TEXTURE_2D,
|
|
512
|
+
0,
|
|
513
|
+
gl.RGBA,
|
|
514
|
+
stitchWidthFixed,
|
|
515
|
+
stitchHeightFixed,
|
|
516
|
+
0,
|
|
517
|
+
gl.RGBA,
|
|
518
|
+
dataType,
|
|
519
|
+
null
|
|
520
|
+
);
|
|
521
|
+
const fb = gl.createFramebuffer();
|
|
522
|
+
gl.bindFramebuffer(gl.FRAMEBUFFER, fb);
|
|
523
|
+
gl.framebufferTexture2D(
|
|
524
|
+
gl.FRAMEBUFFER,
|
|
525
|
+
gl.COLOR_ATTACHMENT0,
|
|
526
|
+
gl.TEXTURE_2D,
|
|
527
|
+
stitchTexture,
|
|
528
|
+
0
|
|
529
|
+
);
|
|
530
|
+
const webGLCanvas = new Canvas(gl);
|
|
531
|
+
sources.forEach(function(src, i, arr) {
|
|
532
|
+
const xPos = (src.extent[0] - sourceDataExtent[0]) * stitchScale * scaleFactor;
|
|
533
|
+
const yPos = -(src.extent[3] - sourceDataExtent[3]) * stitchScale * scaleFactor;
|
|
534
|
+
const srcWidth = getWidth(src.extent) * stitchScale * scaleFactor;
|
|
535
|
+
const srcHeight = getHeight(src.extent) * stitchScale * scaleFactor;
|
|
536
|
+
gl.bindFramebuffer(gl.FRAMEBUFFER, fb);
|
|
537
|
+
gl.viewport(0, 0, stitchWidthFixed, stitchHeightFixed);
|
|
538
|
+
if (src.clipExtent) {
|
|
539
|
+
const xPos2 = (src.clipExtent[0] - sourceDataExtent[0]) * stitchScale * scaleFactor;
|
|
540
|
+
const yPos2 = -(src.clipExtent[3] - sourceDataExtent[3]) * stitchScale * scaleFactor;
|
|
541
|
+
const width2 = getWidth(src.clipExtent) * stitchScale * scaleFactor;
|
|
542
|
+
const height2 = getHeight(src.clipExtent) * stitchScale * scaleFactor;
|
|
543
|
+
gl.enable(gl.SCISSOR_TEST);
|
|
544
|
+
gl.scissor(
|
|
545
|
+
interpolate ? xPos2 : Math.round(xPos2),
|
|
546
|
+
interpolate ? yPos2 : Math.round(yPos2),
|
|
547
|
+
interpolate ? width2 : Math.round(xPos2 + width2) - Math.round(xPos2),
|
|
548
|
+
interpolate ? height2 : Math.round(yPos2 + height2) - Math.round(yPos2)
|
|
549
|
+
);
|
|
550
|
+
}
|
|
551
|
+
webGLCanvas.drawImage(
|
|
552
|
+
src.texture,
|
|
553
|
+
src.width,
|
|
554
|
+
src.height,
|
|
555
|
+
gutter,
|
|
556
|
+
gutter,
|
|
557
|
+
src.width - 2 * gutter,
|
|
558
|
+
src.height - 2 * gutter,
|
|
559
|
+
interpolate ? xPos : Math.round(xPos),
|
|
560
|
+
interpolate ? yPos : Math.round(yPos),
|
|
561
|
+
interpolate ? srcWidth : Math.round(xPos + srcWidth) - Math.round(xPos),
|
|
562
|
+
interpolate ? srcHeight : Math.round(yPos + srcHeight) - Math.round(yPos),
|
|
563
|
+
stitchWidthFixed,
|
|
564
|
+
stitchHeightFixed
|
|
565
|
+
);
|
|
566
|
+
gl.disable(gl.SCISSOR_TEST);
|
|
567
|
+
});
|
|
568
|
+
gl.deleteFramebuffer(fb);
|
|
569
|
+
} else {
|
|
570
|
+
stitchTexture = sources[0].texture;
|
|
571
|
+
stitchWidth = sources[0].width;
|
|
572
|
+
stitchHeight = sources[0].width;
|
|
573
|
+
}
|
|
574
|
+
const targetTopLeft = getTopLeft(targetExtent);
|
|
575
|
+
const sourceTopLeft = getTopLeft(sourceDataExtent);
|
|
576
|
+
const getUVs = (target) => {
|
|
577
|
+
const u0 = (target[0][0] - targetTopLeft[0]) / targetResolution * pixelRatio;
|
|
578
|
+
const v0 = -(target[0][1] - targetTopLeft[1]) / targetResolution * pixelRatio;
|
|
579
|
+
const u1 = (target[1][0] - targetTopLeft[0]) / targetResolution * pixelRatio;
|
|
580
|
+
const v1 = -(target[1][1] - targetTopLeft[1]) / targetResolution * pixelRatio;
|
|
581
|
+
const u2 = (target[2][0] - targetTopLeft[0]) / targetResolution * pixelRatio;
|
|
582
|
+
const v2 = -(target[2][1] - targetTopLeft[1]) / targetResolution * pixelRatio;
|
|
583
|
+
return { u1, v1, u0, v0, u2, v2 };
|
|
584
|
+
};
|
|
585
|
+
gl.bindFramebuffer(gl.FRAMEBUFFER, resultFrameBuffer);
|
|
586
|
+
gl.viewport(0, 0, width, height);
|
|
587
|
+
{
|
|
588
|
+
const vertices = [];
|
|
589
|
+
const texcoords = [];
|
|
590
|
+
const triProgram = createProgram(
|
|
591
|
+
gl,
|
|
592
|
+
TRIANGLE_FRAGMENT_SHADER,
|
|
593
|
+
TRIANGLE_VERTEX_SHADER
|
|
594
|
+
);
|
|
595
|
+
gl.useProgram(triProgram);
|
|
596
|
+
const textureLocation = gl.getUniformLocation(triProgram, "u_texture");
|
|
597
|
+
gl.bindTexture(gl.TEXTURE_2D, stitchTexture);
|
|
598
|
+
gl.uniform1i(textureLocation, 0);
|
|
599
|
+
triangulation.getTriangles().forEach(function(triangle, i, arr) {
|
|
600
|
+
const source = triangle.source;
|
|
601
|
+
const target = triangle.target;
|
|
602
|
+
const { u1, v1, u0, v0, u2, v2 } = getUVs(target);
|
|
603
|
+
const su0 = (source[0][0] - sourceTopLeft[0]) / sourceResolution / stitchWidth;
|
|
604
|
+
const sv0 = -(source[0][1] - sourceTopLeft[1]) / sourceResolution / stitchHeight;
|
|
605
|
+
const su1 = (source[1][0] - sourceTopLeft[0]) / sourceResolution / stitchWidth;
|
|
606
|
+
const sv1 = -(source[1][1] - sourceTopLeft[1]) / sourceResolution / stitchHeight;
|
|
607
|
+
const su2 = (source[2][0] - sourceTopLeft[0]) / sourceResolution / stitchWidth;
|
|
608
|
+
const sv2 = -(source[2][1] - sourceTopLeft[1]) / sourceResolution / stitchHeight;
|
|
609
|
+
vertices.push(u1, v1, u0, v0, u2, v2);
|
|
610
|
+
texcoords.push(su1, sv1, su0, sv0, su2, sv2);
|
|
611
|
+
});
|
|
612
|
+
const matrix = orthographic(0, width, height, 0, -1, 1);
|
|
613
|
+
const matrixLocation = gl.getUniformLocation(triProgram, "u_matrix");
|
|
614
|
+
gl.uniformMatrix4fv(matrixLocation, false, matrix);
|
|
615
|
+
const positionLocation = gl.getAttribLocation(triProgram, "a_position");
|
|
616
|
+
const positionBuffer = gl.createBuffer();
|
|
617
|
+
gl.bindBuffer(gl.ARRAY_BUFFER, positionBuffer);
|
|
618
|
+
gl.bufferData(gl.ARRAY_BUFFER, new Float32Array(vertices), gl.STATIC_DRAW);
|
|
619
|
+
gl.vertexAttribPointer(positionLocation, 2, gl.FLOAT, false, 0, 0);
|
|
620
|
+
gl.enableVertexAttribArray(positionLocation);
|
|
621
|
+
const texcoordLocation = gl.getAttribLocation(triProgram, "a_texcoord");
|
|
622
|
+
const texcoordBuffer = gl.createBuffer();
|
|
623
|
+
gl.bindBuffer(gl.ARRAY_BUFFER, texcoordBuffer);
|
|
624
|
+
gl.bufferData(gl.ARRAY_BUFFER, new Float32Array(texcoords), gl.STATIC_DRAW);
|
|
625
|
+
gl.vertexAttribPointer(texcoordLocation, 2, gl.FLOAT, false, 0, 0);
|
|
626
|
+
gl.enableVertexAttribArray(texcoordLocation);
|
|
627
|
+
gl.drawArrays(gl.TRIANGLES, 0, vertices.length / 2);
|
|
628
|
+
}
|
|
629
|
+
if (renderEdges) {
|
|
630
|
+
const edgeProgram = createProgram(
|
|
631
|
+
gl,
|
|
632
|
+
EDGE_FRAGMENT_SHADER,
|
|
633
|
+
EDGE_VERTEX_SHADER
|
|
634
|
+
);
|
|
635
|
+
gl.useProgram(edgeProgram);
|
|
636
|
+
const matrix = orthographic(0, width, height, 0, -1, 1);
|
|
637
|
+
const matrixLocation = gl.getUniformLocation(edgeProgram, "u_matrix");
|
|
638
|
+
gl.uniformMatrix4fv(matrixLocation, false, matrix);
|
|
639
|
+
const burnval = Array.isArray(renderEdges) ? renderEdges : [0, 0, 0, 255];
|
|
640
|
+
const burnvalLocation = gl.getUniformLocation(edgeProgram, "u_val");
|
|
641
|
+
const isFloat = true;
|
|
642
|
+
if (isFloat) {
|
|
643
|
+
gl.uniform4fv(burnvalLocation, burnval);
|
|
644
|
+
} else {
|
|
645
|
+
gl.uniform4iv(burnvalLocation, burnval);
|
|
646
|
+
}
|
|
647
|
+
const positionLocation = gl.getAttribLocation(edgeProgram, "a_position");
|
|
648
|
+
const positionBuffer = gl.createBuffer();
|
|
649
|
+
gl.bindBuffer(gl.ARRAY_BUFFER, positionBuffer);
|
|
650
|
+
gl.vertexAttribPointer(positionLocation, 2, gl.FLOAT, false, 0, 0);
|
|
651
|
+
gl.enableVertexAttribArray(positionLocation);
|
|
652
|
+
const lines = triangulation.getTriangles().reduce(function(lines2, triangle) {
|
|
653
|
+
const target = triangle.target;
|
|
654
|
+
const { u1, v1, u0, v0, u2, v2 } = getUVs(target);
|
|
655
|
+
return lines2.concat([u1, v1, u0, v0, u0, v0, u2, v2, u2, v2, u1, v1]);
|
|
656
|
+
}, []);
|
|
657
|
+
gl.bufferData(gl.ARRAY_BUFFER, new Float32Array(lines), gl.STATIC_DRAW);
|
|
658
|
+
gl.drawArrays(gl.LINES, 0, lines.length / 2);
|
|
659
|
+
}
|
|
660
|
+
return {
|
|
661
|
+
width,
|
|
662
|
+
height,
|
|
663
|
+
framebuffer: resultFrameBuffer,
|
|
664
|
+
texture: resultTexture
|
|
665
|
+
};
|
|
666
|
+
}
|
|
667
|
+
|
|
668
|
+
// node_modules/ol/reproj/DataTile.js
|
|
669
|
+
var ReprojDataTile = class extends DataTile_default {
|
|
670
|
+
/**
|
|
671
|
+
* @param {Options} options Tile options.
|
|
672
|
+
*/
|
|
673
|
+
constructor(options) {
|
|
674
|
+
super({
|
|
675
|
+
tileCoord: options.tileCoord,
|
|
676
|
+
loader: () => Promise.resolve(new Uint8ClampedArray(4)),
|
|
677
|
+
interpolate: options.interpolate,
|
|
678
|
+
transition: options.transition
|
|
679
|
+
});
|
|
680
|
+
this.renderEdges_ = options.renderEdges !== void 0 ? options.renderEdges : false;
|
|
681
|
+
this.pixelRatio_ = options.pixelRatio;
|
|
682
|
+
this.gutter_ = options.gutter;
|
|
683
|
+
this.reprojData_ = null;
|
|
684
|
+
this.reprojError_ = null;
|
|
685
|
+
this.reprojSize_ = void 0;
|
|
686
|
+
this.sourceTileGrid_ = options.sourceTileGrid;
|
|
687
|
+
this.targetTileGrid_ = options.targetTileGrid;
|
|
688
|
+
this.wrappedTileCoord_ = options.wrappedTileCoord || options.tileCoord;
|
|
689
|
+
this.sourceTiles_ = [];
|
|
690
|
+
this.sourcesListenerKeys_ = null;
|
|
691
|
+
this.sourceZ_ = 0;
|
|
692
|
+
const sourceProj = options.sourceProj;
|
|
693
|
+
const sourceProjExtent = sourceProj.getExtent();
|
|
694
|
+
const sourceTileGridExtent = options.sourceTileGrid.getExtent();
|
|
695
|
+
this.clipExtent_ = sourceProj.canWrapX() ? sourceTileGridExtent ? getIntersection(sourceProjExtent, sourceTileGridExtent) : sourceProjExtent : sourceTileGridExtent;
|
|
696
|
+
const targetExtent = this.targetTileGrid_.getTileCoordExtent(
|
|
697
|
+
this.wrappedTileCoord_
|
|
698
|
+
);
|
|
699
|
+
const maxTargetExtent = this.targetTileGrid_.getExtent();
|
|
700
|
+
let maxSourceExtent = this.sourceTileGrid_.getExtent();
|
|
701
|
+
const limitedTargetExtent = maxTargetExtent ? getIntersection(targetExtent, maxTargetExtent) : targetExtent;
|
|
702
|
+
if (getArea(limitedTargetExtent) === 0) {
|
|
703
|
+
this.state = TileState_default.EMPTY;
|
|
704
|
+
return;
|
|
705
|
+
}
|
|
706
|
+
if (sourceProjExtent) {
|
|
707
|
+
if (!maxSourceExtent) {
|
|
708
|
+
maxSourceExtent = sourceProjExtent;
|
|
709
|
+
} else {
|
|
710
|
+
maxSourceExtent = getIntersection(maxSourceExtent, sourceProjExtent);
|
|
711
|
+
}
|
|
712
|
+
}
|
|
713
|
+
const targetResolution = this.targetTileGrid_.getResolution(
|
|
714
|
+
this.wrappedTileCoord_[0]
|
|
715
|
+
);
|
|
716
|
+
const targetProj = options.targetProj;
|
|
717
|
+
const sourceResolution = calculateSourceExtentResolution(
|
|
718
|
+
sourceProj,
|
|
719
|
+
targetProj,
|
|
720
|
+
limitedTargetExtent,
|
|
721
|
+
targetResolution
|
|
722
|
+
);
|
|
723
|
+
if (!isFinite(sourceResolution) || sourceResolution <= 0) {
|
|
724
|
+
this.state = TileState_default.EMPTY;
|
|
725
|
+
return;
|
|
726
|
+
}
|
|
727
|
+
const errorThresholdInPixels = options.errorThreshold !== void 0 ? options.errorThreshold : ERROR_THRESHOLD;
|
|
728
|
+
this.triangulation_ = new Triangulation_default(
|
|
729
|
+
sourceProj,
|
|
730
|
+
targetProj,
|
|
731
|
+
limitedTargetExtent,
|
|
732
|
+
maxSourceExtent,
|
|
733
|
+
sourceResolution * errorThresholdInPixels,
|
|
734
|
+
targetResolution,
|
|
735
|
+
options.transformMatrix
|
|
736
|
+
);
|
|
737
|
+
if (this.triangulation_.getTriangles().length === 0) {
|
|
738
|
+
this.state = TileState_default.EMPTY;
|
|
739
|
+
return;
|
|
740
|
+
}
|
|
741
|
+
this.sourceZ_ = this.sourceTileGrid_.getZForResolution(sourceResolution);
|
|
742
|
+
let sourceExtent = this.triangulation_.calculateSourceExtent();
|
|
743
|
+
if (maxSourceExtent) {
|
|
744
|
+
if (sourceProj.canWrapX()) {
|
|
745
|
+
sourceExtent[1] = clamp(
|
|
746
|
+
sourceExtent[1],
|
|
747
|
+
maxSourceExtent[1],
|
|
748
|
+
maxSourceExtent[3]
|
|
749
|
+
);
|
|
750
|
+
sourceExtent[3] = clamp(
|
|
751
|
+
sourceExtent[3],
|
|
752
|
+
maxSourceExtent[1],
|
|
753
|
+
maxSourceExtent[3]
|
|
754
|
+
);
|
|
755
|
+
} else {
|
|
756
|
+
sourceExtent = getIntersection(sourceExtent, maxSourceExtent);
|
|
757
|
+
}
|
|
758
|
+
}
|
|
759
|
+
if (!getArea(sourceExtent)) {
|
|
760
|
+
this.state = TileState_default.EMPTY;
|
|
761
|
+
} else {
|
|
762
|
+
let worldWidth = 0;
|
|
763
|
+
let worldsAway = 0;
|
|
764
|
+
if (sourceProj.canWrapX()) {
|
|
765
|
+
worldWidth = getWidth(sourceProjExtent);
|
|
766
|
+
worldsAway = Math.floor(
|
|
767
|
+
(sourceExtent[0] - sourceProjExtent[0]) / worldWidth
|
|
768
|
+
);
|
|
769
|
+
}
|
|
770
|
+
const sourceExtents = wrapAndSliceX(
|
|
771
|
+
sourceExtent.slice(),
|
|
772
|
+
sourceProj,
|
|
773
|
+
true
|
|
774
|
+
);
|
|
775
|
+
sourceExtents.forEach((extent) => {
|
|
776
|
+
const sourceRange = this.sourceTileGrid_.getTileRangeForExtentAndZ(
|
|
777
|
+
extent,
|
|
778
|
+
this.sourceZ_
|
|
779
|
+
);
|
|
780
|
+
const getTile = options.getTileFunction;
|
|
781
|
+
for (let srcX = sourceRange.minX; srcX <= sourceRange.maxX; srcX++) {
|
|
782
|
+
for (let srcY = sourceRange.minY; srcY <= sourceRange.maxY; srcY++) {
|
|
783
|
+
const tile = getTile(this.sourceZ_, srcX, srcY, this.pixelRatio_);
|
|
784
|
+
if (tile) {
|
|
785
|
+
const offset = worldsAway * worldWidth;
|
|
786
|
+
this.sourceTiles_.push({ tile, offset });
|
|
787
|
+
}
|
|
788
|
+
}
|
|
789
|
+
}
|
|
790
|
+
++worldsAway;
|
|
791
|
+
});
|
|
792
|
+
if (this.sourceTiles_.length === 0) {
|
|
793
|
+
this.state = TileState_default.EMPTY;
|
|
794
|
+
}
|
|
795
|
+
}
|
|
796
|
+
}
|
|
797
|
+
/**
|
|
798
|
+
* Get the tile size.
|
|
799
|
+
* @return {import('../size.js').Size} Tile size.
|
|
800
|
+
* @override
|
|
801
|
+
*/
|
|
802
|
+
getSize() {
|
|
803
|
+
return this.reprojSize_;
|
|
804
|
+
}
|
|
805
|
+
/**
|
|
806
|
+
* Get the data for the tile.
|
|
807
|
+
* @return {import("../DataTile.js").Data} Tile data.
|
|
808
|
+
* @override
|
|
809
|
+
*/
|
|
810
|
+
getData() {
|
|
811
|
+
return this.reprojData_;
|
|
812
|
+
}
|
|
813
|
+
/**
|
|
814
|
+
* Get any loading error.
|
|
815
|
+
* @return {Error} Loading error.
|
|
816
|
+
* @override
|
|
817
|
+
*/
|
|
818
|
+
getError() {
|
|
819
|
+
return this.reprojError_;
|
|
820
|
+
}
|
|
821
|
+
/**
|
|
822
|
+
* @private
|
|
823
|
+
*/
|
|
824
|
+
reproject_() {
|
|
825
|
+
const dataSources = [];
|
|
826
|
+
let imageLike = false;
|
|
827
|
+
this.sourceTiles_.forEach((source) => {
|
|
828
|
+
var _a;
|
|
829
|
+
const tile = source.tile;
|
|
830
|
+
if (!tile || tile.getState() !== TileState_default.LOADED) {
|
|
831
|
+
return;
|
|
832
|
+
}
|
|
833
|
+
const size2 = tile.getSize();
|
|
834
|
+
const gutter = this.gutter_;
|
|
835
|
+
let tileData;
|
|
836
|
+
const arrayData = asArrayLike(tile.getData());
|
|
837
|
+
if (arrayData) {
|
|
838
|
+
tileData = arrayData;
|
|
839
|
+
} else {
|
|
840
|
+
imageLike = true;
|
|
841
|
+
tileData = toArray(asImageLike(tile.getData()));
|
|
842
|
+
}
|
|
843
|
+
const pixelSize = [size2[0] + 2 * gutter, size2[1] + 2 * gutter];
|
|
844
|
+
const isFloat = tileData instanceof Float32Array;
|
|
845
|
+
const pixelCount = pixelSize[0] * pixelSize[1];
|
|
846
|
+
const DataType = isFloat ? Float32Array : Uint8ClampedArray;
|
|
847
|
+
const tileDataR = new DataType(
|
|
848
|
+
/** @type {ArrayBuffer} */
|
|
849
|
+
tileData.buffer
|
|
850
|
+
);
|
|
851
|
+
const bytesPerElement = DataType.BYTES_PER_ELEMENT;
|
|
852
|
+
const bytesPerPixel = bytesPerElement * tileDataR.length / pixelCount;
|
|
853
|
+
const bytesPerRow = tileDataR.byteLength / pixelSize[1];
|
|
854
|
+
const bandCount2 = Math.floor(
|
|
855
|
+
bytesPerRow / bytesPerElement / pixelSize[0]
|
|
856
|
+
);
|
|
857
|
+
const extent = this.sourceTileGrid_.getTileCoordExtent(tile.tileCoord);
|
|
858
|
+
extent[0] += source.offset;
|
|
859
|
+
extent[2] += source.offset;
|
|
860
|
+
const clipExtent = (_a = this.clipExtent_) == null ? void 0 : _a.slice();
|
|
861
|
+
if (clipExtent) {
|
|
862
|
+
clipExtent[0] += source.offset;
|
|
863
|
+
clipExtent[2] += source.offset;
|
|
864
|
+
}
|
|
865
|
+
dataSources.push({
|
|
866
|
+
extent,
|
|
867
|
+
clipExtent,
|
|
868
|
+
data: tileDataR,
|
|
869
|
+
dataType: DataType,
|
|
870
|
+
bytesPerPixel,
|
|
871
|
+
pixelSize,
|
|
872
|
+
bandCount: bandCount2
|
|
873
|
+
});
|
|
874
|
+
});
|
|
875
|
+
this.sourceTiles_.length = 0;
|
|
876
|
+
if (dataSources.length === 0) {
|
|
877
|
+
this.state = TileState_default.ERROR;
|
|
878
|
+
this.changed();
|
|
879
|
+
return;
|
|
880
|
+
}
|
|
881
|
+
const z = this.wrappedTileCoord_[0];
|
|
882
|
+
const size = this.targetTileGrid_.getTileSize(z);
|
|
883
|
+
const targetWidth = typeof size === "number" ? size : size[0];
|
|
884
|
+
const targetHeight = typeof size === "number" ? size : size[1];
|
|
885
|
+
const outWidth = Math.round(targetWidth * this.pixelRatio_);
|
|
886
|
+
const outHeight = Math.round(targetHeight * this.pixelRatio_);
|
|
887
|
+
const targetResolution = this.targetTileGrid_.getResolution(z);
|
|
888
|
+
const sourceResolution = this.sourceTileGrid_.getResolution(this.sourceZ_);
|
|
889
|
+
const targetExtent = this.targetTileGrid_.getTileCoordExtent(
|
|
890
|
+
this.wrappedTileCoord_
|
|
891
|
+
);
|
|
892
|
+
const bandCount = dataSources[0].bandCount;
|
|
893
|
+
const dataR = new dataSources[0].dataType(bandCount * outWidth * outHeight);
|
|
894
|
+
const gl = createCanvasContextWebGL(outWidth, outHeight, canvasGLPool, {
|
|
895
|
+
premultipliedAlpha: false,
|
|
896
|
+
antialias: false
|
|
897
|
+
});
|
|
898
|
+
let willInterpolate;
|
|
899
|
+
const format = gl.RGBA;
|
|
900
|
+
let textureType;
|
|
901
|
+
if (dataSources[0].dataType == Float32Array) {
|
|
902
|
+
textureType = gl.FLOAT;
|
|
903
|
+
gl.getExtension("WEBGL_color_buffer_float");
|
|
904
|
+
gl.getExtension("OES_texture_float");
|
|
905
|
+
gl.getExtension("EXT_float_blend");
|
|
906
|
+
const extension = gl.getExtension("OES_texture_float_linear");
|
|
907
|
+
const canInterpolate = extension !== null;
|
|
908
|
+
willInterpolate = canInterpolate && this.interpolate;
|
|
909
|
+
} else {
|
|
910
|
+
textureType = gl.UNSIGNED_BYTE;
|
|
911
|
+
willInterpolate = this.interpolate;
|
|
912
|
+
}
|
|
913
|
+
const BANDS_PR_REPROJ = 4;
|
|
914
|
+
const reprojs = Math.ceil(bandCount / BANDS_PR_REPROJ);
|
|
915
|
+
for (let reproj = reprojs - 1; reproj >= 0; --reproj) {
|
|
916
|
+
const sources = [];
|
|
917
|
+
for (let i = 0, len = dataSources.length; i < len; ++i) {
|
|
918
|
+
const dataSource = dataSources[i];
|
|
919
|
+
const pixelSize = dataSource.pixelSize;
|
|
920
|
+
const width2 = pixelSize[0];
|
|
921
|
+
const height2 = pixelSize[1];
|
|
922
|
+
const data2 = new dataSource.dataType(BANDS_PR_REPROJ * width2 * height2);
|
|
923
|
+
const dataS = dataSource.data;
|
|
924
|
+
let offset2 = reproj * BANDS_PR_REPROJ;
|
|
925
|
+
for (let j = 0, len2 = data2.length; j < len2; j += BANDS_PR_REPROJ) {
|
|
926
|
+
data2[j] = dataS[offset2];
|
|
927
|
+
data2[j + 1] = dataS[offset2 + 1];
|
|
928
|
+
data2[j + 2] = dataS[offset2 + 2];
|
|
929
|
+
data2[j + 3] = dataS[offset2 + 3];
|
|
930
|
+
offset2 += bandCount;
|
|
931
|
+
}
|
|
932
|
+
const texture = gl.createTexture();
|
|
933
|
+
gl.bindTexture(gl.TEXTURE_2D, texture);
|
|
934
|
+
if (willInterpolate) {
|
|
935
|
+
gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MIN_FILTER, gl.LINEAR);
|
|
936
|
+
gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MAG_FILTER, gl.LINEAR);
|
|
937
|
+
} else {
|
|
938
|
+
gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MIN_FILTER, gl.NEAREST);
|
|
939
|
+
gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MAG_FILTER, gl.NEAREST);
|
|
940
|
+
}
|
|
941
|
+
gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_WRAP_S, gl.CLAMP_TO_EDGE);
|
|
942
|
+
gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_WRAP_T, gl.CLAMP_TO_EDGE);
|
|
943
|
+
gl.texImage2D(
|
|
944
|
+
gl.TEXTURE_2D,
|
|
945
|
+
0,
|
|
946
|
+
format,
|
|
947
|
+
width2,
|
|
948
|
+
height2,
|
|
949
|
+
0,
|
|
950
|
+
format,
|
|
951
|
+
textureType,
|
|
952
|
+
data2
|
|
953
|
+
);
|
|
954
|
+
sources.push({
|
|
955
|
+
extent: dataSource.extent,
|
|
956
|
+
clipExtent: dataSource.clipExtent,
|
|
957
|
+
texture,
|
|
958
|
+
width: width2,
|
|
959
|
+
height: height2
|
|
960
|
+
});
|
|
961
|
+
}
|
|
962
|
+
const { framebuffer, width, height } = render(
|
|
963
|
+
gl,
|
|
964
|
+
targetWidth,
|
|
965
|
+
targetHeight,
|
|
966
|
+
this.pixelRatio_,
|
|
967
|
+
sourceResolution,
|
|
968
|
+
targetResolution,
|
|
969
|
+
targetExtent,
|
|
970
|
+
this.triangulation_,
|
|
971
|
+
sources,
|
|
972
|
+
this.gutter_,
|
|
973
|
+
textureType,
|
|
974
|
+
this.renderEdges_,
|
|
975
|
+
willInterpolate
|
|
976
|
+
);
|
|
977
|
+
const rows = width;
|
|
978
|
+
const cols = height * BANDS_PR_REPROJ;
|
|
979
|
+
const data = new dataSources[0].dataType(rows * cols);
|
|
980
|
+
gl.bindFramebuffer(gl.FRAMEBUFFER, framebuffer);
|
|
981
|
+
gl.readPixels(0, 0, width, height, gl.RGBA, textureType, data);
|
|
982
|
+
let offset = reproj * BANDS_PR_REPROJ;
|
|
983
|
+
for (let i = 0, len = data.length; i < len; i += BANDS_PR_REPROJ) {
|
|
984
|
+
const flipY = (rows - 1 - (i / cols | 0)) * cols + i % cols;
|
|
985
|
+
dataR[offset] = data[flipY];
|
|
986
|
+
dataR[offset + 1] = data[flipY + 1];
|
|
987
|
+
dataR[offset + 2] = data[flipY + 2];
|
|
988
|
+
dataR[offset + 3] = data[flipY + 3];
|
|
989
|
+
offset += bandCount;
|
|
990
|
+
}
|
|
991
|
+
}
|
|
992
|
+
releaseGLCanvas(gl);
|
|
993
|
+
canvasGLPool.push(gl.canvas);
|
|
994
|
+
if (imageLike) {
|
|
995
|
+
const context = createCanvasContext2D(targetWidth, targetHeight);
|
|
996
|
+
const imageData = new ImageData(dataR, targetWidth);
|
|
997
|
+
context.putImageData(imageData, 0, 0);
|
|
998
|
+
this.reprojData_ = context.canvas;
|
|
999
|
+
} else {
|
|
1000
|
+
this.reprojData_ = dataR;
|
|
1001
|
+
}
|
|
1002
|
+
this.reprojSize_ = [outWidth, outHeight];
|
|
1003
|
+
this.state = TileState_default.LOADED;
|
|
1004
|
+
this.changed();
|
|
1005
|
+
}
|
|
1006
|
+
/**
|
|
1007
|
+
* Load not yet loaded URI.
|
|
1008
|
+
* @override
|
|
1009
|
+
*/
|
|
1010
|
+
load() {
|
|
1011
|
+
if (this.state !== TileState_default.IDLE && this.state !== TileState_default.ERROR) {
|
|
1012
|
+
return;
|
|
1013
|
+
}
|
|
1014
|
+
this.state = TileState_default.LOADING;
|
|
1015
|
+
this.changed();
|
|
1016
|
+
let leftToLoad = 0;
|
|
1017
|
+
this.sourcesListenerKeys_ = [];
|
|
1018
|
+
this.sourceTiles_.forEach(({ tile }) => {
|
|
1019
|
+
const state = tile.getState();
|
|
1020
|
+
if (state !== TileState_default.IDLE && state !== TileState_default.LOADING) {
|
|
1021
|
+
return;
|
|
1022
|
+
}
|
|
1023
|
+
leftToLoad++;
|
|
1024
|
+
const sourceListenKey = listen(tile, EventType_default.CHANGE, () => {
|
|
1025
|
+
const state2 = tile.getState();
|
|
1026
|
+
if (state2 == TileState_default.LOADED || state2 == TileState_default.ERROR || state2 == TileState_default.EMPTY) {
|
|
1027
|
+
unlistenByKey(sourceListenKey);
|
|
1028
|
+
leftToLoad--;
|
|
1029
|
+
if (leftToLoad === 0) {
|
|
1030
|
+
this.unlistenSources_();
|
|
1031
|
+
this.reproject_();
|
|
1032
|
+
}
|
|
1033
|
+
}
|
|
1034
|
+
});
|
|
1035
|
+
this.sourcesListenerKeys_.push(sourceListenKey);
|
|
1036
|
+
});
|
|
1037
|
+
if (leftToLoad === 0) {
|
|
1038
|
+
setTimeout(this.reproject_.bind(this), 0);
|
|
1039
|
+
} else {
|
|
1040
|
+
this.sourceTiles_.forEach(function({ tile }) {
|
|
1041
|
+
const state = tile.getState();
|
|
1042
|
+
if (state == TileState_default.IDLE) {
|
|
1043
|
+
tile.load();
|
|
1044
|
+
}
|
|
1045
|
+
});
|
|
1046
|
+
}
|
|
1047
|
+
}
|
|
1048
|
+
/**
|
|
1049
|
+
* @private
|
|
1050
|
+
*/
|
|
1051
|
+
unlistenSources_() {
|
|
1052
|
+
this.sourcesListenerKeys_.forEach(unlistenByKey);
|
|
1053
|
+
this.sourcesListenerKeys_ = null;
|
|
1054
|
+
}
|
|
1055
|
+
};
|
|
1056
|
+
var DataTile_default2 = ReprojDataTile;
|
|
1057
|
+
|
|
1058
|
+
// node_modules/ol/source/DataTile.js
|
|
1059
|
+
var DataTileSource = class extends Tile_default {
|
|
1060
|
+
/**
|
|
1061
|
+
* @param {Options} options DataTile source options.
|
|
1062
|
+
*/
|
|
1063
|
+
constructor(options) {
|
|
1064
|
+
const projection = options.projection === void 0 ? "EPSG:3857" : options.projection;
|
|
1065
|
+
let tileGrid = options.tileGrid;
|
|
1066
|
+
if (tileGrid === void 0 && projection) {
|
|
1067
|
+
tileGrid = createXYZ({
|
|
1068
|
+
extent: extentFromProjection(projection),
|
|
1069
|
+
maxResolution: options.maxResolution,
|
|
1070
|
+
maxZoom: options.maxZoom,
|
|
1071
|
+
minZoom: options.minZoom,
|
|
1072
|
+
tileSize: options.tileSize
|
|
1073
|
+
});
|
|
1074
|
+
}
|
|
1075
|
+
super({
|
|
1076
|
+
cacheSize: 0.1,
|
|
1077
|
+
// don't cache on the source
|
|
1078
|
+
attributions: options.attributions,
|
|
1079
|
+
attributionsCollapsible: options.attributionsCollapsible,
|
|
1080
|
+
projection,
|
|
1081
|
+
tileGrid,
|
|
1082
|
+
state: options.state,
|
|
1083
|
+
wrapX: options.wrapX,
|
|
1084
|
+
transition: options.transition,
|
|
1085
|
+
interpolate: options.interpolate,
|
|
1086
|
+
key: options.key,
|
|
1087
|
+
zDirection: options.zDirection
|
|
1088
|
+
});
|
|
1089
|
+
this.gutter_ = options.gutter !== void 0 ? options.gutter : 0;
|
|
1090
|
+
this.tileSize_ = options.tileSize ? toSize(options.tileSize) : null;
|
|
1091
|
+
this.tileSizes_ = null;
|
|
1092
|
+
this.tileLoadingKeys_ = {};
|
|
1093
|
+
this.loader_ = options.loader;
|
|
1094
|
+
this.handleTileChange_ = this.handleTileChange_.bind(this);
|
|
1095
|
+
this.bandCount = options.bandCount === void 0 ? 4 : options.bandCount;
|
|
1096
|
+
this.tileGridForProjection_ = {};
|
|
1097
|
+
this.crossOrigin_ = options.crossOrigin || "anonymous";
|
|
1098
|
+
this.referrerPolicy_ = options.referrerPolicy;
|
|
1099
|
+
this.transformMatrix = null;
|
|
1100
|
+
}
|
|
1101
|
+
/**
|
|
1102
|
+
* Set the source tile sizes. The length of the array is expected to match the number of
|
|
1103
|
+
* levels in the tile grid.
|
|
1104
|
+
* @protected
|
|
1105
|
+
* @param {Array<import('../size.js').Size>} tileSizes An array of tile sizes.
|
|
1106
|
+
*/
|
|
1107
|
+
setTileSizes(tileSizes) {
|
|
1108
|
+
this.tileSizes_ = tileSizes;
|
|
1109
|
+
}
|
|
1110
|
+
/**
|
|
1111
|
+
* Get the source tile size at the given zoom level. This may be different than the rendered tile
|
|
1112
|
+
* size.
|
|
1113
|
+
* @protected
|
|
1114
|
+
* @param {number} z Tile zoom level.
|
|
1115
|
+
* @return {import('../size.js').Size} The source tile size.
|
|
1116
|
+
*/
|
|
1117
|
+
getTileSize(z) {
|
|
1118
|
+
if (this.tileSizes_) {
|
|
1119
|
+
return this.tileSizes_[z];
|
|
1120
|
+
}
|
|
1121
|
+
if (this.tileSize_) {
|
|
1122
|
+
return this.tileSize_;
|
|
1123
|
+
}
|
|
1124
|
+
const tileGrid = this.getTileGrid();
|
|
1125
|
+
return tileGrid ? toSize(tileGrid.getTileSize(z)) : [256, 256];
|
|
1126
|
+
}
|
|
1127
|
+
/**
|
|
1128
|
+
* @param {import("../proj/Projection.js").default} projection Projection.
|
|
1129
|
+
* @return {number} Gutter.
|
|
1130
|
+
* @override
|
|
1131
|
+
*/
|
|
1132
|
+
getGutterForProjection(projection) {
|
|
1133
|
+
const thisProj = this.getProjection();
|
|
1134
|
+
if ((!thisProj || equivalent(thisProj, projection)) && !this.transformMatrix) {
|
|
1135
|
+
return this.gutter_;
|
|
1136
|
+
}
|
|
1137
|
+
return 0;
|
|
1138
|
+
}
|
|
1139
|
+
/**
|
|
1140
|
+
* @param {Loader} loader The data loader.
|
|
1141
|
+
* @protected
|
|
1142
|
+
*/
|
|
1143
|
+
setLoader(loader) {
|
|
1144
|
+
this.loader_ = loader;
|
|
1145
|
+
}
|
|
1146
|
+
/**
|
|
1147
|
+
* @param {number} z Tile coordinate z.
|
|
1148
|
+
* @param {number} x Tile coordinate x.
|
|
1149
|
+
* @param {number} y Tile coordinate y.
|
|
1150
|
+
* @param {import("../proj/Projection.js").default} targetProj The output projection.
|
|
1151
|
+
* @param {import("../proj/Projection.js").default} sourceProj The input projection.
|
|
1152
|
+
* @param {import("../structs/LRUCache.js").default<import("../Tile.js").default>} [tileCache] Tile cache.
|
|
1153
|
+
* @return {!TileType} Tile.
|
|
1154
|
+
*/
|
|
1155
|
+
getReprojTile_(z, x, y, targetProj, sourceProj, tileCache) {
|
|
1156
|
+
const sourceTileGrid = this.tileGrid || this.getTileGridForProjection(sourceProj || targetProj);
|
|
1157
|
+
const reprojTilePixelRatio = Math.max.apply(
|
|
1158
|
+
null,
|
|
1159
|
+
sourceTileGrid.getResolutions().map((r, z2) => {
|
|
1160
|
+
const tileSize = toSize(sourceTileGrid.getTileSize(z2));
|
|
1161
|
+
const textureSize = this.getTileSize(z2);
|
|
1162
|
+
return Math.max(
|
|
1163
|
+
textureSize[0] / tileSize[0],
|
|
1164
|
+
textureSize[1] / tileSize[1]
|
|
1165
|
+
);
|
|
1166
|
+
})
|
|
1167
|
+
);
|
|
1168
|
+
const targetTileGrid = this.getTileGridForProjection(targetProj);
|
|
1169
|
+
const tileCoord = [z, x, y];
|
|
1170
|
+
const wrappedTileCoord = this.getTileCoordForTileUrlFunction(
|
|
1171
|
+
tileCoord,
|
|
1172
|
+
targetProj
|
|
1173
|
+
);
|
|
1174
|
+
const options = Object.assign(
|
|
1175
|
+
{
|
|
1176
|
+
sourceProj: sourceProj || targetProj,
|
|
1177
|
+
sourceTileGrid,
|
|
1178
|
+
targetProj,
|
|
1179
|
+
targetTileGrid,
|
|
1180
|
+
tileCoord,
|
|
1181
|
+
wrappedTileCoord,
|
|
1182
|
+
pixelRatio: reprojTilePixelRatio,
|
|
1183
|
+
gutter: this.gutter_,
|
|
1184
|
+
getTileFunction: (z2, x2, y2, pixelRatio) => this.getTile(z2, x2, y2, pixelRatio, void 0, tileCache),
|
|
1185
|
+
transformMatrix: this.transformMatrix
|
|
1186
|
+
},
|
|
1187
|
+
/** @type {import("../reproj/DataTile.js").Options} */
|
|
1188
|
+
this.tileOptions
|
|
1189
|
+
);
|
|
1190
|
+
const tile = (
|
|
1191
|
+
/** @type {TileType} */
|
|
1192
|
+
/** @type {*} */
|
|
1193
|
+
new DataTile_default2(options)
|
|
1194
|
+
);
|
|
1195
|
+
tile.key = this.getKey();
|
|
1196
|
+
return tile;
|
|
1197
|
+
}
|
|
1198
|
+
/**
|
|
1199
|
+
* @param {number} z Tile coordinate z.
|
|
1200
|
+
* @param {number} x Tile coordinate x.
|
|
1201
|
+
* @param {number} y Tile coordinate y.
|
|
1202
|
+
* @param {number} pixelRatio Pixel ratio.
|
|
1203
|
+
* @param {import("../proj/Projection.js").default} [projection] Projection.
|
|
1204
|
+
* @param {import("../structs/LRUCache.js").default<import("../Tile.js").default>} [tileCache] Tile cache.
|
|
1205
|
+
* @return {TileType|null} Tile (or null if outside source extent).
|
|
1206
|
+
* @override
|
|
1207
|
+
*/
|
|
1208
|
+
getTile(z, x, y, pixelRatio, projection, tileCache) {
|
|
1209
|
+
var _a;
|
|
1210
|
+
const sourceProjection = this.getProjection();
|
|
1211
|
+
if (projection && (sourceProjection && !equivalent(sourceProjection, projection) || this.transformMatrix)) {
|
|
1212
|
+
return this.getReprojTile_(
|
|
1213
|
+
z,
|
|
1214
|
+
x,
|
|
1215
|
+
y,
|
|
1216
|
+
projection,
|
|
1217
|
+
sourceProjection,
|
|
1218
|
+
tileCache
|
|
1219
|
+
);
|
|
1220
|
+
}
|
|
1221
|
+
const size = this.getTileSize(z);
|
|
1222
|
+
const sourceLoader = this.loader_;
|
|
1223
|
+
const controller = new AbortController();
|
|
1224
|
+
const loaderOptions = {
|
|
1225
|
+
signal: controller.signal,
|
|
1226
|
+
crossOrigin: this.crossOrigin_,
|
|
1227
|
+
referrerPolicy: this.referrerPolicy_
|
|
1228
|
+
};
|
|
1229
|
+
const tileCoord = this.getTileCoordForTileUrlFunction([z, x, y]);
|
|
1230
|
+
if (!tileCoord) {
|
|
1231
|
+
return null;
|
|
1232
|
+
}
|
|
1233
|
+
const key = this.getKey();
|
|
1234
|
+
const cacheKey = getCacheKey(this, key, z, x, y);
|
|
1235
|
+
if (tileCache && tileCache.containsKey(cacheKey)) {
|
|
1236
|
+
return (
|
|
1237
|
+
/** @type {TileType} */
|
|
1238
|
+
tileCache.get(cacheKey)
|
|
1239
|
+
);
|
|
1240
|
+
}
|
|
1241
|
+
const requestZ = tileCoord[0];
|
|
1242
|
+
const requestX = tileCoord[1];
|
|
1243
|
+
const requestY = tileCoord[2];
|
|
1244
|
+
const range = (_a = this.getTileGrid()) == null ? void 0 : _a.getFullTileRange(requestZ);
|
|
1245
|
+
if (range) {
|
|
1246
|
+
loaderOptions.maxY = range.getHeight() - 1;
|
|
1247
|
+
}
|
|
1248
|
+
function loader() {
|
|
1249
|
+
return toPromise(function() {
|
|
1250
|
+
return sourceLoader(requestZ, requestX, requestY, loaderOptions);
|
|
1251
|
+
});
|
|
1252
|
+
}
|
|
1253
|
+
const options = Object.assign(
|
|
1254
|
+
{
|
|
1255
|
+
tileCoord: [z, x, y],
|
|
1256
|
+
loader,
|
|
1257
|
+
size,
|
|
1258
|
+
controller
|
|
1259
|
+
},
|
|
1260
|
+
this.tileOptions
|
|
1261
|
+
);
|
|
1262
|
+
const tile = (
|
|
1263
|
+
/** @type {TileType} */
|
|
1264
|
+
/** @type {*} */
|
|
1265
|
+
new DataTile_default(options)
|
|
1266
|
+
);
|
|
1267
|
+
tile.key = this.getKey();
|
|
1268
|
+
tile.addEventListener(EventType_default.CHANGE, this.handleTileChange_);
|
|
1269
|
+
tileCache == null ? void 0 : tileCache.set(cacheKey, tile);
|
|
1270
|
+
return tile;
|
|
1271
|
+
}
|
|
1272
|
+
/**
|
|
1273
|
+
* Handle tile change events.
|
|
1274
|
+
* @param {import("../events/Event.js").default} event Event.
|
|
1275
|
+
*/
|
|
1276
|
+
handleTileChange_(event) {
|
|
1277
|
+
const tile = (
|
|
1278
|
+
/** @type {import("../Tile.js").default} */
|
|
1279
|
+
event.target
|
|
1280
|
+
);
|
|
1281
|
+
const uid = getUid(tile);
|
|
1282
|
+
const tileState = tile.getState();
|
|
1283
|
+
let type;
|
|
1284
|
+
if (tileState == TileState_default.LOADING) {
|
|
1285
|
+
this.tileLoadingKeys_[uid] = true;
|
|
1286
|
+
type = TileEventType_default.TILELOADSTART;
|
|
1287
|
+
} else if (uid in this.tileLoadingKeys_) {
|
|
1288
|
+
delete this.tileLoadingKeys_[uid];
|
|
1289
|
+
type = tileState == TileState_default.ERROR ? TileEventType_default.TILELOADERROR : tileState == TileState_default.LOADED ? TileEventType_default.TILELOADEND : void 0;
|
|
1290
|
+
}
|
|
1291
|
+
if (type) {
|
|
1292
|
+
this.dispatchEvent(new TileSourceEvent(type, tile));
|
|
1293
|
+
}
|
|
1294
|
+
}
|
|
1295
|
+
/**
|
|
1296
|
+
* @param {import("../proj/Projection.js").default} projection Projection.
|
|
1297
|
+
* @return {!import("../tilegrid/TileGrid.js").default} Tile grid.
|
|
1298
|
+
* @override
|
|
1299
|
+
*/
|
|
1300
|
+
getTileGridForProjection(projection) {
|
|
1301
|
+
const thisProj = this.getProjection();
|
|
1302
|
+
if (this.tileGrid && (!thisProj || equivalent(thisProj, projection)) && !this.transformMatrix) {
|
|
1303
|
+
return this.tileGrid;
|
|
1304
|
+
}
|
|
1305
|
+
const projKey = getUid(projection);
|
|
1306
|
+
if (!(projKey in this.tileGridForProjection_)) {
|
|
1307
|
+
this.tileGridForProjection_[projKey] = getForProjection(projection);
|
|
1308
|
+
}
|
|
1309
|
+
return this.tileGridForProjection_[projKey];
|
|
1310
|
+
}
|
|
1311
|
+
/**
|
|
1312
|
+
* Sets the tile grid to use when reprojecting the tiles to the given
|
|
1313
|
+
* projection instead of the default tile grid for the projection.
|
|
1314
|
+
*
|
|
1315
|
+
* This can be useful when the default tile grid cannot be created
|
|
1316
|
+
* (e.g. projection has no extent defined) or
|
|
1317
|
+
* for optimization reasons (custom tile size, resolutions, ...).
|
|
1318
|
+
*
|
|
1319
|
+
* @param {import("../proj.js").ProjectionLike} projection Projection.
|
|
1320
|
+
* @param {import("../tilegrid/TileGrid.js").default} tilegrid Tile grid to use for the projection.
|
|
1321
|
+
* @api
|
|
1322
|
+
*/
|
|
1323
|
+
setTileGridForProjection(projection, tilegrid) {
|
|
1324
|
+
const proj = get(projection);
|
|
1325
|
+
if (proj) {
|
|
1326
|
+
const projKey = getUid(proj);
|
|
1327
|
+
if (!(projKey in this.tileGridForProjection_)) {
|
|
1328
|
+
this.tileGridForProjection_[projKey] = tilegrid;
|
|
1329
|
+
}
|
|
1330
|
+
}
|
|
1331
|
+
}
|
|
1332
|
+
};
|
|
1333
|
+
var DataTile_default3 = DataTileSource;
|
|
1334
|
+
|
|
1335
|
+
export {
|
|
1336
|
+
create,
|
|
1337
|
+
fromTransform,
|
|
1338
|
+
DataTile_default3 as DataTile_default
|
|
1339
|
+
};
|