@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
|
@@ -1,1985 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
DEFAULT_MAX_ZOOM,
|
|
3
|
-
DEFAULT_TILE_SIZE,
|
|
4
|
-
EventType_default,
|
|
5
|
-
Event_default,
|
|
6
|
-
METERS_PER_UNIT,
|
|
7
|
-
Source_default,
|
|
8
|
-
Target_default,
|
|
9
|
-
abstract,
|
|
10
|
-
apply,
|
|
11
|
-
assert,
|
|
12
|
-
boundingExtent,
|
|
13
|
-
ceil,
|
|
14
|
-
clamp,
|
|
15
|
-
containsCoordinate,
|
|
16
|
-
createCanvasContext2D,
|
|
17
|
-
createEmpty,
|
|
18
|
-
createOrUpdate,
|
|
19
|
-
createTransformFromCoordinateTransform,
|
|
20
|
-
easeIn,
|
|
21
|
-
extend2 as extend,
|
|
22
|
-
extendCoordinate,
|
|
23
|
-
floor,
|
|
24
|
-
forEachCorner,
|
|
25
|
-
get,
|
|
26
|
-
getArea,
|
|
27
|
-
getBottomLeft,
|
|
28
|
-
getBottomRight,
|
|
29
|
-
getCenter,
|
|
30
|
-
getCorner,
|
|
31
|
-
getHeight,
|
|
32
|
-
getPointResolution,
|
|
33
|
-
getTopLeft,
|
|
34
|
-
getTopRight,
|
|
35
|
-
getTransform,
|
|
36
|
-
getUid,
|
|
37
|
-
getWidth,
|
|
38
|
-
intersects,
|
|
39
|
-
intersectsLinearRing,
|
|
40
|
-
isSorted,
|
|
41
|
-
linearFindNearest,
|
|
42
|
-
modulo,
|
|
43
|
-
releaseCanvas,
|
|
44
|
-
scale3 as scale,
|
|
45
|
-
solveLinearSystem,
|
|
46
|
-
toSize,
|
|
47
|
-
transform
|
|
48
|
-
} from "./chunk.RCPXD7AS.js";
|
|
49
|
-
import {
|
|
50
|
-
init_buffer,
|
|
51
|
-
init_dirname,
|
|
52
|
-
init_process
|
|
53
|
-
} from "./chunk.ZEOVK2FE.js";
|
|
54
|
-
|
|
55
|
-
// node_modules/ol/tilegrid/TileGrid.js
|
|
56
|
-
init_dirname();
|
|
57
|
-
init_buffer();
|
|
58
|
-
init_process();
|
|
59
|
-
|
|
60
|
-
// node_modules/ol/TileRange.js
|
|
61
|
-
init_dirname();
|
|
62
|
-
init_buffer();
|
|
63
|
-
init_process();
|
|
64
|
-
var TileRange = class {
|
|
65
|
-
/**
|
|
66
|
-
* @param {number} minX Minimum X.
|
|
67
|
-
* @param {number} maxX Maximum X.
|
|
68
|
-
* @param {number} minY Minimum Y.
|
|
69
|
-
* @param {number} maxY Maximum Y.
|
|
70
|
-
*/
|
|
71
|
-
constructor(minX, maxX, minY, maxY) {
|
|
72
|
-
this.minX = minX;
|
|
73
|
-
this.maxX = maxX;
|
|
74
|
-
this.minY = minY;
|
|
75
|
-
this.maxY = maxY;
|
|
76
|
-
}
|
|
77
|
-
/**
|
|
78
|
-
* @param {import("./tilecoord.js").TileCoord} tileCoord Tile coordinate.
|
|
79
|
-
* @return {boolean} Contains tile coordinate.
|
|
80
|
-
*/
|
|
81
|
-
contains(tileCoord) {
|
|
82
|
-
return this.containsXY(tileCoord[1], tileCoord[2]);
|
|
83
|
-
}
|
|
84
|
-
/**
|
|
85
|
-
* @param {TileRange} tileRange Tile range.
|
|
86
|
-
* @return {boolean} Contains.
|
|
87
|
-
*/
|
|
88
|
-
containsTileRange(tileRange) {
|
|
89
|
-
return this.minX <= tileRange.minX && tileRange.maxX <= this.maxX && this.minY <= tileRange.minY && tileRange.maxY <= this.maxY;
|
|
90
|
-
}
|
|
91
|
-
/**
|
|
92
|
-
* @param {number} x Tile coordinate x.
|
|
93
|
-
* @param {number} y Tile coordinate y.
|
|
94
|
-
* @return {boolean} Contains coordinate.
|
|
95
|
-
*/
|
|
96
|
-
containsXY(x, y) {
|
|
97
|
-
return this.minX <= x && x <= this.maxX && this.minY <= y && y <= this.maxY;
|
|
98
|
-
}
|
|
99
|
-
/**
|
|
100
|
-
* @param {TileRange} tileRange Tile range.
|
|
101
|
-
* @return {boolean} Equals.
|
|
102
|
-
*/
|
|
103
|
-
equals(tileRange) {
|
|
104
|
-
return this.minX == tileRange.minX && this.minY == tileRange.minY && this.maxX == tileRange.maxX && this.maxY == tileRange.maxY;
|
|
105
|
-
}
|
|
106
|
-
/**
|
|
107
|
-
* @param {TileRange} tileRange Tile range.
|
|
108
|
-
*/
|
|
109
|
-
extend(tileRange) {
|
|
110
|
-
if (tileRange.minX < this.minX) {
|
|
111
|
-
this.minX = tileRange.minX;
|
|
112
|
-
}
|
|
113
|
-
if (tileRange.maxX > this.maxX) {
|
|
114
|
-
this.maxX = tileRange.maxX;
|
|
115
|
-
}
|
|
116
|
-
if (tileRange.minY < this.minY) {
|
|
117
|
-
this.minY = tileRange.minY;
|
|
118
|
-
}
|
|
119
|
-
if (tileRange.maxY > this.maxY) {
|
|
120
|
-
this.maxY = tileRange.maxY;
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
/**
|
|
124
|
-
* @return {number} Height.
|
|
125
|
-
*/
|
|
126
|
-
getHeight() {
|
|
127
|
-
return this.maxY - this.minY + 1;
|
|
128
|
-
}
|
|
129
|
-
/**
|
|
130
|
-
* @return {import("./size.js").Size} Size.
|
|
131
|
-
*/
|
|
132
|
-
getSize() {
|
|
133
|
-
return [this.getWidth(), this.getHeight()];
|
|
134
|
-
}
|
|
135
|
-
/**
|
|
136
|
-
* @return {number} Width.
|
|
137
|
-
*/
|
|
138
|
-
getWidth() {
|
|
139
|
-
return this.maxX - this.minX + 1;
|
|
140
|
-
}
|
|
141
|
-
/**
|
|
142
|
-
* @param {TileRange} tileRange Tile range.
|
|
143
|
-
* @return {boolean} Intersects.
|
|
144
|
-
*/
|
|
145
|
-
intersects(tileRange) {
|
|
146
|
-
return this.minX <= tileRange.maxX && this.maxX >= tileRange.minX && this.minY <= tileRange.maxY && this.maxY >= tileRange.minY;
|
|
147
|
-
}
|
|
148
|
-
};
|
|
149
|
-
function createOrUpdate2(minX, maxX, minY, maxY, tileRange) {
|
|
150
|
-
if (tileRange !== void 0) {
|
|
151
|
-
tileRange.minX = minX;
|
|
152
|
-
tileRange.maxX = maxX;
|
|
153
|
-
tileRange.minY = minY;
|
|
154
|
-
tileRange.maxY = maxY;
|
|
155
|
-
return tileRange;
|
|
156
|
-
}
|
|
157
|
-
return new TileRange(minX, maxX, minY, maxY);
|
|
158
|
-
}
|
|
159
|
-
var TileRange_default = TileRange;
|
|
160
|
-
|
|
161
|
-
// node_modules/ol/tilecoord.js
|
|
162
|
-
init_dirname();
|
|
163
|
-
init_buffer();
|
|
164
|
-
init_process();
|
|
165
|
-
function createOrUpdate3(z, x, y, tileCoord) {
|
|
166
|
-
if (tileCoord !== void 0) {
|
|
167
|
-
tileCoord[0] = z;
|
|
168
|
-
tileCoord[1] = x;
|
|
169
|
-
tileCoord[2] = y;
|
|
170
|
-
return tileCoord;
|
|
171
|
-
}
|
|
172
|
-
return [z, x, y];
|
|
173
|
-
}
|
|
174
|
-
function getKeyZXY(z, x, y) {
|
|
175
|
-
return z + "/" + x + "/" + y;
|
|
176
|
-
}
|
|
177
|
-
function getKey(tileCoord) {
|
|
178
|
-
return getKeyZXY(tileCoord[0], tileCoord[1], tileCoord[2]);
|
|
179
|
-
}
|
|
180
|
-
function getCacheKey(source, sourceKey, z, x, y) {
|
|
181
|
-
return `${getUid(source)},${sourceKey},${getKeyZXY(z, x, y)}`;
|
|
182
|
-
}
|
|
183
|
-
function hash(tileCoord) {
|
|
184
|
-
return hashZXY(tileCoord[0], tileCoord[1], tileCoord[2]);
|
|
185
|
-
}
|
|
186
|
-
function hashZXY(z, x, y) {
|
|
187
|
-
return (x << z) + y;
|
|
188
|
-
}
|
|
189
|
-
function withinExtentAndZ(tileCoord, tileGrid) {
|
|
190
|
-
const z = tileCoord[0];
|
|
191
|
-
const x = tileCoord[1];
|
|
192
|
-
const y = tileCoord[2];
|
|
193
|
-
if (tileGrid.getMinZoom() > z || z > tileGrid.getMaxZoom()) {
|
|
194
|
-
return false;
|
|
195
|
-
}
|
|
196
|
-
const tileRange = tileGrid.getFullTileRange(z);
|
|
197
|
-
if (!tileRange) {
|
|
198
|
-
return true;
|
|
199
|
-
}
|
|
200
|
-
return tileRange.containsXY(x, y);
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
// node_modules/ol/tilegrid/TileGrid.js
|
|
204
|
-
var tmpTileCoord = [0, 0, 0];
|
|
205
|
-
var DECIMALS = 5;
|
|
206
|
-
var TileGrid = class {
|
|
207
|
-
/**
|
|
208
|
-
* @param {Options} options Tile grid options.
|
|
209
|
-
*/
|
|
210
|
-
constructor(options) {
|
|
211
|
-
this.minZoom = options.minZoom !== void 0 ? options.minZoom : 0;
|
|
212
|
-
this.resolutions_ = options.resolutions;
|
|
213
|
-
assert(
|
|
214
|
-
isSorted(
|
|
215
|
-
this.resolutions_,
|
|
216
|
-
/**
|
|
217
|
-
* @param {number} a First resolution
|
|
218
|
-
* @param {number} b Second resolution
|
|
219
|
-
* @return {number} Comparison result
|
|
220
|
-
*/
|
|
221
|
-
(a, b) => b - a,
|
|
222
|
-
true
|
|
223
|
-
),
|
|
224
|
-
"`resolutions` must be sorted in descending order"
|
|
225
|
-
);
|
|
226
|
-
let zoomFactor;
|
|
227
|
-
if (!options.origins) {
|
|
228
|
-
for (let i = 0, ii = this.resolutions_.length - 1; i < ii; ++i) {
|
|
229
|
-
if (!zoomFactor) {
|
|
230
|
-
zoomFactor = this.resolutions_[i] / this.resolutions_[i + 1];
|
|
231
|
-
} else {
|
|
232
|
-
if (this.resolutions_[i] / this.resolutions_[i + 1] !== zoomFactor) {
|
|
233
|
-
zoomFactor = void 0;
|
|
234
|
-
break;
|
|
235
|
-
}
|
|
236
|
-
}
|
|
237
|
-
}
|
|
238
|
-
}
|
|
239
|
-
this.zoomFactor_ = zoomFactor;
|
|
240
|
-
this.maxZoom = this.resolutions_.length - 1;
|
|
241
|
-
this.origin_ = options.origin !== void 0 ? options.origin : null;
|
|
242
|
-
this.origins_ = null;
|
|
243
|
-
if (options.origins !== void 0) {
|
|
244
|
-
this.origins_ = options.origins;
|
|
245
|
-
assert(
|
|
246
|
-
this.origins_.length == this.resolutions_.length,
|
|
247
|
-
"Number of `origins` and `resolutions` must be equal"
|
|
248
|
-
);
|
|
249
|
-
}
|
|
250
|
-
const extent = options.extent;
|
|
251
|
-
if (extent !== void 0 && !this.origin_ && !this.origins_) {
|
|
252
|
-
this.origin_ = getTopLeft(extent);
|
|
253
|
-
}
|
|
254
|
-
assert(
|
|
255
|
-
!this.origin_ && this.origins_ || this.origin_ && !this.origins_,
|
|
256
|
-
"Either `origin` or `origins` must be configured, never both"
|
|
257
|
-
);
|
|
258
|
-
this.tileSizes_ = null;
|
|
259
|
-
if (options.tileSizes !== void 0) {
|
|
260
|
-
this.tileSizes_ = options.tileSizes;
|
|
261
|
-
assert(
|
|
262
|
-
this.tileSizes_.length == this.resolutions_.length,
|
|
263
|
-
"Number of `tileSizes` and `resolutions` must be equal"
|
|
264
|
-
);
|
|
265
|
-
}
|
|
266
|
-
this.tileSize_ = options.tileSize !== void 0 ? options.tileSize : !this.tileSizes_ ? DEFAULT_TILE_SIZE : null;
|
|
267
|
-
assert(
|
|
268
|
-
!this.tileSize_ && this.tileSizes_ || this.tileSize_ && !this.tileSizes_,
|
|
269
|
-
"Either `tileSize` or `tileSizes` must be configured, never both"
|
|
270
|
-
);
|
|
271
|
-
this.extent_ = extent !== void 0 ? extent : null;
|
|
272
|
-
this.fullTileRanges_ = null;
|
|
273
|
-
this.tmpSize_ = [0, 0];
|
|
274
|
-
this.tmpExtent_ = [0, 0, 0, 0];
|
|
275
|
-
if (options.sizes !== void 0) {
|
|
276
|
-
this.fullTileRanges_ = options.sizes.map((size, z) => {
|
|
277
|
-
const tileRange = new TileRange_default(
|
|
278
|
-
Math.min(0, size[0]),
|
|
279
|
-
Math.max(size[0] - 1, -1),
|
|
280
|
-
Math.min(0, size[1]),
|
|
281
|
-
Math.max(size[1] - 1, -1)
|
|
282
|
-
);
|
|
283
|
-
if (extent) {
|
|
284
|
-
const restrictedTileRange = this.getTileRangeForExtentAndZ(extent, z);
|
|
285
|
-
tileRange.minX = Math.max(restrictedTileRange.minX, tileRange.minX);
|
|
286
|
-
tileRange.maxX = Math.min(restrictedTileRange.maxX, tileRange.maxX);
|
|
287
|
-
tileRange.minY = Math.max(restrictedTileRange.minY, tileRange.minY);
|
|
288
|
-
tileRange.maxY = Math.min(restrictedTileRange.maxY, tileRange.maxY);
|
|
289
|
-
}
|
|
290
|
-
return tileRange;
|
|
291
|
-
});
|
|
292
|
-
} else if (extent) {
|
|
293
|
-
this.calculateTileRanges_(extent);
|
|
294
|
-
}
|
|
295
|
-
}
|
|
296
|
-
/**
|
|
297
|
-
* Call a function with each tile coordinate for a given extent and zoom level.
|
|
298
|
-
*
|
|
299
|
-
* @param {import("../extent.js").Extent} extent Extent.
|
|
300
|
-
* @param {number} zoom Integer zoom level.
|
|
301
|
-
* @param {function(import("../tilecoord.js").TileCoord): void} callback Function called with each tile coordinate.
|
|
302
|
-
* @api
|
|
303
|
-
*/
|
|
304
|
-
forEachTileCoord(extent, zoom, callback) {
|
|
305
|
-
const tileRange = this.getTileRangeForExtentAndZ(extent, zoom);
|
|
306
|
-
for (let i = tileRange.minX, ii = tileRange.maxX; i <= ii; ++i) {
|
|
307
|
-
for (let j = tileRange.minY, jj = tileRange.maxY; j <= jj; ++j) {
|
|
308
|
-
callback([zoom, i, j]);
|
|
309
|
-
}
|
|
310
|
-
}
|
|
311
|
-
}
|
|
312
|
-
/**
|
|
313
|
-
* @param {import("../tilecoord.js").TileCoord} tileCoord Tile coordinate.
|
|
314
|
-
* @param {function(number, import("../TileRange.js").default): boolean} callback Callback.
|
|
315
|
-
* @param {import("../TileRange.js").default} [tempTileRange] Temporary import("../TileRange.js").default object.
|
|
316
|
-
* @param {import("../extent.js").Extent} [tempExtent] Temporary import("../extent.js").Extent object.
|
|
317
|
-
* @return {boolean} Callback succeeded.
|
|
318
|
-
*/
|
|
319
|
-
forEachTileCoordParentTileRange(tileCoord, callback, tempTileRange, tempExtent) {
|
|
320
|
-
let tileRange, x, y;
|
|
321
|
-
let tileCoordExtent = null;
|
|
322
|
-
let z = tileCoord[0] - 1;
|
|
323
|
-
if (this.zoomFactor_ === 2) {
|
|
324
|
-
x = tileCoord[1];
|
|
325
|
-
y = tileCoord[2];
|
|
326
|
-
} else {
|
|
327
|
-
tileCoordExtent = this.getTileCoordExtent(tileCoord, tempExtent);
|
|
328
|
-
}
|
|
329
|
-
while (z >= this.minZoom) {
|
|
330
|
-
if (x !== void 0 && y !== void 0) {
|
|
331
|
-
x = Math.floor(x / 2);
|
|
332
|
-
y = Math.floor(y / 2);
|
|
333
|
-
tileRange = createOrUpdate2(x, x, y, y, tempTileRange);
|
|
334
|
-
} else {
|
|
335
|
-
tileRange = this.getTileRangeForExtentAndZ(
|
|
336
|
-
tileCoordExtent,
|
|
337
|
-
z,
|
|
338
|
-
tempTileRange
|
|
339
|
-
);
|
|
340
|
-
}
|
|
341
|
-
if (callback(z, tileRange)) {
|
|
342
|
-
return true;
|
|
343
|
-
}
|
|
344
|
-
--z;
|
|
345
|
-
}
|
|
346
|
-
return false;
|
|
347
|
-
}
|
|
348
|
-
/**
|
|
349
|
-
* Get the extent for this tile grid, if it was configured.
|
|
350
|
-
* @return {import("../extent.js").Extent} Extent.
|
|
351
|
-
* @api
|
|
352
|
-
*/
|
|
353
|
-
getExtent() {
|
|
354
|
-
return this.extent_;
|
|
355
|
-
}
|
|
356
|
-
/**
|
|
357
|
-
* Get the maximum zoom level for the grid.
|
|
358
|
-
* @return {number} Max zoom.
|
|
359
|
-
* @api
|
|
360
|
-
*/
|
|
361
|
-
getMaxZoom() {
|
|
362
|
-
return this.maxZoom;
|
|
363
|
-
}
|
|
364
|
-
/**
|
|
365
|
-
* Get the minimum zoom level for the grid.
|
|
366
|
-
* @return {number} Min zoom.
|
|
367
|
-
* @api
|
|
368
|
-
*/
|
|
369
|
-
getMinZoom() {
|
|
370
|
-
return this.minZoom;
|
|
371
|
-
}
|
|
372
|
-
/**
|
|
373
|
-
* Get the origin for the grid at the given zoom level.
|
|
374
|
-
* @param {number} z Integer zoom level.
|
|
375
|
-
* @return {import("../coordinate.js").Coordinate} Origin.
|
|
376
|
-
* @api
|
|
377
|
-
*/
|
|
378
|
-
getOrigin(z) {
|
|
379
|
-
if (this.origin_) {
|
|
380
|
-
return this.origin_;
|
|
381
|
-
}
|
|
382
|
-
return this.origins_[z];
|
|
383
|
-
}
|
|
384
|
-
/**
|
|
385
|
-
* Get the list of origins for the grid.
|
|
386
|
-
* @return {Array<import("../coordinate.js").Coordinate>|null} Origin.
|
|
387
|
-
*/
|
|
388
|
-
getOrigins() {
|
|
389
|
-
return this.origins_;
|
|
390
|
-
}
|
|
391
|
-
/**
|
|
392
|
-
* Get the resolution for the given zoom level.
|
|
393
|
-
* @param {number} z Integer zoom level.
|
|
394
|
-
* @return {number} Resolution.
|
|
395
|
-
* @api
|
|
396
|
-
*/
|
|
397
|
-
getResolution(z) {
|
|
398
|
-
return this.resolutions_[z];
|
|
399
|
-
}
|
|
400
|
-
/**
|
|
401
|
-
* Get the list of resolutions for the tile grid.
|
|
402
|
-
* @return {Array<number>} Resolutions.
|
|
403
|
-
* @api
|
|
404
|
-
*/
|
|
405
|
-
getResolutions() {
|
|
406
|
-
return this.resolutions_;
|
|
407
|
-
}
|
|
408
|
-
/**
|
|
409
|
-
* @param {import("../tilecoord.js").TileCoord} tileCoord Tile coordinate.
|
|
410
|
-
* @param {import("../TileRange.js").default} [tempTileRange] Temporary import("../TileRange.js").default object.
|
|
411
|
-
* @param {import("../extent.js").Extent} [tempExtent] Temporary import("../extent.js").Extent object.
|
|
412
|
-
* @return {import("../TileRange.js").default|null} Tile range.
|
|
413
|
-
*/
|
|
414
|
-
getTileCoordChildTileRange(tileCoord, tempTileRange, tempExtent) {
|
|
415
|
-
if (tileCoord[0] < this.maxZoom) {
|
|
416
|
-
if (this.zoomFactor_ === 2) {
|
|
417
|
-
const minX = tileCoord[1] * 2;
|
|
418
|
-
const minY = tileCoord[2] * 2;
|
|
419
|
-
return createOrUpdate2(
|
|
420
|
-
minX,
|
|
421
|
-
minX + 1,
|
|
422
|
-
minY,
|
|
423
|
-
minY + 1,
|
|
424
|
-
tempTileRange
|
|
425
|
-
);
|
|
426
|
-
}
|
|
427
|
-
const tileCoordExtent = this.getTileCoordExtent(
|
|
428
|
-
tileCoord,
|
|
429
|
-
tempExtent || this.tmpExtent_
|
|
430
|
-
);
|
|
431
|
-
return this.getTileRangeForExtentAndZ(
|
|
432
|
-
tileCoordExtent,
|
|
433
|
-
tileCoord[0] + 1,
|
|
434
|
-
tempTileRange
|
|
435
|
-
);
|
|
436
|
-
}
|
|
437
|
-
return null;
|
|
438
|
-
}
|
|
439
|
-
/**
|
|
440
|
-
* @param {import("../tilecoord.js").TileCoord} tileCoord Tile coordinate.
|
|
441
|
-
* @param {number} z Integer zoom level.
|
|
442
|
-
* @param {import("../TileRange.js").default} [tempTileRange] Temporary import("../TileRange.js").default object.
|
|
443
|
-
* @return {import("../TileRange.js").default|null} Tile range.
|
|
444
|
-
*/
|
|
445
|
-
getTileRangeForTileCoordAndZ(tileCoord, z, tempTileRange) {
|
|
446
|
-
if (z > this.maxZoom || z < this.minZoom) {
|
|
447
|
-
return null;
|
|
448
|
-
}
|
|
449
|
-
const tileCoordZ = tileCoord[0];
|
|
450
|
-
const tileCoordX = tileCoord[1];
|
|
451
|
-
const tileCoordY = tileCoord[2];
|
|
452
|
-
if (z === tileCoordZ) {
|
|
453
|
-
return createOrUpdate2(
|
|
454
|
-
tileCoordX,
|
|
455
|
-
tileCoordY,
|
|
456
|
-
tileCoordX,
|
|
457
|
-
tileCoordY,
|
|
458
|
-
tempTileRange
|
|
459
|
-
);
|
|
460
|
-
}
|
|
461
|
-
if (this.zoomFactor_) {
|
|
462
|
-
const factor = Math.pow(this.zoomFactor_, z - tileCoordZ);
|
|
463
|
-
const minX = Math.floor(tileCoordX * factor);
|
|
464
|
-
const minY = Math.floor(tileCoordY * factor);
|
|
465
|
-
if (z < tileCoordZ) {
|
|
466
|
-
return createOrUpdate2(minX, minX, minY, minY, tempTileRange);
|
|
467
|
-
}
|
|
468
|
-
const maxX = Math.floor(factor * (tileCoordX + 1)) - 1;
|
|
469
|
-
const maxY = Math.floor(factor * (tileCoordY + 1)) - 1;
|
|
470
|
-
return createOrUpdate2(minX, maxX, minY, maxY, tempTileRange);
|
|
471
|
-
}
|
|
472
|
-
const tileCoordExtent = this.getTileCoordExtent(tileCoord, this.tmpExtent_);
|
|
473
|
-
return this.getTileRangeForExtentAndZ(tileCoordExtent, z, tempTileRange);
|
|
474
|
-
}
|
|
475
|
-
/**
|
|
476
|
-
* Get a tile range for the given extent and integer zoom level.
|
|
477
|
-
* @param {import("../extent.js").Extent} extent Extent.
|
|
478
|
-
* @param {number} z Integer zoom level.
|
|
479
|
-
* @param {import("../TileRange.js").default} [tempTileRange] Temporary tile range object.
|
|
480
|
-
* @return {import("../TileRange.js").default} Tile range.
|
|
481
|
-
*/
|
|
482
|
-
getTileRangeForExtentAndZ(extent, z, tempTileRange) {
|
|
483
|
-
this.getTileCoordForXYAndZ_(extent[0], extent[3], z, false, tmpTileCoord);
|
|
484
|
-
const minX = tmpTileCoord[1];
|
|
485
|
-
const minY = tmpTileCoord[2];
|
|
486
|
-
this.getTileCoordForXYAndZ_(extent[2], extent[1], z, true, tmpTileCoord);
|
|
487
|
-
const maxX = tmpTileCoord[1];
|
|
488
|
-
const maxY = tmpTileCoord[2];
|
|
489
|
-
return createOrUpdate2(minX, maxX, minY, maxY, tempTileRange);
|
|
490
|
-
}
|
|
491
|
-
/**
|
|
492
|
-
* @param {import("../tilecoord.js").TileCoord} tileCoord Tile coordinate.
|
|
493
|
-
* @return {import("../coordinate.js").Coordinate} Tile center.
|
|
494
|
-
*/
|
|
495
|
-
getTileCoordCenter(tileCoord) {
|
|
496
|
-
const origin = this.getOrigin(tileCoord[0]);
|
|
497
|
-
const resolution = this.getResolution(tileCoord[0]);
|
|
498
|
-
const tileSize = toSize(this.getTileSize(tileCoord[0]), this.tmpSize_);
|
|
499
|
-
return [
|
|
500
|
-
origin[0] + (tileCoord[1] + 0.5) * tileSize[0] * resolution,
|
|
501
|
-
origin[1] - (tileCoord[2] + 0.5) * tileSize[1] * resolution
|
|
502
|
-
];
|
|
503
|
-
}
|
|
504
|
-
/**
|
|
505
|
-
* Get the extent of a tile coordinate.
|
|
506
|
-
*
|
|
507
|
-
* @param {import("../tilecoord.js").TileCoord} tileCoord Tile coordinate.
|
|
508
|
-
* @param {import("../extent.js").Extent} [tempExtent] Temporary extent object.
|
|
509
|
-
* @return {import("../extent.js").Extent} Extent.
|
|
510
|
-
* @api
|
|
511
|
-
*/
|
|
512
|
-
getTileCoordExtent(tileCoord, tempExtent) {
|
|
513
|
-
const origin = this.getOrigin(tileCoord[0]);
|
|
514
|
-
const resolution = this.getResolution(tileCoord[0]);
|
|
515
|
-
const tileSize = toSize(this.getTileSize(tileCoord[0]), this.tmpSize_);
|
|
516
|
-
const minX = origin[0] + tileCoord[1] * tileSize[0] * resolution;
|
|
517
|
-
const minY = origin[1] - (tileCoord[2] + 1) * tileSize[1] * resolution;
|
|
518
|
-
const maxX = minX + tileSize[0] * resolution;
|
|
519
|
-
const maxY = minY + tileSize[1] * resolution;
|
|
520
|
-
return createOrUpdate(minX, minY, maxX, maxY, tempExtent);
|
|
521
|
-
}
|
|
522
|
-
/**
|
|
523
|
-
* Get the tile coordinate for the given map coordinate and resolution. This
|
|
524
|
-
* method considers that coordinates that intersect tile boundaries should be
|
|
525
|
-
* assigned the higher tile coordinate.
|
|
526
|
-
*
|
|
527
|
-
* @param {import("../coordinate.js").Coordinate} coordinate Coordinate.
|
|
528
|
-
* @param {number} resolution Resolution.
|
|
529
|
-
* @param {import("../tilecoord.js").TileCoord} [opt_tileCoord] Destination import("../tilecoord.js").TileCoord object.
|
|
530
|
-
* @return {import("../tilecoord.js").TileCoord} Tile coordinate.
|
|
531
|
-
* @api
|
|
532
|
-
*/
|
|
533
|
-
getTileCoordForCoordAndResolution(coordinate, resolution, opt_tileCoord) {
|
|
534
|
-
return this.getTileCoordForXYAndResolution_(
|
|
535
|
-
coordinate[0],
|
|
536
|
-
coordinate[1],
|
|
537
|
-
resolution,
|
|
538
|
-
false,
|
|
539
|
-
opt_tileCoord
|
|
540
|
-
);
|
|
541
|
-
}
|
|
542
|
-
/**
|
|
543
|
-
* Note that this method should not be called for resolutions that correspond
|
|
544
|
-
* to an integer zoom level. Instead call the `getTileCoordForXYAndZ_` method.
|
|
545
|
-
* @param {number} x X.
|
|
546
|
-
* @param {number} y Y.
|
|
547
|
-
* @param {number} resolution Resolution (for a non-integer zoom level).
|
|
548
|
-
* @param {boolean} reverseIntersectionPolicy Instead of letting edge
|
|
549
|
-
* intersections go to the higher tile coordinate, let edge intersections
|
|
550
|
-
* go to the lower tile coordinate.
|
|
551
|
-
* @param {import("../tilecoord.js").TileCoord} [opt_tileCoord] Temporary import("../tilecoord.js").TileCoord object.
|
|
552
|
-
* @return {import("../tilecoord.js").TileCoord} Tile coordinate.
|
|
553
|
-
* @private
|
|
554
|
-
*/
|
|
555
|
-
getTileCoordForXYAndResolution_(x, y, resolution, reverseIntersectionPolicy, opt_tileCoord) {
|
|
556
|
-
const z = this.getZForResolution(resolution);
|
|
557
|
-
const scale3 = resolution / this.getResolution(z);
|
|
558
|
-
const origin = this.getOrigin(z);
|
|
559
|
-
const tileSize = toSize(this.getTileSize(z), this.tmpSize_);
|
|
560
|
-
let tileCoordX = scale3 * (x - origin[0]) / resolution / tileSize[0];
|
|
561
|
-
let tileCoordY = scale3 * (origin[1] - y) / resolution / tileSize[1];
|
|
562
|
-
if (reverseIntersectionPolicy) {
|
|
563
|
-
tileCoordX = ceil(tileCoordX, DECIMALS) - 1;
|
|
564
|
-
tileCoordY = ceil(tileCoordY, DECIMALS) - 1;
|
|
565
|
-
} else {
|
|
566
|
-
tileCoordX = floor(tileCoordX, DECIMALS);
|
|
567
|
-
tileCoordY = floor(tileCoordY, DECIMALS);
|
|
568
|
-
}
|
|
569
|
-
return createOrUpdate3(z, tileCoordX, tileCoordY, opt_tileCoord);
|
|
570
|
-
}
|
|
571
|
-
/**
|
|
572
|
-
* Although there is repetition between this method and `getTileCoordForXYAndResolution_`,
|
|
573
|
-
* they should have separate implementations. This method is for integer zoom
|
|
574
|
-
* levels. The other method should only be called for resolutions corresponding
|
|
575
|
-
* to non-integer zoom levels.
|
|
576
|
-
* @param {number} x Map x coordinate.
|
|
577
|
-
* @param {number} y Map y coordinate.
|
|
578
|
-
* @param {number} z Integer zoom level.
|
|
579
|
-
* @param {boolean} reverseIntersectionPolicy Instead of letting edge
|
|
580
|
-
* intersections go to the higher tile coordinate, let edge intersections
|
|
581
|
-
* go to the lower tile coordinate.
|
|
582
|
-
* @param {import("../tilecoord.js").TileCoord} [opt_tileCoord] Temporary import("../tilecoord.js").TileCoord object.
|
|
583
|
-
* @return {import("../tilecoord.js").TileCoord} Tile coordinate.
|
|
584
|
-
* @private
|
|
585
|
-
*/
|
|
586
|
-
getTileCoordForXYAndZ_(x, y, z, reverseIntersectionPolicy, opt_tileCoord) {
|
|
587
|
-
const origin = this.getOrigin(z);
|
|
588
|
-
const resolution = this.getResolution(z);
|
|
589
|
-
const tileSize = toSize(this.getTileSize(z), this.tmpSize_);
|
|
590
|
-
let tileCoordX = (x - origin[0]) / resolution / tileSize[0];
|
|
591
|
-
let tileCoordY = (origin[1] - y) / resolution / tileSize[1];
|
|
592
|
-
if (reverseIntersectionPolicy) {
|
|
593
|
-
tileCoordX = ceil(tileCoordX, DECIMALS) - 1;
|
|
594
|
-
tileCoordY = ceil(tileCoordY, DECIMALS) - 1;
|
|
595
|
-
} else {
|
|
596
|
-
tileCoordX = floor(tileCoordX, DECIMALS);
|
|
597
|
-
tileCoordY = floor(tileCoordY, DECIMALS);
|
|
598
|
-
}
|
|
599
|
-
return createOrUpdate3(z, tileCoordX, tileCoordY, opt_tileCoord);
|
|
600
|
-
}
|
|
601
|
-
/**
|
|
602
|
-
* Get a tile coordinate given a map coordinate and zoom level.
|
|
603
|
-
* @param {import("../coordinate.js").Coordinate} coordinate Coordinate.
|
|
604
|
-
* @param {number} z Integer zoom level, e.g. the result of a `getZForResolution()` method call
|
|
605
|
-
* @param {import("../tilecoord.js").TileCoord} [opt_tileCoord] Destination import("../tilecoord.js").TileCoord object.
|
|
606
|
-
* @return {import("../tilecoord.js").TileCoord} Tile coordinate.
|
|
607
|
-
* @api
|
|
608
|
-
*/
|
|
609
|
-
getTileCoordForCoordAndZ(coordinate, z, opt_tileCoord) {
|
|
610
|
-
return this.getTileCoordForXYAndZ_(
|
|
611
|
-
coordinate[0],
|
|
612
|
-
coordinate[1],
|
|
613
|
-
z,
|
|
614
|
-
false,
|
|
615
|
-
opt_tileCoord
|
|
616
|
-
);
|
|
617
|
-
}
|
|
618
|
-
/**
|
|
619
|
-
* @param {import("../tilecoord.js").TileCoord} tileCoord Tile coordinate.
|
|
620
|
-
* @return {number} Tile resolution.
|
|
621
|
-
*/
|
|
622
|
-
getTileCoordResolution(tileCoord) {
|
|
623
|
-
return this.resolutions_[tileCoord[0]];
|
|
624
|
-
}
|
|
625
|
-
/**
|
|
626
|
-
* Get the tile size for a zoom level. The type of the return value matches the
|
|
627
|
-
* `tileSize` or `tileSizes` that the tile grid was configured with. To always
|
|
628
|
-
* get an {@link import("../size.js").Size}, run the result through {@link module:ol/size.toSize}.
|
|
629
|
-
* @param {number} z Z.
|
|
630
|
-
* @return {number|import("../size.js").Size} Tile size.
|
|
631
|
-
* @api
|
|
632
|
-
*/
|
|
633
|
-
getTileSize(z) {
|
|
634
|
-
if (this.tileSize_) {
|
|
635
|
-
return this.tileSize_;
|
|
636
|
-
}
|
|
637
|
-
return this.tileSizes_[z];
|
|
638
|
-
}
|
|
639
|
-
/**
|
|
640
|
-
* @param {number} z Zoom level.
|
|
641
|
-
* @return {import("../TileRange.js").default|null} Extent tile range for the specified zoom level.
|
|
642
|
-
*/
|
|
643
|
-
getFullTileRange(z) {
|
|
644
|
-
if (!this.fullTileRanges_) {
|
|
645
|
-
return this.extent_ ? this.getTileRangeForExtentAndZ(this.extent_, z) : null;
|
|
646
|
-
}
|
|
647
|
-
return this.fullTileRanges_[z];
|
|
648
|
-
}
|
|
649
|
-
/**
|
|
650
|
-
* @param {number} resolution Resolution.
|
|
651
|
-
* @param {number|import("../array.js").NearestDirectionFunction} [opt_direction]
|
|
652
|
-
* If 0, the nearest resolution will be used.
|
|
653
|
-
* If 1, the nearest higher resolution (lower Z) will be used. If -1, the
|
|
654
|
-
* nearest lower resolution (higher Z) will be used. Default is 0.
|
|
655
|
-
* Use a {@link module:ol/array~NearestDirectionFunction} for more precise control.
|
|
656
|
-
*
|
|
657
|
-
* For example to change tile Z at the midpoint of zoom levels
|
|
658
|
-
* ```js
|
|
659
|
-
* function(value, high, low) {
|
|
660
|
-
* return value - low * Math.sqrt(high / low);
|
|
661
|
-
* }
|
|
662
|
-
* ```
|
|
663
|
-
* @return {number} Z.
|
|
664
|
-
* @api
|
|
665
|
-
*/
|
|
666
|
-
getZForResolution(resolution, opt_direction) {
|
|
667
|
-
const z = linearFindNearest(
|
|
668
|
-
this.resolutions_,
|
|
669
|
-
resolution,
|
|
670
|
-
opt_direction || 0
|
|
671
|
-
);
|
|
672
|
-
return clamp(z, this.minZoom, this.maxZoom);
|
|
673
|
-
}
|
|
674
|
-
/**
|
|
675
|
-
* The tile with the provided tile coordinate intersects the given viewport.
|
|
676
|
-
* @param {import('../tilecoord.js').TileCoord} tileCoord Tile coordinate.
|
|
677
|
-
* @param {Array<number>} viewport Viewport as returned from {@link module:ol/extent.getRotatedViewport}.
|
|
678
|
-
* @return {boolean} The tile with the provided tile coordinate intersects the given viewport.
|
|
679
|
-
*/
|
|
680
|
-
tileCoordIntersectsViewport(tileCoord, viewport) {
|
|
681
|
-
return intersectsLinearRing(
|
|
682
|
-
viewport,
|
|
683
|
-
0,
|
|
684
|
-
viewport.length,
|
|
685
|
-
2,
|
|
686
|
-
this.getTileCoordExtent(tileCoord)
|
|
687
|
-
);
|
|
688
|
-
}
|
|
689
|
-
/**
|
|
690
|
-
* @param {!import("../extent.js").Extent} extent Extent for this tile grid.
|
|
691
|
-
* @private
|
|
692
|
-
*/
|
|
693
|
-
calculateTileRanges_(extent) {
|
|
694
|
-
const length = this.resolutions_.length;
|
|
695
|
-
const fullTileRanges = new Array(length);
|
|
696
|
-
for (let z = this.minZoom; z < length; ++z) {
|
|
697
|
-
fullTileRanges[z] = this.getTileRangeForExtentAndZ(extent, z);
|
|
698
|
-
}
|
|
699
|
-
this.fullTileRanges_ = fullTileRanges;
|
|
700
|
-
}
|
|
701
|
-
};
|
|
702
|
-
var TileGrid_default = TileGrid;
|
|
703
|
-
|
|
704
|
-
// node_modules/ol/TileState.js
|
|
705
|
-
init_dirname();
|
|
706
|
-
init_buffer();
|
|
707
|
-
init_process();
|
|
708
|
-
var TileState_default = {
|
|
709
|
-
IDLE: 0,
|
|
710
|
-
LOADING: 1,
|
|
711
|
-
LOADED: 2,
|
|
712
|
-
/**
|
|
713
|
-
* Indicates that tile loading failed
|
|
714
|
-
* @type {number}
|
|
715
|
-
*/
|
|
716
|
-
ERROR: 3,
|
|
717
|
-
EMPTY: 4
|
|
718
|
-
};
|
|
719
|
-
|
|
720
|
-
// node_modules/ol/Tile.js
|
|
721
|
-
init_dirname();
|
|
722
|
-
init_buffer();
|
|
723
|
-
init_process();
|
|
724
|
-
var Tile = class extends Target_default {
|
|
725
|
-
/**
|
|
726
|
-
* @param {import("./tilecoord.js").TileCoord} tileCoord Tile coordinate.
|
|
727
|
-
* @param {import("./TileState.js").default} state State.
|
|
728
|
-
* @param {Options} [options] Tile options.
|
|
729
|
-
*/
|
|
730
|
-
constructor(tileCoord, state, options) {
|
|
731
|
-
super();
|
|
732
|
-
options = options ? options : {};
|
|
733
|
-
this.tileCoord = tileCoord;
|
|
734
|
-
this.state = state;
|
|
735
|
-
this.key = "";
|
|
736
|
-
this.transition_ = options.transition === void 0 ? 250 : options.transition;
|
|
737
|
-
this.transitionStarts_ = {};
|
|
738
|
-
this.interpolate = !!options.interpolate;
|
|
739
|
-
}
|
|
740
|
-
/**
|
|
741
|
-
* @protected
|
|
742
|
-
*/
|
|
743
|
-
changed() {
|
|
744
|
-
this.dispatchEvent(EventType_default.CHANGE);
|
|
745
|
-
}
|
|
746
|
-
/**
|
|
747
|
-
* Called by the tile cache when the tile is removed from the cache due to expiry
|
|
748
|
-
*/
|
|
749
|
-
release() {
|
|
750
|
-
this.setState(TileState_default.EMPTY);
|
|
751
|
-
}
|
|
752
|
-
/**
|
|
753
|
-
* @return {string} Key.
|
|
754
|
-
*/
|
|
755
|
-
getKey() {
|
|
756
|
-
return this.key + "/" + this.tileCoord;
|
|
757
|
-
}
|
|
758
|
-
/**
|
|
759
|
-
* Get the tile coordinate for this tile.
|
|
760
|
-
* @return {import("./tilecoord.js").TileCoord} The tile coordinate.
|
|
761
|
-
* @api
|
|
762
|
-
*/
|
|
763
|
-
getTileCoord() {
|
|
764
|
-
return this.tileCoord;
|
|
765
|
-
}
|
|
766
|
-
/**
|
|
767
|
-
* @return {import("./TileState.js").default} State.
|
|
768
|
-
*/
|
|
769
|
-
getState() {
|
|
770
|
-
return this.state;
|
|
771
|
-
}
|
|
772
|
-
/**
|
|
773
|
-
* Sets the state of this tile. If you write your own {@link module:ol/Tile~LoadFunction tileLoadFunction} ,
|
|
774
|
-
* it is important to set the state correctly to {@link module:ol/TileState~ERROR}
|
|
775
|
-
* when the tile cannot be loaded. Otherwise the tile cannot be removed from
|
|
776
|
-
* the tile queue and will block other requests.
|
|
777
|
-
* @param {import("./TileState.js").default} state State.
|
|
778
|
-
* @api
|
|
779
|
-
*/
|
|
780
|
-
setState(state) {
|
|
781
|
-
if (this.state === TileState_default.EMPTY) {
|
|
782
|
-
return;
|
|
783
|
-
}
|
|
784
|
-
if (this.state !== TileState_default.ERROR && this.state > state) {
|
|
785
|
-
throw new Error("Tile load sequence violation");
|
|
786
|
-
}
|
|
787
|
-
this.state = state;
|
|
788
|
-
this.changed();
|
|
789
|
-
}
|
|
790
|
-
/**
|
|
791
|
-
* Load the image or retry if loading previously failed.
|
|
792
|
-
* Loading is taken care of by the tile queue, and calling this method is
|
|
793
|
-
* only needed for preloading or for reloading in case of an error.
|
|
794
|
-
* @abstract
|
|
795
|
-
* @api
|
|
796
|
-
*/
|
|
797
|
-
load() {
|
|
798
|
-
abstract();
|
|
799
|
-
}
|
|
800
|
-
/**
|
|
801
|
-
* Get the alpha value for rendering.
|
|
802
|
-
* @param {string} id An id for the renderer.
|
|
803
|
-
* @param {number} time The render frame time.
|
|
804
|
-
* @return {number} A number between 0 and 1.
|
|
805
|
-
*/
|
|
806
|
-
getAlpha(id, time) {
|
|
807
|
-
if (!this.transition_) {
|
|
808
|
-
return 1;
|
|
809
|
-
}
|
|
810
|
-
let start = this.transitionStarts_[id];
|
|
811
|
-
if (!start) {
|
|
812
|
-
start = time;
|
|
813
|
-
this.transitionStarts_[id] = start;
|
|
814
|
-
} else if (start === -1) {
|
|
815
|
-
return 1;
|
|
816
|
-
}
|
|
817
|
-
const delta = time - start + 1e3 / 60;
|
|
818
|
-
if (delta >= this.transition_) {
|
|
819
|
-
return 1;
|
|
820
|
-
}
|
|
821
|
-
return easeIn(delta / this.transition_);
|
|
822
|
-
}
|
|
823
|
-
/**
|
|
824
|
-
* Determine if a tile is in an alpha transition. A tile is considered in
|
|
825
|
-
* transition if tile.getAlpha() has not yet been called or has been called
|
|
826
|
-
* and returned 1.
|
|
827
|
-
* @param {string} id An id for the renderer.
|
|
828
|
-
* @return {boolean} The tile is in transition.
|
|
829
|
-
*/
|
|
830
|
-
inTransition(id) {
|
|
831
|
-
if (!this.transition_) {
|
|
832
|
-
return false;
|
|
833
|
-
}
|
|
834
|
-
return this.transitionStarts_[id] !== -1;
|
|
835
|
-
}
|
|
836
|
-
/**
|
|
837
|
-
* Mark a transition as complete.
|
|
838
|
-
* @param {string} id An id for the renderer.
|
|
839
|
-
*/
|
|
840
|
-
endTransition(id) {
|
|
841
|
-
if (this.transition_) {
|
|
842
|
-
this.transitionStarts_[id] = -1;
|
|
843
|
-
}
|
|
844
|
-
}
|
|
845
|
-
/**
|
|
846
|
-
* @override
|
|
847
|
-
*/
|
|
848
|
-
disposeInternal() {
|
|
849
|
-
this.release();
|
|
850
|
-
super.disposeInternal();
|
|
851
|
-
}
|
|
852
|
-
};
|
|
853
|
-
var Tile_default = Tile;
|
|
854
|
-
|
|
855
|
-
// node_modules/ol/DataTile.js
|
|
856
|
-
init_dirname();
|
|
857
|
-
init_buffer();
|
|
858
|
-
init_process();
|
|
859
|
-
function asImageLike(data) {
|
|
860
|
-
return data instanceof Image || data instanceof HTMLCanvasElement || data instanceof HTMLVideoElement || data instanceof ImageBitmap ? data : null;
|
|
861
|
-
}
|
|
862
|
-
function asArrayLike(data) {
|
|
863
|
-
return data instanceof Uint8Array || data instanceof Uint8ClampedArray || data instanceof Float32Array || data instanceof DataView ? data : null;
|
|
864
|
-
}
|
|
865
|
-
var disposedError = new Error("disposed");
|
|
866
|
-
var sharedContext = null;
|
|
867
|
-
function toArray(image) {
|
|
868
|
-
if (!sharedContext) {
|
|
869
|
-
sharedContext = createCanvasContext2D(
|
|
870
|
-
image.width,
|
|
871
|
-
image.height,
|
|
872
|
-
void 0,
|
|
873
|
-
{ willReadFrequently: true }
|
|
874
|
-
);
|
|
875
|
-
}
|
|
876
|
-
const canvas = sharedContext.canvas;
|
|
877
|
-
const width = image.width;
|
|
878
|
-
if (canvas.width !== width) {
|
|
879
|
-
canvas.width = width;
|
|
880
|
-
}
|
|
881
|
-
const height = image.height;
|
|
882
|
-
if (canvas.height !== height) {
|
|
883
|
-
canvas.height = height;
|
|
884
|
-
}
|
|
885
|
-
sharedContext.clearRect(0, 0, width, height);
|
|
886
|
-
sharedContext.drawImage(image, 0, 0);
|
|
887
|
-
return sharedContext.getImageData(0, 0, width, height).data;
|
|
888
|
-
}
|
|
889
|
-
var defaultSize = [256, 256];
|
|
890
|
-
var DataTile = class extends Tile_default {
|
|
891
|
-
/**
|
|
892
|
-
* @param {Options} options Tile options.
|
|
893
|
-
*/
|
|
894
|
-
constructor(options) {
|
|
895
|
-
const state = TileState_default.IDLE;
|
|
896
|
-
super(options.tileCoord, state, {
|
|
897
|
-
transition: options.transition,
|
|
898
|
-
interpolate: options.interpolate
|
|
899
|
-
});
|
|
900
|
-
this.loader_ = options.loader;
|
|
901
|
-
this.data_ = null;
|
|
902
|
-
this.error_ = null;
|
|
903
|
-
this.size_ = options.size || null;
|
|
904
|
-
this.controller_ = options.controller || null;
|
|
905
|
-
}
|
|
906
|
-
/**
|
|
907
|
-
* Get the tile size.
|
|
908
|
-
* @return {import('./size.js').Size} Tile size.
|
|
909
|
-
*/
|
|
910
|
-
getSize() {
|
|
911
|
-
if (this.size_) {
|
|
912
|
-
return this.size_;
|
|
913
|
-
}
|
|
914
|
-
const imageData = asImageLike(this.data_);
|
|
915
|
-
if (imageData) {
|
|
916
|
-
return [imageData.width, imageData.height];
|
|
917
|
-
}
|
|
918
|
-
return defaultSize;
|
|
919
|
-
}
|
|
920
|
-
/**
|
|
921
|
-
* Get the data for the tile.
|
|
922
|
-
* @return {Data} Tile data.
|
|
923
|
-
* @api
|
|
924
|
-
*/
|
|
925
|
-
getData() {
|
|
926
|
-
return this.data_;
|
|
927
|
-
}
|
|
928
|
-
/**
|
|
929
|
-
* Get any loading error.
|
|
930
|
-
* @return {Error} Loading error.
|
|
931
|
-
* @api
|
|
932
|
-
*/
|
|
933
|
-
getError() {
|
|
934
|
-
return this.error_;
|
|
935
|
-
}
|
|
936
|
-
/**
|
|
937
|
-
* Load the tile data.
|
|
938
|
-
* @api
|
|
939
|
-
* @override
|
|
940
|
-
*/
|
|
941
|
-
load() {
|
|
942
|
-
if (this.state !== TileState_default.IDLE && this.state !== TileState_default.ERROR) {
|
|
943
|
-
return;
|
|
944
|
-
}
|
|
945
|
-
this.state = TileState_default.LOADING;
|
|
946
|
-
this.changed();
|
|
947
|
-
const self = this;
|
|
948
|
-
this.loader_().then(function(data) {
|
|
949
|
-
self.data_ = data;
|
|
950
|
-
self.state = TileState_default.LOADED;
|
|
951
|
-
self.changed();
|
|
952
|
-
}).catch(function(error) {
|
|
953
|
-
self.error_ = error;
|
|
954
|
-
self.state = TileState_default.ERROR;
|
|
955
|
-
self.changed();
|
|
956
|
-
});
|
|
957
|
-
}
|
|
958
|
-
/**
|
|
959
|
-
* Clean up.
|
|
960
|
-
* @override
|
|
961
|
-
*/
|
|
962
|
-
disposeInternal() {
|
|
963
|
-
if (this.controller_) {
|
|
964
|
-
this.controller_.abort(disposedError);
|
|
965
|
-
this.controller_ = null;
|
|
966
|
-
}
|
|
967
|
-
super.disposeInternal();
|
|
968
|
-
}
|
|
969
|
-
};
|
|
970
|
-
var DataTile_default = DataTile;
|
|
971
|
-
|
|
972
|
-
// node_modules/ol/tilegrid.js
|
|
973
|
-
init_dirname();
|
|
974
|
-
init_buffer();
|
|
975
|
-
init_process();
|
|
976
|
-
function getForProjection(projection) {
|
|
977
|
-
let tileGrid = projection.getDefaultTileGrid();
|
|
978
|
-
if (!tileGrid) {
|
|
979
|
-
tileGrid = createForProjection(projection);
|
|
980
|
-
projection.setDefaultTileGrid(tileGrid);
|
|
981
|
-
}
|
|
982
|
-
return tileGrid;
|
|
983
|
-
}
|
|
984
|
-
function wrapX(tileGrid, tileCoord, projection) {
|
|
985
|
-
const z = tileCoord[0];
|
|
986
|
-
const center = tileGrid.getTileCoordCenter(tileCoord);
|
|
987
|
-
const projectionExtent = extentFromProjection(projection);
|
|
988
|
-
if (!containsCoordinate(projectionExtent, center)) {
|
|
989
|
-
const worldWidth = getWidth(projectionExtent);
|
|
990
|
-
const worldsAway = Math.ceil(
|
|
991
|
-
(projectionExtent[0] - center[0]) / worldWidth
|
|
992
|
-
);
|
|
993
|
-
center[0] += worldWidth * worldsAway;
|
|
994
|
-
return tileGrid.getTileCoordForCoordAndZ(center, z);
|
|
995
|
-
}
|
|
996
|
-
return tileCoord;
|
|
997
|
-
}
|
|
998
|
-
function createForExtent(extent, maxZoom, tileSize, corner) {
|
|
999
|
-
corner = corner !== void 0 ? corner : "top-left";
|
|
1000
|
-
const resolutions = resolutionsFromExtent(extent, maxZoom, tileSize);
|
|
1001
|
-
return new TileGrid_default({
|
|
1002
|
-
extent,
|
|
1003
|
-
origin: getCorner(extent, corner),
|
|
1004
|
-
resolutions,
|
|
1005
|
-
tileSize
|
|
1006
|
-
});
|
|
1007
|
-
}
|
|
1008
|
-
function createXYZ(options) {
|
|
1009
|
-
const xyzOptions = options || {};
|
|
1010
|
-
const extent = xyzOptions.extent || get("EPSG:3857").getExtent();
|
|
1011
|
-
const gridOptions = {
|
|
1012
|
-
extent,
|
|
1013
|
-
minZoom: xyzOptions.minZoom,
|
|
1014
|
-
tileSize: xyzOptions.tileSize,
|
|
1015
|
-
resolutions: resolutionsFromExtent(
|
|
1016
|
-
extent,
|
|
1017
|
-
xyzOptions.maxZoom,
|
|
1018
|
-
xyzOptions.tileSize,
|
|
1019
|
-
xyzOptions.maxResolution
|
|
1020
|
-
)
|
|
1021
|
-
};
|
|
1022
|
-
return new TileGrid_default(gridOptions);
|
|
1023
|
-
}
|
|
1024
|
-
function resolutionsFromExtent(extent, maxZoom, tileSize, maxResolution) {
|
|
1025
|
-
maxZoom = maxZoom !== void 0 ? maxZoom : DEFAULT_MAX_ZOOM;
|
|
1026
|
-
tileSize = toSize(tileSize !== void 0 ? tileSize : DEFAULT_TILE_SIZE);
|
|
1027
|
-
const height = getHeight(extent);
|
|
1028
|
-
const width = getWidth(extent);
|
|
1029
|
-
maxResolution = maxResolution > 0 ? maxResolution : Math.max(width / tileSize[0], height / tileSize[1]);
|
|
1030
|
-
const length = maxZoom + 1;
|
|
1031
|
-
const resolutions = new Array(length);
|
|
1032
|
-
for (let z = 0; z < length; ++z) {
|
|
1033
|
-
resolutions[z] = maxResolution / Math.pow(2, z);
|
|
1034
|
-
}
|
|
1035
|
-
return resolutions;
|
|
1036
|
-
}
|
|
1037
|
-
function createForProjection(projection, maxZoom, tileSize, corner) {
|
|
1038
|
-
const extent = extentFromProjection(projection);
|
|
1039
|
-
return createForExtent(extent, maxZoom, tileSize, corner);
|
|
1040
|
-
}
|
|
1041
|
-
function extentFromProjection(projection) {
|
|
1042
|
-
projection = get(projection);
|
|
1043
|
-
let extent = projection.getExtent();
|
|
1044
|
-
if (!extent) {
|
|
1045
|
-
const half = 180 * METERS_PER_UNIT.degrees / projection.getMetersPerUnit();
|
|
1046
|
-
extent = createOrUpdate(-half, -half, half, half);
|
|
1047
|
-
}
|
|
1048
|
-
return extent;
|
|
1049
|
-
}
|
|
1050
|
-
|
|
1051
|
-
// node_modules/ol/source/Tile.js
|
|
1052
|
-
init_dirname();
|
|
1053
|
-
init_buffer();
|
|
1054
|
-
init_process();
|
|
1055
|
-
var TileSource = class extends Source_default {
|
|
1056
|
-
/**
|
|
1057
|
-
* @param {Options} options SourceTile source options.
|
|
1058
|
-
*/
|
|
1059
|
-
constructor(options) {
|
|
1060
|
-
super({
|
|
1061
|
-
attributions: options.attributions,
|
|
1062
|
-
attributionsCollapsible: options.attributionsCollapsible,
|
|
1063
|
-
projection: options.projection,
|
|
1064
|
-
state: options.state,
|
|
1065
|
-
wrapX: options.wrapX,
|
|
1066
|
-
interpolate: options.interpolate
|
|
1067
|
-
});
|
|
1068
|
-
this.on;
|
|
1069
|
-
this.once;
|
|
1070
|
-
this.un;
|
|
1071
|
-
this.tilePixelRatio_ = options.tilePixelRatio !== void 0 ? options.tilePixelRatio : 1;
|
|
1072
|
-
this.tileGrid = options.tileGrid !== void 0 ? options.tileGrid : null;
|
|
1073
|
-
const tileSize = [256, 256];
|
|
1074
|
-
if (this.tileGrid) {
|
|
1075
|
-
toSize(this.tileGrid.getTileSize(this.tileGrid.getMinZoom()), tileSize);
|
|
1076
|
-
}
|
|
1077
|
-
this.tmpSize = [0, 0];
|
|
1078
|
-
this.key_ = options.key || getUid(this);
|
|
1079
|
-
this.tileOptions = {
|
|
1080
|
-
transition: options.transition,
|
|
1081
|
-
interpolate: options.interpolate
|
|
1082
|
-
};
|
|
1083
|
-
this.zDirection = options.zDirection ? options.zDirection : 0;
|
|
1084
|
-
}
|
|
1085
|
-
/**
|
|
1086
|
-
* @param {import("../proj/Projection.js").default} projection Projection.
|
|
1087
|
-
* @return {number} Gutter.
|
|
1088
|
-
*/
|
|
1089
|
-
getGutterForProjection(projection) {
|
|
1090
|
-
return 0;
|
|
1091
|
-
}
|
|
1092
|
-
/**
|
|
1093
|
-
* Return the key to be used for all tiles in the source.
|
|
1094
|
-
* @return {string} The key for all tiles.
|
|
1095
|
-
*/
|
|
1096
|
-
getKey() {
|
|
1097
|
-
return this.key_;
|
|
1098
|
-
}
|
|
1099
|
-
/**
|
|
1100
|
-
* Set the value to be used as the key for all tiles in the source.
|
|
1101
|
-
* @param {string} key The key for tiles.
|
|
1102
|
-
* @protected
|
|
1103
|
-
*/
|
|
1104
|
-
setKey(key) {
|
|
1105
|
-
if (this.key_ !== key) {
|
|
1106
|
-
this.key_ = key;
|
|
1107
|
-
this.changed();
|
|
1108
|
-
}
|
|
1109
|
-
}
|
|
1110
|
-
/**
|
|
1111
|
-
* @param {import("../proj/Projection").default} [projection] Projection.
|
|
1112
|
-
* @return {Array<number>|null} Resolutions.
|
|
1113
|
-
* @override
|
|
1114
|
-
*/
|
|
1115
|
-
getResolutions(projection) {
|
|
1116
|
-
const tileGrid = projection ? this.getTileGridForProjection(projection) : this.tileGrid;
|
|
1117
|
-
if (!tileGrid) {
|
|
1118
|
-
return null;
|
|
1119
|
-
}
|
|
1120
|
-
return tileGrid.getResolutions();
|
|
1121
|
-
}
|
|
1122
|
-
/**
|
|
1123
|
-
* @abstract
|
|
1124
|
-
* @param {number} z Tile coordinate z.
|
|
1125
|
-
* @param {number} x Tile coordinate x.
|
|
1126
|
-
* @param {number} y Tile coordinate y.
|
|
1127
|
-
* @param {number} pixelRatio Pixel ratio.
|
|
1128
|
-
* @param {import("../proj/Projection.js").default} projection Projection.
|
|
1129
|
-
* @param {import("../structs/LRUCache.js").default<import("../Tile.js").default>} [tileCache] Tile cache.
|
|
1130
|
-
* @return {TileType|null} Tile.
|
|
1131
|
-
*/
|
|
1132
|
-
getTile(z, x, y, pixelRatio, projection, tileCache) {
|
|
1133
|
-
return abstract();
|
|
1134
|
-
}
|
|
1135
|
-
/**
|
|
1136
|
-
* Return the tile grid of the tile source.
|
|
1137
|
-
* @return {import("../tilegrid/TileGrid.js").default|null} Tile grid.
|
|
1138
|
-
* @api
|
|
1139
|
-
*/
|
|
1140
|
-
getTileGrid() {
|
|
1141
|
-
return this.tileGrid;
|
|
1142
|
-
}
|
|
1143
|
-
/**
|
|
1144
|
-
* @param {import("../proj/Projection.js").default} projection Projection.
|
|
1145
|
-
* @return {!import("../tilegrid/TileGrid.js").default} Tile grid.
|
|
1146
|
-
*/
|
|
1147
|
-
getTileGridForProjection(projection) {
|
|
1148
|
-
if (!this.tileGrid) {
|
|
1149
|
-
return getForProjection(projection);
|
|
1150
|
-
}
|
|
1151
|
-
return this.tileGrid;
|
|
1152
|
-
}
|
|
1153
|
-
/**
|
|
1154
|
-
* Get the tile pixel ratio for this source. Subclasses may override this
|
|
1155
|
-
* method, which is meant to return a supported pixel ratio that matches the
|
|
1156
|
-
* provided `pixelRatio` as close as possible.
|
|
1157
|
-
* @param {number} pixelRatio Pixel ratio.
|
|
1158
|
-
* @return {number} Tile pixel ratio.
|
|
1159
|
-
*/
|
|
1160
|
-
getTilePixelRatio(pixelRatio) {
|
|
1161
|
-
return this.tilePixelRatio_;
|
|
1162
|
-
}
|
|
1163
|
-
/**
|
|
1164
|
-
* @param {number} z Z.
|
|
1165
|
-
* @param {number} pixelRatio Pixel ratio.
|
|
1166
|
-
* @param {import("../proj/Projection.js").default} projection Projection.
|
|
1167
|
-
* @return {import("../size.js").Size} Tile size.
|
|
1168
|
-
*/
|
|
1169
|
-
getTilePixelSize(z, pixelRatio, projection) {
|
|
1170
|
-
const tileGrid = this.getTileGridForProjection(projection);
|
|
1171
|
-
const tilePixelRatio = this.getTilePixelRatio(pixelRatio);
|
|
1172
|
-
const tileSize = toSize(tileGrid.getTileSize(z), this.tmpSize);
|
|
1173
|
-
if (tilePixelRatio == 1) {
|
|
1174
|
-
return tileSize;
|
|
1175
|
-
}
|
|
1176
|
-
return scale(tileSize, tilePixelRatio, this.tmpSize);
|
|
1177
|
-
}
|
|
1178
|
-
/**
|
|
1179
|
-
* Returns a tile coordinate wrapped around the x-axis. When the tile coordinate
|
|
1180
|
-
* is outside the resolution and extent range of the tile grid, `null` will be
|
|
1181
|
-
* returned.
|
|
1182
|
-
* @param {import("../tilecoord.js").TileCoord} tileCoord Tile coordinate.
|
|
1183
|
-
* @param {import("../proj/Projection.js").default} [projection] Projection.
|
|
1184
|
-
* @return {import("../tilecoord.js").TileCoord} Tile coordinate to be passed to the tileUrlFunction or
|
|
1185
|
-
* null if no tile URL should be created for the passed `tileCoord`.
|
|
1186
|
-
*/
|
|
1187
|
-
getTileCoordForTileUrlFunction(tileCoord, projection) {
|
|
1188
|
-
const gridProjection = projection !== void 0 ? projection : this.getProjection();
|
|
1189
|
-
const tileGrid = projection !== void 0 ? this.getTileGridForProjection(gridProjection) : this.tileGrid || this.getTileGridForProjection(gridProjection);
|
|
1190
|
-
if (this.getWrapX() && gridProjection.isGlobal()) {
|
|
1191
|
-
tileCoord = wrapX(tileGrid, tileCoord, gridProjection);
|
|
1192
|
-
}
|
|
1193
|
-
return withinExtentAndZ(tileCoord, tileGrid) ? tileCoord : null;
|
|
1194
|
-
}
|
|
1195
|
-
/**
|
|
1196
|
-
* Remove all cached reprojected tiles from the source. The next render cycle will create new tiles.
|
|
1197
|
-
* @api
|
|
1198
|
-
*/
|
|
1199
|
-
clear() {
|
|
1200
|
-
}
|
|
1201
|
-
/**
|
|
1202
|
-
* @override
|
|
1203
|
-
*/
|
|
1204
|
-
refresh() {
|
|
1205
|
-
this.clear();
|
|
1206
|
-
super.refresh();
|
|
1207
|
-
}
|
|
1208
|
-
};
|
|
1209
|
-
var TileSourceEvent = class extends Event_default {
|
|
1210
|
-
/**
|
|
1211
|
-
* @param {string} type Type.
|
|
1212
|
-
* @param {import("../Tile.js").default} tile The tile.
|
|
1213
|
-
*/
|
|
1214
|
-
constructor(type, tile) {
|
|
1215
|
-
super(type);
|
|
1216
|
-
this.tile = tile;
|
|
1217
|
-
}
|
|
1218
|
-
};
|
|
1219
|
-
var Tile_default2 = TileSource;
|
|
1220
|
-
|
|
1221
|
-
// node_modules/ol/source/TileEventType.js
|
|
1222
|
-
init_dirname();
|
|
1223
|
-
init_buffer();
|
|
1224
|
-
init_process();
|
|
1225
|
-
var TileEventType_default = {
|
|
1226
|
-
/**
|
|
1227
|
-
* Triggered when a tile starts loading.
|
|
1228
|
-
* @event module:ol/source/Tile.TileSourceEvent#tileloadstart
|
|
1229
|
-
* @api
|
|
1230
|
-
*/
|
|
1231
|
-
TILELOADSTART: "tileloadstart",
|
|
1232
|
-
/**
|
|
1233
|
-
* Triggered when a tile finishes loading, either when its data is loaded,
|
|
1234
|
-
* or when loading was aborted because the tile is no longer needed.
|
|
1235
|
-
* @event module:ol/source/Tile.TileSourceEvent#tileloadend
|
|
1236
|
-
* @api
|
|
1237
|
-
*/
|
|
1238
|
-
TILELOADEND: "tileloadend",
|
|
1239
|
-
/**
|
|
1240
|
-
* Triggered if tile loading results in an error. Note that this is not the
|
|
1241
|
-
* right place to re-fetch tiles. See {@link module:ol/ImageTile~ImageTile#load}
|
|
1242
|
-
* for details.
|
|
1243
|
-
* @event module:ol/source/Tile.TileSourceEvent#tileloaderror
|
|
1244
|
-
* @api
|
|
1245
|
-
*/
|
|
1246
|
-
TILELOADERROR: "tileloaderror"
|
|
1247
|
-
};
|
|
1248
|
-
|
|
1249
|
-
// node_modules/ol/vec/mat4.js
|
|
1250
|
-
init_dirname();
|
|
1251
|
-
init_buffer();
|
|
1252
|
-
init_process();
|
|
1253
|
-
function create() {
|
|
1254
|
-
return [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
1255
|
-
}
|
|
1256
|
-
function fromTransform(mat4, transform2) {
|
|
1257
|
-
mat4[0] = transform2[0];
|
|
1258
|
-
mat4[1] = transform2[1];
|
|
1259
|
-
mat4[4] = transform2[2];
|
|
1260
|
-
mat4[5] = transform2[3];
|
|
1261
|
-
mat4[12] = transform2[4];
|
|
1262
|
-
mat4[13] = transform2[5];
|
|
1263
|
-
return mat4;
|
|
1264
|
-
}
|
|
1265
|
-
function orthographic(left, right, bottom, top, near, far, out) {
|
|
1266
|
-
out = out != null ? out : create();
|
|
1267
|
-
const lr = 1 / (left - right), bt = 1 / (bottom - top), nf = 1 / (near - far);
|
|
1268
|
-
out[0] = -2 * lr;
|
|
1269
|
-
out[1] = 0;
|
|
1270
|
-
out[2] = 0;
|
|
1271
|
-
out[3] = 0;
|
|
1272
|
-
out[4] = 0;
|
|
1273
|
-
out[5] = -2 * bt;
|
|
1274
|
-
out[6] = 0;
|
|
1275
|
-
out[7] = 0;
|
|
1276
|
-
out[8] = 0;
|
|
1277
|
-
out[9] = 0;
|
|
1278
|
-
out[10] = 2 * nf;
|
|
1279
|
-
out[11] = 0;
|
|
1280
|
-
out[12] = (left + right) * lr;
|
|
1281
|
-
out[13] = (top + bottom) * bt;
|
|
1282
|
-
out[14] = (far + near) * nf;
|
|
1283
|
-
out[15] = 1;
|
|
1284
|
-
return out;
|
|
1285
|
-
}
|
|
1286
|
-
function scale2(m, x, y, z, out) {
|
|
1287
|
-
out = out != null ? out : create();
|
|
1288
|
-
out[0] = m[0] * x;
|
|
1289
|
-
out[1] = m[1] * x;
|
|
1290
|
-
out[2] = m[2] * x;
|
|
1291
|
-
out[3] = m[3] * x;
|
|
1292
|
-
out[4] = m[4] * y;
|
|
1293
|
-
out[5] = m[5] * y;
|
|
1294
|
-
out[6] = m[6] * y;
|
|
1295
|
-
out[7] = m[7] * y;
|
|
1296
|
-
out[8] = m[8] * z;
|
|
1297
|
-
out[9] = m[9] * z;
|
|
1298
|
-
out[10] = m[10] * z;
|
|
1299
|
-
out[11] = m[11] * z;
|
|
1300
|
-
out[12] = m[12];
|
|
1301
|
-
out[13] = m[13];
|
|
1302
|
-
out[14] = m[14];
|
|
1303
|
-
out[15] = m[15];
|
|
1304
|
-
return out;
|
|
1305
|
-
}
|
|
1306
|
-
function translate(m, x, y, z, out) {
|
|
1307
|
-
out = out != null ? out : create();
|
|
1308
|
-
let a00, a01, a02, a03, a10, a11, a12, a13, a20, a21, a22, a23;
|
|
1309
|
-
if (m === out) {
|
|
1310
|
-
out[12] = m[0] * x + m[4] * y + m[8] * z + m[12];
|
|
1311
|
-
out[13] = m[1] * x + m[5] * y + m[9] * z + m[13];
|
|
1312
|
-
out[14] = m[2] * x + m[6] * y + m[10] * z + m[14];
|
|
1313
|
-
out[15] = m[3] * x + m[7] * y + m[11] * z + m[15];
|
|
1314
|
-
} else {
|
|
1315
|
-
a00 = m[0];
|
|
1316
|
-
a01 = m[1];
|
|
1317
|
-
a02 = m[2];
|
|
1318
|
-
a03 = m[3];
|
|
1319
|
-
a10 = m[4];
|
|
1320
|
-
a11 = m[5];
|
|
1321
|
-
a12 = m[6];
|
|
1322
|
-
a13 = m[7];
|
|
1323
|
-
a20 = m[8];
|
|
1324
|
-
a21 = m[9];
|
|
1325
|
-
a22 = m[10];
|
|
1326
|
-
a23 = m[11];
|
|
1327
|
-
out[0] = a00;
|
|
1328
|
-
out[1] = a01;
|
|
1329
|
-
out[2] = a02;
|
|
1330
|
-
out[3] = a03;
|
|
1331
|
-
out[4] = a10;
|
|
1332
|
-
out[5] = a11;
|
|
1333
|
-
out[6] = a12;
|
|
1334
|
-
out[7] = a13;
|
|
1335
|
-
out[8] = a20;
|
|
1336
|
-
out[9] = a21;
|
|
1337
|
-
out[10] = a22;
|
|
1338
|
-
out[11] = a23;
|
|
1339
|
-
out[12] = a00 * x + a10 * y + a20 * z + m[12];
|
|
1340
|
-
out[13] = a01 * x + a11 * y + a21 * z + m[13];
|
|
1341
|
-
out[14] = a02 * x + a12 * y + a22 * z + m[14];
|
|
1342
|
-
out[15] = a03 * x + a13 * y + a23 * z + m[15];
|
|
1343
|
-
}
|
|
1344
|
-
return out;
|
|
1345
|
-
}
|
|
1346
|
-
function translation(x, y, z, out) {
|
|
1347
|
-
out = out != null ? out : create();
|
|
1348
|
-
out[0] = 1;
|
|
1349
|
-
out[1] = 0;
|
|
1350
|
-
out[2] = 0;
|
|
1351
|
-
out[3] = 0;
|
|
1352
|
-
out[4] = 0;
|
|
1353
|
-
out[5] = 1;
|
|
1354
|
-
out[6] = 0;
|
|
1355
|
-
out[7] = 0;
|
|
1356
|
-
out[8] = 0;
|
|
1357
|
-
out[9] = 0;
|
|
1358
|
-
out[10] = 1;
|
|
1359
|
-
out[11] = 0;
|
|
1360
|
-
out[12] = x;
|
|
1361
|
-
out[13] = y;
|
|
1362
|
-
out[14] = z;
|
|
1363
|
-
out[15] = 1;
|
|
1364
|
-
return out;
|
|
1365
|
-
}
|
|
1366
|
-
|
|
1367
|
-
// node_modules/ol/reproj.js
|
|
1368
|
-
init_dirname();
|
|
1369
|
-
init_buffer();
|
|
1370
|
-
init_process();
|
|
1371
|
-
var brokenDiagonalRendering_;
|
|
1372
|
-
var canvasPool = [];
|
|
1373
|
-
function drawTestTriangle(ctx, u1, v1, u2, v2) {
|
|
1374
|
-
ctx.beginPath();
|
|
1375
|
-
ctx.moveTo(0, 0);
|
|
1376
|
-
ctx.lineTo(u1, v1);
|
|
1377
|
-
ctx.lineTo(u2, v2);
|
|
1378
|
-
ctx.closePath();
|
|
1379
|
-
ctx.save();
|
|
1380
|
-
ctx.clip();
|
|
1381
|
-
ctx.fillRect(0, 0, Math.max(u1, u2) + 1, Math.max(v1, v2));
|
|
1382
|
-
ctx.restore();
|
|
1383
|
-
}
|
|
1384
|
-
function verifyBrokenDiagonalRendering(data, offset) {
|
|
1385
|
-
return Math.abs(data[offset * 4] - 210) > 2 || Math.abs(data[offset * 4 + 3] - 0.75 * 255) > 2;
|
|
1386
|
-
}
|
|
1387
|
-
function isBrokenDiagonalRendering() {
|
|
1388
|
-
if (brokenDiagonalRendering_ === void 0) {
|
|
1389
|
-
const ctx = createCanvasContext2D(6, 6, canvasPool);
|
|
1390
|
-
ctx.globalCompositeOperation = "lighter";
|
|
1391
|
-
ctx.fillStyle = "rgba(210, 0, 0, 0.75)";
|
|
1392
|
-
drawTestTriangle(ctx, 4, 5, 4, 0);
|
|
1393
|
-
drawTestTriangle(ctx, 4, 5, 0, 5);
|
|
1394
|
-
const data = ctx.getImageData(0, 0, 3, 3).data;
|
|
1395
|
-
brokenDiagonalRendering_ = verifyBrokenDiagonalRendering(data, 0) || verifyBrokenDiagonalRendering(data, 4) || verifyBrokenDiagonalRendering(data, 8);
|
|
1396
|
-
releaseCanvas(ctx);
|
|
1397
|
-
canvasPool.push(ctx.canvas);
|
|
1398
|
-
}
|
|
1399
|
-
return brokenDiagonalRendering_;
|
|
1400
|
-
}
|
|
1401
|
-
function calculateSourceResolution(sourceProj, targetProj, targetCenter, targetResolution) {
|
|
1402
|
-
const sourceCenter = transform(targetCenter, targetProj, sourceProj);
|
|
1403
|
-
let sourceResolution = getPointResolution(
|
|
1404
|
-
targetProj,
|
|
1405
|
-
targetResolution,
|
|
1406
|
-
targetCenter
|
|
1407
|
-
);
|
|
1408
|
-
const targetMetersPerUnit = targetProj.getMetersPerUnit();
|
|
1409
|
-
if (targetMetersPerUnit !== void 0) {
|
|
1410
|
-
sourceResolution *= targetMetersPerUnit;
|
|
1411
|
-
}
|
|
1412
|
-
const sourceMetersPerUnit = sourceProj.getMetersPerUnit();
|
|
1413
|
-
if (sourceMetersPerUnit !== void 0) {
|
|
1414
|
-
sourceResolution /= sourceMetersPerUnit;
|
|
1415
|
-
}
|
|
1416
|
-
const sourceExtent = sourceProj.getExtent();
|
|
1417
|
-
if (!sourceExtent || containsCoordinate(sourceExtent, sourceCenter)) {
|
|
1418
|
-
const compensationFactor = getPointResolution(sourceProj, sourceResolution, sourceCenter) / sourceResolution;
|
|
1419
|
-
if (isFinite(compensationFactor) && compensationFactor > 0) {
|
|
1420
|
-
sourceResolution /= compensationFactor;
|
|
1421
|
-
}
|
|
1422
|
-
}
|
|
1423
|
-
return sourceResolution;
|
|
1424
|
-
}
|
|
1425
|
-
function calculateSourceExtentResolution(sourceProj, targetProj, targetExtent, targetResolution) {
|
|
1426
|
-
const targetCenter = getCenter(targetExtent);
|
|
1427
|
-
let sourceResolution = calculateSourceResolution(
|
|
1428
|
-
sourceProj,
|
|
1429
|
-
targetProj,
|
|
1430
|
-
targetCenter,
|
|
1431
|
-
targetResolution
|
|
1432
|
-
);
|
|
1433
|
-
if (!isFinite(sourceResolution) || sourceResolution <= 0) {
|
|
1434
|
-
forEachCorner(targetExtent, function(corner) {
|
|
1435
|
-
sourceResolution = calculateSourceResolution(
|
|
1436
|
-
sourceProj,
|
|
1437
|
-
targetProj,
|
|
1438
|
-
corner,
|
|
1439
|
-
targetResolution
|
|
1440
|
-
);
|
|
1441
|
-
return isFinite(sourceResolution) && sourceResolution > 0;
|
|
1442
|
-
});
|
|
1443
|
-
}
|
|
1444
|
-
return sourceResolution;
|
|
1445
|
-
}
|
|
1446
|
-
function render(width, height, pixelRatio, sourceResolution, sourceExtent, targetResolution, targetExtent, triangulation, sources, gutter, renderEdges, interpolate, drawSingle, clipExtent) {
|
|
1447
|
-
const context = createCanvasContext2D(
|
|
1448
|
-
Math.round(pixelRatio * width),
|
|
1449
|
-
Math.round(pixelRatio * height),
|
|
1450
|
-
canvasPool
|
|
1451
|
-
);
|
|
1452
|
-
if (!interpolate) {
|
|
1453
|
-
context.imageSmoothingEnabled = false;
|
|
1454
|
-
}
|
|
1455
|
-
if (sources.length === 0) {
|
|
1456
|
-
return context.canvas;
|
|
1457
|
-
}
|
|
1458
|
-
context.scale(pixelRatio, pixelRatio);
|
|
1459
|
-
function pixelRound(value) {
|
|
1460
|
-
return Math.round(value * pixelRatio) / pixelRatio;
|
|
1461
|
-
}
|
|
1462
|
-
context.globalCompositeOperation = "lighter";
|
|
1463
|
-
const sourceDataExtent = createEmpty();
|
|
1464
|
-
sources.forEach(function(src, i, arr) {
|
|
1465
|
-
extend(sourceDataExtent, src.extent);
|
|
1466
|
-
});
|
|
1467
|
-
let stitchContext;
|
|
1468
|
-
const stitchScale = pixelRatio / sourceResolution;
|
|
1469
|
-
const inverseScale = (interpolate ? 1 : 1 + Math.pow(2, -24)) / stitchScale;
|
|
1470
|
-
if (!drawSingle || sources.length !== 1 || gutter !== 0) {
|
|
1471
|
-
stitchContext = createCanvasContext2D(
|
|
1472
|
-
Math.round(getWidth(sourceDataExtent) * stitchScale),
|
|
1473
|
-
Math.round(getHeight(sourceDataExtent) * stitchScale),
|
|
1474
|
-
canvasPool
|
|
1475
|
-
);
|
|
1476
|
-
if (!interpolate) {
|
|
1477
|
-
stitchContext.imageSmoothingEnabled = false;
|
|
1478
|
-
}
|
|
1479
|
-
if (sourceExtent && clipExtent) {
|
|
1480
|
-
const xPos = (sourceExtent[0] - sourceDataExtent[0]) * stitchScale;
|
|
1481
|
-
const yPos = -(sourceExtent[3] - sourceDataExtent[3]) * stitchScale;
|
|
1482
|
-
const width2 = getWidth(sourceExtent) * stitchScale;
|
|
1483
|
-
const height2 = getHeight(sourceExtent) * stitchScale;
|
|
1484
|
-
stitchContext.rect(xPos, yPos, width2, height2);
|
|
1485
|
-
stitchContext.clip();
|
|
1486
|
-
}
|
|
1487
|
-
sources.forEach(function(src, i, arr) {
|
|
1488
|
-
if (src.image.width > 0 && src.image.height > 0) {
|
|
1489
|
-
if (src.clipExtent) {
|
|
1490
|
-
stitchContext.save();
|
|
1491
|
-
const xPos2 = (src.clipExtent[0] - sourceDataExtent[0]) * stitchScale;
|
|
1492
|
-
const yPos2 = -(src.clipExtent[3] - sourceDataExtent[3]) * stitchScale;
|
|
1493
|
-
const width2 = getWidth(src.clipExtent) * stitchScale;
|
|
1494
|
-
const height2 = getHeight(src.clipExtent) * stitchScale;
|
|
1495
|
-
stitchContext.rect(
|
|
1496
|
-
interpolate ? xPos2 : Math.round(xPos2),
|
|
1497
|
-
interpolate ? yPos2 : Math.round(yPos2),
|
|
1498
|
-
interpolate ? width2 : Math.round(xPos2 + width2) - Math.round(xPos2),
|
|
1499
|
-
interpolate ? height2 : Math.round(yPos2 + height2) - Math.round(yPos2)
|
|
1500
|
-
);
|
|
1501
|
-
stitchContext.clip();
|
|
1502
|
-
}
|
|
1503
|
-
const xPos = (src.extent[0] - sourceDataExtent[0]) * stitchScale;
|
|
1504
|
-
const yPos = -(src.extent[3] - sourceDataExtent[3]) * stitchScale;
|
|
1505
|
-
const srcWidth = getWidth(src.extent) * stitchScale;
|
|
1506
|
-
const srcHeight = getHeight(src.extent) * stitchScale;
|
|
1507
|
-
stitchContext.drawImage(
|
|
1508
|
-
src.image,
|
|
1509
|
-
gutter,
|
|
1510
|
-
gutter,
|
|
1511
|
-
src.image.width - 2 * gutter,
|
|
1512
|
-
src.image.height - 2 * gutter,
|
|
1513
|
-
interpolate ? xPos : Math.round(xPos),
|
|
1514
|
-
interpolate ? yPos : Math.round(yPos),
|
|
1515
|
-
interpolate ? srcWidth : Math.round(xPos + srcWidth) - Math.round(xPos),
|
|
1516
|
-
interpolate ? srcHeight : Math.round(yPos + srcHeight) - Math.round(yPos)
|
|
1517
|
-
);
|
|
1518
|
-
if (src.clipExtent) {
|
|
1519
|
-
stitchContext.restore();
|
|
1520
|
-
}
|
|
1521
|
-
}
|
|
1522
|
-
});
|
|
1523
|
-
}
|
|
1524
|
-
const targetTopLeft = getTopLeft(targetExtent);
|
|
1525
|
-
triangulation.getTriangles().forEach(function(triangle, i, arr) {
|
|
1526
|
-
const source = triangle.source;
|
|
1527
|
-
const target = triangle.target;
|
|
1528
|
-
let x0 = source[0][0], y0 = source[0][1];
|
|
1529
|
-
let x1 = source[1][0], y1 = source[1][1];
|
|
1530
|
-
let x2 = source[2][0], y2 = source[2][1];
|
|
1531
|
-
const u0 = pixelRound((target[0][0] - targetTopLeft[0]) / targetResolution);
|
|
1532
|
-
const v0 = pixelRound(
|
|
1533
|
-
-(target[0][1] - targetTopLeft[1]) / targetResolution
|
|
1534
|
-
);
|
|
1535
|
-
const u1 = pixelRound((target[1][0] - targetTopLeft[0]) / targetResolution);
|
|
1536
|
-
const v1 = pixelRound(
|
|
1537
|
-
-(target[1][1] - targetTopLeft[1]) / targetResolution
|
|
1538
|
-
);
|
|
1539
|
-
const u2 = pixelRound((target[2][0] - targetTopLeft[0]) / targetResolution);
|
|
1540
|
-
const v2 = pixelRound(
|
|
1541
|
-
-(target[2][1] - targetTopLeft[1]) / targetResolution
|
|
1542
|
-
);
|
|
1543
|
-
const sourceNumericalShiftX = x0;
|
|
1544
|
-
const sourceNumericalShiftY = y0;
|
|
1545
|
-
x0 = 0;
|
|
1546
|
-
y0 = 0;
|
|
1547
|
-
x1 -= sourceNumericalShiftX;
|
|
1548
|
-
y1 -= sourceNumericalShiftY;
|
|
1549
|
-
x2 -= sourceNumericalShiftX;
|
|
1550
|
-
y2 -= sourceNumericalShiftY;
|
|
1551
|
-
const augmentedMatrix = [
|
|
1552
|
-
[x1, y1, 0, 0, u1 - u0],
|
|
1553
|
-
[x2, y2, 0, 0, u2 - u0],
|
|
1554
|
-
[0, 0, x1, y1, v1 - v0],
|
|
1555
|
-
[0, 0, x2, y2, v2 - v0]
|
|
1556
|
-
];
|
|
1557
|
-
const affineCoefs = solveLinearSystem(augmentedMatrix);
|
|
1558
|
-
if (!affineCoefs) {
|
|
1559
|
-
return;
|
|
1560
|
-
}
|
|
1561
|
-
context.save();
|
|
1562
|
-
context.beginPath();
|
|
1563
|
-
if (isBrokenDiagonalRendering() || !interpolate) {
|
|
1564
|
-
context.moveTo(u1, v1);
|
|
1565
|
-
const steps = 4;
|
|
1566
|
-
const ud = u0 - u1;
|
|
1567
|
-
const vd = v0 - v1;
|
|
1568
|
-
for (let step = 0; step < steps; step++) {
|
|
1569
|
-
context.lineTo(
|
|
1570
|
-
u1 + pixelRound((step + 1) * ud / steps),
|
|
1571
|
-
v1 + pixelRound(step * vd / (steps - 1))
|
|
1572
|
-
);
|
|
1573
|
-
if (step != steps - 1) {
|
|
1574
|
-
context.lineTo(
|
|
1575
|
-
u1 + pixelRound((step + 1) * ud / steps),
|
|
1576
|
-
v1 + pixelRound((step + 1) * vd / (steps - 1))
|
|
1577
|
-
);
|
|
1578
|
-
}
|
|
1579
|
-
}
|
|
1580
|
-
context.lineTo(u2, v2);
|
|
1581
|
-
} else {
|
|
1582
|
-
context.moveTo(u1, v1);
|
|
1583
|
-
context.lineTo(u0, v0);
|
|
1584
|
-
context.lineTo(u2, v2);
|
|
1585
|
-
}
|
|
1586
|
-
context.clip();
|
|
1587
|
-
context.transform(
|
|
1588
|
-
affineCoefs[0],
|
|
1589
|
-
affineCoefs[2],
|
|
1590
|
-
affineCoefs[1],
|
|
1591
|
-
affineCoefs[3],
|
|
1592
|
-
u0,
|
|
1593
|
-
v0
|
|
1594
|
-
);
|
|
1595
|
-
context.translate(
|
|
1596
|
-
sourceDataExtent[0] - sourceNumericalShiftX,
|
|
1597
|
-
sourceDataExtent[3] - sourceNumericalShiftY
|
|
1598
|
-
);
|
|
1599
|
-
let image;
|
|
1600
|
-
if (stitchContext) {
|
|
1601
|
-
image = stitchContext.canvas;
|
|
1602
|
-
context.scale(inverseScale, -inverseScale);
|
|
1603
|
-
} else {
|
|
1604
|
-
const source2 = sources[0];
|
|
1605
|
-
const extent = source2.extent;
|
|
1606
|
-
image = source2.image;
|
|
1607
|
-
context.scale(
|
|
1608
|
-
getWidth(extent) / image.width,
|
|
1609
|
-
-getHeight(extent) / image.height
|
|
1610
|
-
);
|
|
1611
|
-
}
|
|
1612
|
-
context.drawImage(image, 0, 0);
|
|
1613
|
-
context.restore();
|
|
1614
|
-
});
|
|
1615
|
-
if (stitchContext) {
|
|
1616
|
-
releaseCanvas(stitchContext);
|
|
1617
|
-
canvasPool.push(stitchContext.canvas);
|
|
1618
|
-
}
|
|
1619
|
-
if (renderEdges) {
|
|
1620
|
-
context.save();
|
|
1621
|
-
context.globalCompositeOperation = "source-over";
|
|
1622
|
-
context.strokeStyle = "black";
|
|
1623
|
-
context.lineWidth = 1;
|
|
1624
|
-
triangulation.getTriangles().forEach(function(triangle, i, arr) {
|
|
1625
|
-
const target = triangle.target;
|
|
1626
|
-
const u0 = (target[0][0] - targetTopLeft[0]) / targetResolution;
|
|
1627
|
-
const v0 = -(target[0][1] - targetTopLeft[1]) / targetResolution;
|
|
1628
|
-
const u1 = (target[1][0] - targetTopLeft[0]) / targetResolution;
|
|
1629
|
-
const v1 = -(target[1][1] - targetTopLeft[1]) / targetResolution;
|
|
1630
|
-
const u2 = (target[2][0] - targetTopLeft[0]) / targetResolution;
|
|
1631
|
-
const v2 = -(target[2][1] - targetTopLeft[1]) / targetResolution;
|
|
1632
|
-
context.beginPath();
|
|
1633
|
-
context.moveTo(u1, v1);
|
|
1634
|
-
context.lineTo(u0, v0);
|
|
1635
|
-
context.lineTo(u2, v2);
|
|
1636
|
-
context.closePath();
|
|
1637
|
-
context.stroke();
|
|
1638
|
-
});
|
|
1639
|
-
context.restore();
|
|
1640
|
-
}
|
|
1641
|
-
return context.canvas;
|
|
1642
|
-
}
|
|
1643
|
-
|
|
1644
|
-
// node_modules/ol/reproj/Triangulation.js
|
|
1645
|
-
init_dirname();
|
|
1646
|
-
init_buffer();
|
|
1647
|
-
init_process();
|
|
1648
|
-
var MAX_SUBDIVISION = 10;
|
|
1649
|
-
var MAX_TRIANGLE_WIDTH = 0.25;
|
|
1650
|
-
var Triangulation = class {
|
|
1651
|
-
/**
|
|
1652
|
-
* @param {import("../proj/Projection.js").default} sourceProj Source projection.
|
|
1653
|
-
* @param {import("../proj/Projection.js").default} targetProj Target projection.
|
|
1654
|
-
* @param {import("../extent.js").Extent} targetExtent Target extent to triangulate.
|
|
1655
|
-
* @param {import("../extent.js").Extent} maxSourceExtent Maximal source extent that can be used.
|
|
1656
|
-
* @param {number} errorThreshold Acceptable error (in source units).
|
|
1657
|
-
* @param {?number} destinationResolution The (optional) resolution of the destination.
|
|
1658
|
-
* @param {import("../transform.js").Transform} [sourceMatrix] Source transform matrix.
|
|
1659
|
-
*/
|
|
1660
|
-
constructor(sourceProj, targetProj, targetExtent, maxSourceExtent, errorThreshold, destinationResolution, sourceMatrix) {
|
|
1661
|
-
this.sourceProj_ = sourceProj;
|
|
1662
|
-
this.targetProj_ = targetProj;
|
|
1663
|
-
let transformInvCache = {};
|
|
1664
|
-
const transformInv = sourceMatrix ? createTransformFromCoordinateTransform(
|
|
1665
|
-
(input) => apply(
|
|
1666
|
-
sourceMatrix,
|
|
1667
|
-
transform(input, this.targetProj_, this.sourceProj_)
|
|
1668
|
-
)
|
|
1669
|
-
) : getTransform(this.targetProj_, this.sourceProj_);
|
|
1670
|
-
this.transformInv_ = function(c) {
|
|
1671
|
-
const key = c[0] + "/" + c[1];
|
|
1672
|
-
if (!transformInvCache[key]) {
|
|
1673
|
-
transformInvCache[key] = transformInv(c);
|
|
1674
|
-
}
|
|
1675
|
-
return transformInvCache[key];
|
|
1676
|
-
};
|
|
1677
|
-
this.maxSourceExtent_ = maxSourceExtent;
|
|
1678
|
-
this.errorThresholdSquared_ = errorThreshold * errorThreshold;
|
|
1679
|
-
this.triangles_ = [];
|
|
1680
|
-
this.wrapsXInSource_ = false;
|
|
1681
|
-
this.canWrapXInSource_ = this.sourceProj_.canWrapX() && !!maxSourceExtent && !!this.sourceProj_.getExtent() && getWidth(maxSourceExtent) >= getWidth(this.sourceProj_.getExtent());
|
|
1682
|
-
this.sourceWorldWidth_ = this.sourceProj_.getExtent() ? getWidth(this.sourceProj_.getExtent()) : null;
|
|
1683
|
-
this.targetWorldWidth_ = this.targetProj_.getExtent() ? getWidth(this.targetProj_.getExtent()) : null;
|
|
1684
|
-
const destinationTopLeft = getTopLeft(targetExtent);
|
|
1685
|
-
const destinationTopRight = getTopRight(targetExtent);
|
|
1686
|
-
const destinationBottomRight = getBottomRight(targetExtent);
|
|
1687
|
-
const destinationBottomLeft = getBottomLeft(targetExtent);
|
|
1688
|
-
const sourceTopLeft = this.transformInv_(destinationTopLeft);
|
|
1689
|
-
const sourceTopRight = this.transformInv_(destinationTopRight);
|
|
1690
|
-
const sourceBottomRight = this.transformInv_(destinationBottomRight);
|
|
1691
|
-
const sourceBottomLeft = this.transformInv_(destinationBottomLeft);
|
|
1692
|
-
const maxSubdivision = MAX_SUBDIVISION + (destinationResolution ? Math.max(
|
|
1693
|
-
0,
|
|
1694
|
-
Math.ceil(
|
|
1695
|
-
Math.log2(
|
|
1696
|
-
getArea(targetExtent) / (destinationResolution * destinationResolution * 256 * 256)
|
|
1697
|
-
)
|
|
1698
|
-
)
|
|
1699
|
-
) : 0);
|
|
1700
|
-
this.addQuad_(
|
|
1701
|
-
destinationTopLeft,
|
|
1702
|
-
destinationTopRight,
|
|
1703
|
-
destinationBottomRight,
|
|
1704
|
-
destinationBottomLeft,
|
|
1705
|
-
sourceTopLeft,
|
|
1706
|
-
sourceTopRight,
|
|
1707
|
-
sourceBottomRight,
|
|
1708
|
-
sourceBottomLeft,
|
|
1709
|
-
maxSubdivision
|
|
1710
|
-
);
|
|
1711
|
-
if (this.wrapsXInSource_) {
|
|
1712
|
-
let leftBound = Infinity;
|
|
1713
|
-
this.triangles_.forEach(function(triangle, i, arr) {
|
|
1714
|
-
leftBound = Math.min(
|
|
1715
|
-
leftBound,
|
|
1716
|
-
triangle.source[0][0],
|
|
1717
|
-
triangle.source[1][0],
|
|
1718
|
-
triangle.source[2][0]
|
|
1719
|
-
);
|
|
1720
|
-
});
|
|
1721
|
-
this.triangles_.forEach((triangle) => {
|
|
1722
|
-
if (Math.max(
|
|
1723
|
-
triangle.source[0][0],
|
|
1724
|
-
triangle.source[1][0],
|
|
1725
|
-
triangle.source[2][0]
|
|
1726
|
-
) - leftBound > this.sourceWorldWidth_ / 2) {
|
|
1727
|
-
const newTriangle = [
|
|
1728
|
-
[triangle.source[0][0], triangle.source[0][1]],
|
|
1729
|
-
[triangle.source[1][0], triangle.source[1][1]],
|
|
1730
|
-
[triangle.source[2][0], triangle.source[2][1]]
|
|
1731
|
-
];
|
|
1732
|
-
if (newTriangle[0][0] - leftBound > this.sourceWorldWidth_ / 2) {
|
|
1733
|
-
newTriangle[0][0] -= this.sourceWorldWidth_;
|
|
1734
|
-
}
|
|
1735
|
-
if (newTriangle[1][0] - leftBound > this.sourceWorldWidth_ / 2) {
|
|
1736
|
-
newTriangle[1][0] -= this.sourceWorldWidth_;
|
|
1737
|
-
}
|
|
1738
|
-
if (newTriangle[2][0] - leftBound > this.sourceWorldWidth_ / 2) {
|
|
1739
|
-
newTriangle[2][0] -= this.sourceWorldWidth_;
|
|
1740
|
-
}
|
|
1741
|
-
const minX = Math.min(
|
|
1742
|
-
newTriangle[0][0],
|
|
1743
|
-
newTriangle[1][0],
|
|
1744
|
-
newTriangle[2][0]
|
|
1745
|
-
);
|
|
1746
|
-
const maxX = Math.max(
|
|
1747
|
-
newTriangle[0][0],
|
|
1748
|
-
newTriangle[1][0],
|
|
1749
|
-
newTriangle[2][0]
|
|
1750
|
-
);
|
|
1751
|
-
if (maxX - minX < this.sourceWorldWidth_ / 2) {
|
|
1752
|
-
triangle.source = newTriangle;
|
|
1753
|
-
}
|
|
1754
|
-
}
|
|
1755
|
-
});
|
|
1756
|
-
}
|
|
1757
|
-
transformInvCache = {};
|
|
1758
|
-
}
|
|
1759
|
-
/**
|
|
1760
|
-
* Adds triangle to the triangulation.
|
|
1761
|
-
* @param {import("../coordinate.js").Coordinate} a The target a coordinate.
|
|
1762
|
-
* @param {import("../coordinate.js").Coordinate} b The target b coordinate.
|
|
1763
|
-
* @param {import("../coordinate.js").Coordinate} c The target c coordinate.
|
|
1764
|
-
* @param {import("../coordinate.js").Coordinate} aSrc The source a coordinate.
|
|
1765
|
-
* @param {import("../coordinate.js").Coordinate} bSrc The source b coordinate.
|
|
1766
|
-
* @param {import("../coordinate.js").Coordinate} cSrc The source c coordinate.
|
|
1767
|
-
* @private
|
|
1768
|
-
*/
|
|
1769
|
-
addTriangle_(a, b, c, aSrc, bSrc, cSrc) {
|
|
1770
|
-
this.triangles_.push({
|
|
1771
|
-
source: [aSrc, bSrc, cSrc],
|
|
1772
|
-
target: [a, b, c]
|
|
1773
|
-
});
|
|
1774
|
-
}
|
|
1775
|
-
/**
|
|
1776
|
-
* Adds quad (points in clock-wise order) to the triangulation
|
|
1777
|
-
* (and reprojects the vertices) if valid.
|
|
1778
|
-
* Performs quad subdivision if needed to increase precision.
|
|
1779
|
-
*
|
|
1780
|
-
* @param {import("../coordinate.js").Coordinate} a The target a coordinate.
|
|
1781
|
-
* @param {import("../coordinate.js").Coordinate} b The target b coordinate.
|
|
1782
|
-
* @param {import("../coordinate.js").Coordinate} c The target c coordinate.
|
|
1783
|
-
* @param {import("../coordinate.js").Coordinate} d The target d coordinate.
|
|
1784
|
-
* @param {import("../coordinate.js").Coordinate} aSrc The source a coordinate.
|
|
1785
|
-
* @param {import("../coordinate.js").Coordinate} bSrc The source b coordinate.
|
|
1786
|
-
* @param {import("../coordinate.js").Coordinate} cSrc The source c coordinate.
|
|
1787
|
-
* @param {import("../coordinate.js").Coordinate} dSrc The source d coordinate.
|
|
1788
|
-
* @param {number} maxSubdivision Maximal allowed subdivision of the quad.
|
|
1789
|
-
* @private
|
|
1790
|
-
*/
|
|
1791
|
-
addQuad_(a, b, c, d, aSrc, bSrc, cSrc, dSrc, maxSubdivision) {
|
|
1792
|
-
const sourceQuadExtent = boundingExtent([aSrc, bSrc, cSrc, dSrc]);
|
|
1793
|
-
const sourceCoverageX = this.sourceWorldWidth_ ? getWidth(sourceQuadExtent) / this.sourceWorldWidth_ : null;
|
|
1794
|
-
const sourceWorldWidth = (
|
|
1795
|
-
/** @type {number} */
|
|
1796
|
-
this.sourceWorldWidth_
|
|
1797
|
-
);
|
|
1798
|
-
const wrapsX = this.sourceProj_.canWrapX() && sourceCoverageX > 0.5 && sourceCoverageX < 1;
|
|
1799
|
-
let needsSubdivision = false;
|
|
1800
|
-
if (maxSubdivision > 0) {
|
|
1801
|
-
if (this.targetProj_.isGlobal() && this.targetWorldWidth_) {
|
|
1802
|
-
const targetQuadExtent = boundingExtent([a, b, c, d]);
|
|
1803
|
-
const targetCoverageX = getWidth(targetQuadExtent) / this.targetWorldWidth_;
|
|
1804
|
-
needsSubdivision = targetCoverageX > MAX_TRIANGLE_WIDTH || needsSubdivision;
|
|
1805
|
-
}
|
|
1806
|
-
if (!wrapsX && this.sourceProj_.isGlobal() && sourceCoverageX) {
|
|
1807
|
-
needsSubdivision = sourceCoverageX > MAX_TRIANGLE_WIDTH || needsSubdivision;
|
|
1808
|
-
}
|
|
1809
|
-
}
|
|
1810
|
-
if (!needsSubdivision && this.maxSourceExtent_) {
|
|
1811
|
-
if (isFinite(sourceQuadExtent[0]) && isFinite(sourceQuadExtent[1]) && isFinite(sourceQuadExtent[2]) && isFinite(sourceQuadExtent[3])) {
|
|
1812
|
-
if (!intersects(sourceQuadExtent, this.maxSourceExtent_)) {
|
|
1813
|
-
return;
|
|
1814
|
-
}
|
|
1815
|
-
}
|
|
1816
|
-
}
|
|
1817
|
-
let isNotFinite = 0;
|
|
1818
|
-
if (!needsSubdivision) {
|
|
1819
|
-
if (!isFinite(aSrc[0]) || !isFinite(aSrc[1]) || !isFinite(bSrc[0]) || !isFinite(bSrc[1]) || !isFinite(cSrc[0]) || !isFinite(cSrc[1]) || !isFinite(dSrc[0]) || !isFinite(dSrc[1])) {
|
|
1820
|
-
if (maxSubdivision > 0) {
|
|
1821
|
-
needsSubdivision = true;
|
|
1822
|
-
} else {
|
|
1823
|
-
isNotFinite = (!isFinite(aSrc[0]) || !isFinite(aSrc[1]) ? 8 : 0) + (!isFinite(bSrc[0]) || !isFinite(bSrc[1]) ? 4 : 0) + (!isFinite(cSrc[0]) || !isFinite(cSrc[1]) ? 2 : 0) + (!isFinite(dSrc[0]) || !isFinite(dSrc[1]) ? 1 : 0);
|
|
1824
|
-
if (isNotFinite != 1 && isNotFinite != 2 && isNotFinite != 4 && isNotFinite != 8) {
|
|
1825
|
-
return;
|
|
1826
|
-
}
|
|
1827
|
-
}
|
|
1828
|
-
}
|
|
1829
|
-
}
|
|
1830
|
-
if (maxSubdivision > 0) {
|
|
1831
|
-
if (!needsSubdivision) {
|
|
1832
|
-
const center = [(a[0] + c[0]) / 2, (a[1] + c[1]) / 2];
|
|
1833
|
-
const centerSrc = this.transformInv_(center);
|
|
1834
|
-
let dx;
|
|
1835
|
-
if (wrapsX) {
|
|
1836
|
-
const centerSrcEstimX = (modulo(aSrc[0], sourceWorldWidth) + modulo(cSrc[0], sourceWorldWidth)) / 2;
|
|
1837
|
-
dx = centerSrcEstimX - modulo(centerSrc[0], sourceWorldWidth);
|
|
1838
|
-
} else {
|
|
1839
|
-
dx = (aSrc[0] + cSrc[0]) / 2 - centerSrc[0];
|
|
1840
|
-
}
|
|
1841
|
-
const dy = (aSrc[1] + cSrc[1]) / 2 - centerSrc[1];
|
|
1842
|
-
const centerSrcErrorSquared = dx * dx + dy * dy;
|
|
1843
|
-
needsSubdivision = centerSrcErrorSquared > this.errorThresholdSquared_;
|
|
1844
|
-
}
|
|
1845
|
-
if (needsSubdivision) {
|
|
1846
|
-
if (Math.abs(a[0] - c[0]) <= Math.abs(a[1] - c[1])) {
|
|
1847
|
-
const bc = [(b[0] + c[0]) / 2, (b[1] + c[1]) / 2];
|
|
1848
|
-
const bcSrc = this.transformInv_(bc);
|
|
1849
|
-
const da = [(d[0] + a[0]) / 2, (d[1] + a[1]) / 2];
|
|
1850
|
-
const daSrc = this.transformInv_(da);
|
|
1851
|
-
this.addQuad_(
|
|
1852
|
-
a,
|
|
1853
|
-
b,
|
|
1854
|
-
bc,
|
|
1855
|
-
da,
|
|
1856
|
-
aSrc,
|
|
1857
|
-
bSrc,
|
|
1858
|
-
bcSrc,
|
|
1859
|
-
daSrc,
|
|
1860
|
-
maxSubdivision - 1
|
|
1861
|
-
);
|
|
1862
|
-
this.addQuad_(
|
|
1863
|
-
da,
|
|
1864
|
-
bc,
|
|
1865
|
-
c,
|
|
1866
|
-
d,
|
|
1867
|
-
daSrc,
|
|
1868
|
-
bcSrc,
|
|
1869
|
-
cSrc,
|
|
1870
|
-
dSrc,
|
|
1871
|
-
maxSubdivision - 1
|
|
1872
|
-
);
|
|
1873
|
-
} else {
|
|
1874
|
-
const ab = [(a[0] + b[0]) / 2, (a[1] + b[1]) / 2];
|
|
1875
|
-
const abSrc = this.transformInv_(ab);
|
|
1876
|
-
const cd = [(c[0] + d[0]) / 2, (c[1] + d[1]) / 2];
|
|
1877
|
-
const cdSrc = this.transformInv_(cd);
|
|
1878
|
-
this.addQuad_(
|
|
1879
|
-
a,
|
|
1880
|
-
ab,
|
|
1881
|
-
cd,
|
|
1882
|
-
d,
|
|
1883
|
-
aSrc,
|
|
1884
|
-
abSrc,
|
|
1885
|
-
cdSrc,
|
|
1886
|
-
dSrc,
|
|
1887
|
-
maxSubdivision - 1
|
|
1888
|
-
);
|
|
1889
|
-
this.addQuad_(
|
|
1890
|
-
ab,
|
|
1891
|
-
b,
|
|
1892
|
-
c,
|
|
1893
|
-
cd,
|
|
1894
|
-
abSrc,
|
|
1895
|
-
bSrc,
|
|
1896
|
-
cSrc,
|
|
1897
|
-
cdSrc,
|
|
1898
|
-
maxSubdivision - 1
|
|
1899
|
-
);
|
|
1900
|
-
}
|
|
1901
|
-
return;
|
|
1902
|
-
}
|
|
1903
|
-
}
|
|
1904
|
-
if (wrapsX) {
|
|
1905
|
-
if (!this.canWrapXInSource_) {
|
|
1906
|
-
return;
|
|
1907
|
-
}
|
|
1908
|
-
this.wrapsXInSource_ = true;
|
|
1909
|
-
}
|
|
1910
|
-
if ((isNotFinite & 11) == 0) {
|
|
1911
|
-
this.addTriangle_(a, c, d, aSrc, cSrc, dSrc);
|
|
1912
|
-
}
|
|
1913
|
-
if ((isNotFinite & 14) == 0) {
|
|
1914
|
-
this.addTriangle_(a, c, b, aSrc, cSrc, bSrc);
|
|
1915
|
-
}
|
|
1916
|
-
if (isNotFinite) {
|
|
1917
|
-
if ((isNotFinite & 13) == 0) {
|
|
1918
|
-
this.addTriangle_(b, d, a, bSrc, dSrc, aSrc);
|
|
1919
|
-
}
|
|
1920
|
-
if ((isNotFinite & 7) == 0) {
|
|
1921
|
-
this.addTriangle_(b, d, c, bSrc, dSrc, cSrc);
|
|
1922
|
-
}
|
|
1923
|
-
}
|
|
1924
|
-
}
|
|
1925
|
-
/**
|
|
1926
|
-
* Calculates extent of the `source` coordinates from all the triangles.
|
|
1927
|
-
*
|
|
1928
|
-
* @return {import("../extent.js").Extent} Calculated extent.
|
|
1929
|
-
*/
|
|
1930
|
-
calculateSourceExtent() {
|
|
1931
|
-
const extent = createEmpty();
|
|
1932
|
-
this.triangles_.forEach(function(triangle, i, arr) {
|
|
1933
|
-
const src = triangle.source;
|
|
1934
|
-
extendCoordinate(extent, src[0]);
|
|
1935
|
-
extendCoordinate(extent, src[1]);
|
|
1936
|
-
extendCoordinate(extent, src[2]);
|
|
1937
|
-
});
|
|
1938
|
-
return extent;
|
|
1939
|
-
}
|
|
1940
|
-
/**
|
|
1941
|
-
* @return {Array<Triangle>} Array of the calculated triangles.
|
|
1942
|
-
*/
|
|
1943
|
-
getTriangles() {
|
|
1944
|
-
return this.triangles_;
|
|
1945
|
-
}
|
|
1946
|
-
};
|
|
1947
|
-
var Triangulation_default = Triangulation;
|
|
1948
|
-
|
|
1949
|
-
// node_modules/ol/reproj/common.js
|
|
1950
|
-
init_dirname();
|
|
1951
|
-
init_buffer();
|
|
1952
|
-
init_process();
|
|
1953
|
-
var ERROR_THRESHOLD = 0.5;
|
|
1954
|
-
|
|
1955
|
-
export {
|
|
1956
|
-
TileState_default,
|
|
1957
|
-
Tile_default,
|
|
1958
|
-
TileRange_default,
|
|
1959
|
-
create,
|
|
1960
|
-
fromTransform,
|
|
1961
|
-
orthographic,
|
|
1962
|
-
scale2 as scale,
|
|
1963
|
-
translate,
|
|
1964
|
-
translation,
|
|
1965
|
-
asImageLike,
|
|
1966
|
-
asArrayLike,
|
|
1967
|
-
toArray,
|
|
1968
|
-
DataTile_default,
|
|
1969
|
-
canvasPool,
|
|
1970
|
-
calculateSourceExtentResolution,
|
|
1971
|
-
render,
|
|
1972
|
-
Triangulation_default,
|
|
1973
|
-
ERROR_THRESHOLD,
|
|
1974
|
-
createOrUpdate3 as createOrUpdate,
|
|
1975
|
-
getKey,
|
|
1976
|
-
getCacheKey,
|
|
1977
|
-
hash,
|
|
1978
|
-
TileGrid_default,
|
|
1979
|
-
getForProjection,
|
|
1980
|
-
createXYZ,
|
|
1981
|
-
extentFromProjection,
|
|
1982
|
-
TileSourceEvent,
|
|
1983
|
-
Tile_default2,
|
|
1984
|
-
TileEventType_default
|
|
1985
|
-
};
|