@metoceanapi/wxtiles-common 0.0.8 → 0.0.11-0

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.
Files changed (162) hide show
  1. package/.github/workflows/lint.yml +1 -1
  2. package/.github/workflows/validate-pull-request-title.yml +17 -0
  3. package/LICENSE.txt +1 -1
  4. package/biome.json +26 -1
  5. package/controls/WxAPIControl/WxAPIControl-busy.ts +16 -0
  6. package/controls/WxAPIControl/WxAPIControl-datasets.ts +102 -0
  7. package/controls/WxAPIControl/WxAPIControl-filter.ts +66 -0
  8. package/controls/WxAPIControl/WxAPIControl-variables.ts +73 -0
  9. package/controls/WxAPIControl.ts +87 -120
  10. package/controls/WxInfoControl.ts +87 -2
  11. package/controls/WxLegendControl.ts +28 -2
  12. package/controls/WxStyleEditorControl.ts +129 -7
  13. package/controls/WxTimeControl.ts +133 -5
  14. package/docs/docs/.nojekyll +1 -0
  15. package/docs/docs/assets/highlight.css +92 -0
  16. package/docs/docs/assets/icons.svg +1 -0
  17. package/docs/docs/assets/style.css +1610 -0
  18. package/docs/docs/classes/controls_WxAPIControl.WxAPIControl.html +28 -0
  19. package/docs/docs/classes/controls_WxInfoControl.WxInfoControl.html +20 -0
  20. package/docs/docs/classes/controls_WxLegendControl.WxLegendControl.html +19 -0
  21. package/docs/docs/classes/controls_WxStyleEditorControl.WxStyleEditorControl.html +111 -0
  22. package/docs/docs/classes/controls_WxTimeControl.WxTimeControl.html +28 -0
  23. package/docs/docs/classes/managers_BaseDatasetManager.BaseDatasetManager.html +104 -0
  24. package/docs/docs/classes/managers_WxAllDatasetsManager.WxAllDatasetsManager.html +24 -0
  25. package/docs/docs/classes/types.WxRasterDataCache.html +27 -0
  26. package/docs/docs/classes/utils_RawCLUT.RawCLUT.html +18 -0
  27. package/docs/docs/classes/utils_qtree.QTree.html +22 -0
  28. package/docs/docs/classes/utils_wxtools.DataIntegral.html +10 -0
  29. package/docs/docs/classes/wxapi.WxAPI.html +45 -0
  30. package/docs/docs/classes/wxlayer_loader.Loader.html +31 -0
  31. package/docs/docs/classes/wxlayer_painter.Painter.html +20 -0
  32. package/docs/docs/classes/wxlayer_wxlayer.WxLayer.html +57 -0
  33. package/docs/docs/enums/utils_qtree.TileType.html +5 -0
  34. package/docs/docs/functions/utils_RawCLUT.WxCreateLegend.html +5 -0
  35. package/docs/docs/functions/utils_mercator.LatLonToPixels.html +6 -0
  36. package/docs/docs/functions/utils_mercator.PixelsToLatLon.html +6 -0
  37. package/docs/docs/functions/utils_mercator.PixelsToLonLat.html +6 -0
  38. package/docs/docs/functions/utils_mercator.coordToPixel.html +5 -0
  39. package/docs/docs/functions/utils_tests_wxtools.tests.html +1 -0
  40. package/docs/docs/functions/utils_wxtools.HEXtoRGBA.html +3 -0
  41. package/docs/docs/functions/utils_wxtools.HashXYZ.html +4 -0
  42. package/docs/docs/functions/utils_wxtools.RGBAtoHEX.html +3 -0
  43. package/docs/docs/functions/utils_wxtools.RGBtoHEX.html +3 -0
  44. package/docs/docs/functions/utils_wxtools.WXLOG.html +2 -0
  45. package/docs/docs/functions/utils_wxtools.WxGetColorSchemes.html +2 -0
  46. package/docs/docs/functions/utils_wxtools.WxGetColorStyles.html +2 -0
  47. package/docs/docs/functions/utils_wxtools.WxTilesLibSetup.html +3 -0
  48. package/docs/docs/functions/utils_wxtools.WxTilesLogging.html +5 -0
  49. package/docs/docs/functions/utils_wxtools.blurData.html +7 -0
  50. package/docs/docs/functions/utils_wxtools.buildIntegralPare.html +6 -0
  51. package/docs/docs/functions/utils_wxtools.cacheUriPromise.html +2 -0
  52. package/docs/docs/functions/utils_wxtools.create2DContext.html +6 -0
  53. package/docs/docs/functions/utils_wxtools.createEl.html +5 -0
  54. package/docs/docs/functions/utils_wxtools.createLevels.html +6 -0
  55. package/docs/docs/functions/utils_wxtools.fetchJson.html +6 -0
  56. package/docs/docs/functions/utils_wxtools.getClosestTimeString.html +5 -0
  57. package/docs/docs/functions/utils_wxtools.loadDataIntegral.html +5 -0
  58. package/docs/docs/functions/utils_wxtools.loadImage.html +4 -0
  59. package/docs/docs/functions/utils_wxtools.loadImageData.html +5 -0
  60. package/docs/docs/functions/utils_wxtools.makeConverter.html +9 -0
  61. package/docs/docs/functions/utils_wxtools.mixColor.html +3 -0
  62. package/docs/docs/functions/utils_wxtools.refineColor.html +3 -0
  63. package/docs/docs/functions/utils_wxtools.uriXYZ.html +5 -0
  64. package/docs/docs/functions/wxlayer_WxImplementation.WxLayerBaseImplementationMixin.html +4 -0
  65. package/docs/docs/functions/wxlayer_loadertools.applyMask.html +10 -0
  66. package/docs/docs/functions/wxlayer_loadertools.makeBox.html +4 -0
  67. package/docs/docs/functions/wxlayer_loadertools.splitCoords.html +6 -0
  68. package/docs/docs/functions/wxlayer_loadertools.subData.html +5 -0
  69. package/docs/docs/functions/wxlayer_loadertools.subDataDegree.html +5 -0
  70. package/docs/docs/functions/wxlayer_loadertools.subMask.html +5 -0
  71. package/docs/docs/hierarchy.html +1 -0
  72. package/docs/docs/index.html +7 -0
  73. package/docs/docs/interfaces/types.IsoInfo.html +8 -0
  74. package/docs/docs/interfaces/types.SLinePoint.html +4 -0
  75. package/docs/docs/interfaces/types.WxAPIOptions.html +37 -0
  76. package/docs/docs/interfaces/types.WxAllBoundariesMeta.html +8 -0
  77. package/docs/docs/interfaces/types.WxAllDatasetsShortMetas.html +4 -0
  78. package/docs/docs/interfaces/types.WxBoundaryMeta.html +10 -0
  79. package/docs/docs/interfaces/types.WxData.html +10 -0
  80. package/docs/docs/interfaces/types.WxDataSetManagerOptions.html +14 -0
  81. package/docs/docs/interfaces/types.WxDatasetMeta.html +20 -0
  82. package/docs/docs/interfaces/types.WxDatasetShortMeta.html +9 -0
  83. package/docs/docs/interfaces/types.WxLayerAPI.html +24 -0
  84. package/docs/docs/interfaces/types.WxLayerBaseAPI.html +16 -0
  85. package/docs/docs/interfaces/types.WxLayerOptions.html +12 -0
  86. package/docs/docs/interfaces/types.WxLngLat.html +6 -0
  87. package/docs/docs/interfaces/types.WxRasterData.html +13 -0
  88. package/docs/docs/interfaces/types.WxRequestInit.html +3 -0
  89. package/docs/docs/interfaces/types.WxTileInfo.html +18 -0
  90. package/docs/docs/interfaces/types.WxVariableMeta.html +13 -0
  91. package/docs/docs/interfaces/types.WxVariablesMetas.html +4 -0
  92. package/docs/docs/interfaces/utils_RawCLUT.WxLegend.html +14 -0
  93. package/docs/docs/interfaces/utils_RawCLUT.WxTick.html +10 -0
  94. package/docs/docs/interfaces/utils_qtree.Tree.html +7 -0
  95. package/docs/docs/interfaces/utils_wxtools.CachedUriLoaderPromiseFunc.html +2 -0
  96. package/docs/docs/interfaces/utils_wxtools.ColorStylesIncomplete.html +2 -0
  97. package/docs/docs/interfaces/utils_wxtools.Converter.html +5 -0
  98. package/docs/docs/interfaces/utils_wxtools.DataPicture.html +6 -0
  99. package/docs/docs/interfaces/utils_wxtools.IntegralPare.html +6 -0
  100. package/docs/docs/interfaces/utils_wxtools.WxColorSchemes.html +3 -0
  101. package/docs/docs/interfaces/utils_wxtools.WxColorStyleStrict.html +95 -0
  102. package/docs/docs/interfaces/utils_wxtools.WxColorStyleWeak.html +95 -0
  103. package/docs/docs/interfaces/utils_wxtools.WxColorStylesStrict.html +2 -0
  104. package/docs/docs/interfaces/utils_wxtools.WxColorStylesWeakMixed.html +2 -0
  105. package/docs/docs/interfaces/utils_wxtools.WxTilesLibOptions.html +8 -0
  106. package/docs/docs/interfaces/utils_wxtools.WxUnits.html +2 -0
  107. package/docs/docs/interfaces/utils_wxtools.XYZ.html +5 -0
  108. package/docs/docs/modules/controls_WxAPIControl.html +1 -0
  109. package/docs/docs/modules/controls_WxInfoControl.html +1 -0
  110. package/docs/docs/modules/controls_WxLegendControl.html +1 -0
  111. package/docs/docs/modules/controls_WxStyleEditorControl.html +1 -0
  112. package/docs/docs/modules/controls_WxTimeControl.html +1 -0
  113. package/docs/docs/modules/defaults_colorschemes.html +1 -0
  114. package/docs/docs/modules/defaults_styles.html +1 -0
  115. package/docs/docs/modules/defaults_uconv.html +1 -0
  116. package/docs/docs/modules/managers_BaseDatasetManager.html +1 -0
  117. package/docs/docs/modules/managers_WxAllDatasetsManager.html +1 -0
  118. package/docs/docs/modules/types.html +1 -0
  119. package/docs/docs/modules/utils_RawCLUT.html +1 -0
  120. package/docs/docs/modules/utils_mercator.html +1 -0
  121. package/docs/docs/modules/utils_qtree.html +1 -0
  122. package/docs/docs/modules/utils_tests_wxtools.html +1 -0
  123. package/docs/docs/modules/utils_wxtools.html +1 -0
  124. package/docs/docs/modules/wxapi.html +1 -0
  125. package/docs/docs/modules/wxlayer_WxImplementation.html +1 -0
  126. package/docs/docs/modules/wxlayer_loader.html +1 -0
  127. package/docs/docs/modules/wxlayer_loadertools.html +1 -0
  128. package/docs/docs/modules/wxlayer_painter.html +1 -0
  129. package/docs/docs/modules/wxlayer_wxlayer.html +1 -0
  130. package/docs/docs/modules.html +1 -0
  131. package/docs/docs/types/types.ListenerMethod.html +1 -0
  132. package/docs/docs/types/types.SLine.html +2 -0
  133. package/docs/docs/types/types.WxDate.html +9 -0
  134. package/docs/docs/types/types.WxEventType.html +1 -0
  135. package/docs/docs/types/types.WxInstances.html +2 -0
  136. package/docs/docs/types/types.WxLayerVarsNames.html +2 -0
  137. package/docs/docs/types/types.WxURIs.html +2 -0
  138. package/docs/docs/types/utils_qtree.SubTrees.html +2 -0
  139. package/docs/docs/types/utils_qtree.SubTreesN.html +2 -0
  140. package/docs/docs/types/utils_qtree.TreeN.html +2 -0
  141. package/docs/docs/types/utils_wxtools.DataIntegrals.html +2 -0
  142. package/docs/docs/types/utils_wxtools.DataPictures.html +2 -0
  143. package/docs/docs/types/utils_wxtools.WxUnitTuple.html +2 -0
  144. package/docs/docs/types/utils_wxtools.colorMapTuple.html +2 -0
  145. package/docs/docs/variables/defaults_colorschemes.__colorSchemes_default_preset.html +1 -0
  146. package/docs/docs/variables/defaults_styles.__colorStyles_default_preset.html +1 -0
  147. package/docs/docs/variables/defaults_uconv.__units_default_preset.html +1 -0
  148. package/managers/BaseDatasetManager.ts +272 -0
  149. package/managers/WxAllDatasetsManager.ts +60 -0
  150. package/package.json +6 -3
  151. package/tsconfig.json +31 -0
  152. package/typedoc.json +4 -0
  153. package/types.ts +471 -0
  154. package/utils/qtree.ts +2 -1
  155. package/utils/tests_wxtools.ts +10 -10
  156. package/utils/wxtools.ts +1 -0
  157. package/wxapi.ts +222 -0
  158. package/wxlayer/WxImplementation.ts +374 -0
  159. package/wxlayer/loader.ts +305 -0
  160. package/wxlayer/loadertools.ts +380 -0
  161. package/wxlayer/painter.ts +451 -0
  162. package/wxlayer/wxlayer.ts +379 -0
@@ -0,0 +1,18 @@
1
+ <!DOCTYPE html><html class="default" lang="en" data-base=".."><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>RawCLUT | @metoceanapi/wxtiles-common</title><meta name="description" content="Documentation for @metoceanapi/wxtiles-common"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search"><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@metoceanapi/wxtiles-common</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">@metoceanapi/wxtiles-common</a></li><li><a href="../modules/utils_RawCLUT.html">utils/RawCLUT</a></li><li><a href="utils_RawCLUT.RawCLUT.html">RawCLUT</a></li></ul><h1>Class RawCLUT<code class="tsd-tag">Internal</code></h1></div><section class="tsd-panel tsd-comment"><div class="tsd-comment tsd-typography"><p>Class contains information about the color style and the legend
2
+ Based on the idea of CLUT (Color Look Up Table) to fill tiles with colors from the style</p>
3
+ </div><div class="tsd-comment tsd-typography"></div></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/b815568b9334ab8c2405ae085c09aad12678ca1b/utils/RawCLUT.ts#L43">utils/RawCLUT.ts:43</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex="0"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-chevronSmall"></use></svg> Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Constructors</h3><div class="tsd-index-list"><a href="utils_RawCLUT.RawCLUT.html#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a>
4
+ </div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="utils_RawCLUT.RawCLUT.html#colorsi" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>colorsI</span></a>
5
+ <a href="utils_RawCLUT.RawCLUT.html#datatoknots" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>Data<wbr/>To<wbr/>Knots?</span></a>
6
+ <a href="utils_RawCLUT.RawCLUT.html#datatostyle" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>Data<wbr/>To<wbr/>Style</span></a>
7
+ <a href="utils_RawCLUT.RawCLUT.html#levelindex" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>level<wbr/>Index</span></a>
8
+ <a href="utils_RawCLUT.RawCLUT.html#ticks" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>ticks</span></a>
9
+ </div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Constructors</h2></summary><section><section class="tsd-panel tsd-member"><a id="constructor" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="constructorrawclut" class="tsd-anchor"></a><span class="tsd-signature-keyword">new</span> <span class="tsd-kind-constructor-signature">RawCLUT</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">style</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/utils_wxtools.WxColorStyleStrict.html" class="tsd-signature-type tsd-kind-interface">WxColorStyleStrict</a><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">dUnits</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">minmax</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">vector</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <a href="utils_RawCLUT.RawCLUT.html" class="tsd-signature-type tsd-kind-class">RawCLUT</a><a href="#constructorrawclut" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">style</span>: <a href="../interfaces/utils_wxtools.WxColorStyleStrict.html" class="tsd-signature-type tsd-kind-interface">WxColorStyleStrict</a></span><div class="tsd-comment tsd-typography"><p>the color style</p>
10
+ </div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">dUnits</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>the units of the data</p>
11
+ </div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">minmax</span>: <span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">]</span></span><div class="tsd-comment tsd-typography"><p>the array of minimum and maximum data values</p>
12
+ </div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">vector</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>if true, the style is for vector data</p>
13
+ </div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="utils_RawCLUT.RawCLUT.html" class="tsd-signature-type tsd-kind-class">RawCLUT</a></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/b815568b9334ab8c2405ae085c09aad12678ca1b/utils/RawCLUT.ts#L61">utils/RawCLUT.ts:61</a></li></ul></aside></li></ul></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Properties</h2></summary><section><section class="tsd-panel tsd-member"><a id="colorsi" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>colorsI</span><a href="#colorsi" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">colorsI</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Uint32Array</span></div><div class="tsd-comment tsd-typography"><p>An array that converts data value to color in U32 representation</p>
14
+ </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/b815568b9334ab8c2405ae085c09aad12678ca1b/utils/RawCLUT.ts#L47">utils/RawCLUT.ts:47</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="datatoknots" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>Data<wbr/>To<wbr/>Knots</span><a href="#datatoknots" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">DataToKnots</span><span class="tsd-signature-symbol">?:</span> <a href="../interfaces/utils_wxtools.Converter.html" class="tsd-signature-type tsd-kind-interface">Converter</a></div><div class="tsd-comment tsd-typography"><p>convert data value to knots. Useful for styles for vector data to get the direction of the vector</p>
15
+ </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/b815568b9334ab8c2405ae085c09aad12678ca1b/utils/RawCLUT.ts#L51">utils/RawCLUT.ts:51</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="datatostyle" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>Data<wbr/>To<wbr/>Style</span><a href="#datatostyle" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">DataToStyle</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/utils_wxtools.Converter.html" class="tsd-signature-type tsd-kind-interface">Converter</a></div><div class="tsd-comment tsd-typography"><p>convert data value to style value</p>
16
+ </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/b815568b9334ab8c2405ae085c09aad12678ca1b/utils/RawCLUT.ts#L49">utils/RawCLUT.ts:49</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="levelindex" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>level<wbr/>Index</span><a href="#levelindex" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">levelIndex</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Uint32Array</span></div><div class="tsd-comment tsd-typography"><p>An array that converts a data value to a level index.</p>
17
+ </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/b815568b9334ab8c2405ae085c09aad12678ca1b/utils/RawCLUT.ts#L45">utils/RawCLUT.ts:45</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="ticks" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>ticks</span><a href="#ticks" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">ticks</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/utils_RawCLUT.WxTick.html" class="tsd-signature-type tsd-kind-interface">WxTick</a><span class="tsd-signature-symbol">[]</span></div><div class="tsd-comment tsd-typography"><p>data values of the legend</p>
18
+ </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/b815568b9334ab8c2405ae085c09aad12678ca1b/utils/RawCLUT.ts#L53">utils/RawCLUT.ts:53</a></li></ul></aside></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>On This Page</h3></summary><div class="tsd-accordion-details"><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Constructors</summary><div><a href="#constructor" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Properties</summary><div><a href="#colorsi" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>colorsI</span></a><a href="#datatoknots" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>Data<wbr/>To<wbr/>Knots</span></a><a href="#datatostyle" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>Data<wbr/>To<wbr/>Style</span></a><a href="#levelindex" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>level<wbr/>Index</span></a><a href="#ticks" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>ticks</span></a></div></details></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">@metoceanapi/wxtiles-common</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
@@ -0,0 +1,22 @@
1
+ <!DOCTYPE html><html class="default" lang="en" data-base=".."><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>QTree | @metoceanapi/wxtiles-common</title><meta name="description" content="Documentation for @metoceanapi/wxtiles-common"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search"><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@metoceanapi/wxtiles-common</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">@metoceanapi/wxtiles-common</a></li><li><a href="../modules/utils_qtree.html">utils/qtree</a></li><li><a href="utils_qtree.QTree.html">QTree</a></li></ul><h1>Class QTree</h1></div><section class="tsd-panel tsd-comment"><div class="tsd-comment tsd-typography"><p>class QTree utilizes quad-tree structure to get the type of the tile at the given coord</p>
2
+ </div><div class="tsd-comment tsd-typography"></div></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/b815568b9334ab8c2405ae085c09aad12678ca1b/utils/qtree.ts#L52">utils/qtree.ts:52</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex="0"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-chevronSmall"></use></svg> Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Constructors</h3><div class="tsd-index-list"><a href="utils_qtree.QTree.html#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a>
3
+ </div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="utils_qtree.QTree.html#_qtree" class="tsd-index-link tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>_qtree</span></a>
4
+ <a href="utils_qtree.QTree.html#_qtreedepth" class="tsd-index-link tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>_qtreedepth</span></a>
5
+ <a href="utils_qtree.QTree.html#_ready" class="tsd-index-link tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>_ready</span></a>
6
+ </div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Accessors</h3><div class="tsd-index-list"><a href="utils_qtree.QTree.html#ready" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>ready</span></a>
7
+ </div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Methods</h3><div class="tsd-index-list"><a href="utils_qtree.QTree.html#_load" class="tsd-index-link tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>_load</span></a>
8
+ <a href="utils_qtree.QTree.html#check" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>check</span></a>
9
+ </div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Constructors</h2></summary><section><section class="tsd-panel tsd-member"><a id="constructor" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="constructorqtree" class="tsd-anchor"></a><span class="tsd-signature-keyword">new</span> <span class="tsd-kind-constructor-signature">QTree</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">input</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">RequestInfo</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">requestInit</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">RequestInit</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <a href="utils_qtree.QTree.html" class="tsd-signature-type tsd-kind-class">QTree</a><a href="#constructorqtree" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Class constructor for QTree.</p>
10
+ </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">input</span>: <span class="tsd-signature-type">RequestInfo</span></span><div class="tsd-comment tsd-typography"><p>The request info (e.g. URI) to load the QTree.</p>
11
+ </div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">requestInit</span>: <span class="tsd-signature-type">RequestInit</span></span><div class="tsd-comment tsd-typography"><p>The request initialization for loading the QTree. Includes properties such as method, headers, body, etc.</p>
12
+ </div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="utils_qtree.QTree.html" class="tsd-signature-type tsd-kind-class">QTree</a></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/b815568b9334ab8c2405ae085c09aad12678ca1b/utils/qtree.ts#L63">utils/qtree.ts:63</a></li></ul></aside></li></ul></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Properties</h2></summary><section><section class="tsd-panel tsd-member tsd-is-protected"><a id="_qtree" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Protected</code><span>_qtree</span><a href="#_qtree" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">_qtree</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/utils_qtree.Tree.html" class="tsd-signature-type tsd-kind-interface">Tree</a><span class="tsd-signature-symbol"> = {}</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/b815568b9334ab8c2405ae085c09aad12678ca1b/utils/qtree.ts#L53">utils/qtree.ts:53</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected"><a id="_qtreedepth" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Protected</code><span>_qtreedepth</span><a href="#_qtreedepth" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">_qtreedepth</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/b815568b9334ab8c2405ae085c09aad12678ca1b/utils/qtree.ts#L54">utils/qtree.ts:54</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected"><a id="_ready" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Protected</code><span>_ready</span><a href="#_ready" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">_ready</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/b815568b9334ab8c2405ae085c09aad12678ca1b/utils/qtree.ts#L55">utils/qtree.ts:55</a></li></ul></aside></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Accessors"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Accessors</h2></summary><section><section class="tsd-panel tsd-member"><a id="ready" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>ready</span><a href="#ready" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature" id="ready-1"><span class="tsd-signature-keyword">get</span> <span class="tsd-kind-get-signature">ready</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>A getter that returns a Promise that resolves when the QTree is ready to be used.</p>
13
+ </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><p>A Promise that resolves when the QTree is ready to be used.</p>
14
+ <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/b815568b9334ab8c2405ae085c09aad12678ca1b/utils/qtree.ts#L72">utils/qtree.ts:72</a></li></ul></aside></li></ul></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Methods"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Methods</h2></summary><section><section class="tsd-panel tsd-member tsd-is-protected"><a id="_load" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Protected</code><span>_load</span><a href="#_load" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-protected"><li class="tsd-signature tsd-anchor-link"><a id="_load-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">_load</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">input</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">RequestInfo</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">requestInit</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">RequestInit</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#_load-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Loads the QTree from the specified input and request initialization.</p>
15
+ </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">input</span>: <span class="tsd-signature-type">RequestInfo</span></span><div class="tsd-comment tsd-typography"><p>The request info (e.g. URI) to load the QTree.</p>
16
+ </div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">requestInit</span>: <span class="tsd-signature-type">RequestInit</span></span><div class="tsd-comment tsd-typography"><p>The request initialization for loading the QTree. Includes properties such as method, headers, body, etc.</p>
17
+ </div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><p>A Promise that resolves when the QTree is loaded.</p>
18
+ <div class="tsd-comment tsd-typography"><div class="tsd-tag-async"><h4 class="tsd-anchor-link"><a id="async" class="tsd-anchor"></a>Async<a href="#async" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4></div><div class="tsd-tag-throws"><h4 class="tsd-anchor-link"><a id="throws" class="tsd-anchor"></a>Throws<a href="#throws" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>If the QTree fails to load.</p>
19
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/b815568b9334ab8c2405ae085c09aad12678ca1b/utils/qtree.ts#L84">utils/qtree.ts:84</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="check" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>check</span><a href="#check" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="check-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">check</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">coord</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/utils_wxtools.XYZ.html" class="tsd-signature-type tsd-kind-interface">XYZ</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <a href="../enums/utils_qtree.TileType.html" class="tsd-signature-type tsd-kind-enum">TileType</a><a href="#check-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Returns the type of the tile at the given coordinates.</p>
20
+ </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">coord</span>: <a href="../interfaces/utils_wxtools.XYZ.html" class="tsd-signature-type tsd-kind-interface">XYZ</a></span><div class="tsd-comment tsd-typography"><p>The coordinates of the tile to check.</p>
21
+ </div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="../enums/utils_qtree.TileType.html" class="tsd-signature-type tsd-kind-enum">TileType</a></h4><p>The type of the tile at the given coordinates.</p>
22
+ <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/b815568b9334ab8c2405ae085c09aad12678ca1b/utils/qtree.ts#L105">utils/qtree.ts:105</a></li></ul></aside></li></ul></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>On This Page</h3></summary><div class="tsd-accordion-details"><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Constructors</summary><div><a href="#constructor" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Properties</summary><div><a href="#_qtree" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>_qtree</span></a><a href="#_qtreedepth" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>_qtreedepth</span></a><a href="#_ready" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>_ready</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Accessors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Accessors</summary><div><a href="#ready" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>ready</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Methods"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Methods</summary><div><a href="#_load" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>_load</span></a><a href="#check" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>check</span></a></div></details></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">@metoceanapi/wxtiles-common</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
@@ -0,0 +1,10 @@
1
+ <!DOCTYPE html><html class="default" lang="en" data-base=".."><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>DataIntegral | @metoceanapi/wxtiles-common</title><meta name="description" content="Documentation for @metoceanapi/wxtiles-common"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search"><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@metoceanapi/wxtiles-common</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">@metoceanapi/wxtiles-common</a></li><li><a href="../modules/utils_wxtools.html">utils/wxtools</a></li><li><a href="utils_wxtools.DataIntegral.html">DataIntegral</a></li></ul><h1>Class DataIntegral</h1></div><section class="tsd-panel tsd-comment"><div class="tsd-comment tsd-typography"><p>class implements <a href="../types/utils_wxtools.DataPictures.html" class="tsd-kind-type-alias">DataPictures</a> with lazy calculation of <a href="../interfaces/utils_wxtools.IntegralPare.html" class="tsd-kind-interface">IntegralPare</a> for fast box blur algorithm</p>
2
+ </div><div class="tsd-comment tsd-typography"></div></section><section class="tsd-panel"><h4>Implements</h4><ul class="tsd-hierarchy"><li><a href="../interfaces/utils_wxtools.DataPicture.html" class="tsd-signature-type tsd-kind-interface">DataPicture</a></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/b815568b9334ab8c2405ae085c09aad12678ca1b/utils/wxtools.ts#L469">utils/wxtools.ts:469</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex="0"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-chevronSmall"></use></svg> Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Constructors</h3><div class="tsd-index-list"><a href="utils_wxtools.DataIntegral.html#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a>
3
+ </div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="utils_wxtools.DataIntegral.html#dmax" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>dmax</span></a>
4
+ <a href="utils_wxtools.DataIntegral.html#dmin" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>dmin</span></a>
5
+ <a href="utils_wxtools.DataIntegral.html#dmul" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>dmul</span></a>
6
+ <a href="utils_wxtools.DataIntegral.html#integral_" class="tsd-index-link tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>integral_?</span></a>
7
+ <a href="utils_wxtools.DataIntegral.html#radius" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>radius</span></a>
8
+ <a href="utils_wxtools.DataIntegral.html#raw" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>raw</span></a>
9
+ </div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Accessors</h3><div class="tsd-index-list"><a href="utils_wxtools.DataIntegral.html#integral" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>integral</span></a>
10
+ </div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Constructors</h2></summary><section><section class="tsd-panel tsd-member"><a id="constructor" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="constructordataintegral" class="tsd-anchor"></a><span class="tsd-signature-keyword">new</span> <span class="tsd-kind-constructor-signature">DataIntegral</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">raw</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Uint16Array</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">dmin</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">dmax</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">dmul</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <a href="utils_wxtools.DataIntegral.html" class="tsd-signature-type tsd-kind-class">DataIntegral</a><a href="#constructordataintegral" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">raw</span>: <span class="tsd-signature-type">Uint16Array</span></span></li><li><span><span class="tsd-kind-parameter">dmin</span>: <span class="tsd-signature-type">number</span></span></li><li><span><span class="tsd-kind-parameter">dmax</span>: <span class="tsd-signature-type">number</span></span></li><li><span><span class="tsd-kind-parameter">dmul</span>: <span class="tsd-signature-type">number</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="utils_wxtools.DataIntegral.html" class="tsd-signature-type tsd-kind-class">DataIntegral</a></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/b815568b9334ab8c2405ae085c09aad12678ca1b/utils/wxtools.ts#L472">utils/wxtools.ts:472</a></li></ul></aside></li></ul></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Properties</h2></summary><section><section class="tsd-panel tsd-member"><a id="dmax" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>dmax</span><a href="#dmax" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">dmax</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/utils_wxtools.DataPicture.html">DataPicture</a>.<a href="../interfaces/utils_wxtools.DataPicture.html#dmax">dmax</a></p><ul><li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/b815568b9334ab8c2405ae085c09aad12678ca1b/utils/wxtools.ts#L475">utils/wxtools.ts:475</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="dmin" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>dmin</span><a href="#dmin" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">dmin</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/utils_wxtools.DataPicture.html">DataPicture</a>.<a href="../interfaces/utils_wxtools.DataPicture.html#dmin">dmin</a></p><ul><li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/b815568b9334ab8c2405ae085c09aad12678ca1b/utils/wxtools.ts#L474">utils/wxtools.ts:474</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="dmul" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>dmul</span><a href="#dmul" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">dmul</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/utils_wxtools.DataPicture.html">DataPicture</a>.<a href="../interfaces/utils_wxtools.DataPicture.html#dmul">dmul</a></p><ul><li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/b815568b9334ab8c2405ae085c09aad12678ca1b/utils/wxtools.ts#L476">utils/wxtools.ts:476</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected"><a id="integral_" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Protected</code> <code class="tsd-tag">Optional</code><span>integral_</span><a href="#integral_" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">integral_</span><span class="tsd-signature-symbol">?:</span> <a href="../interfaces/utils_wxtools.IntegralPare.html" class="tsd-signature-type tsd-kind-interface">IntegralPare</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/b815568b9334ab8c2405ae085c09aad12678ca1b/utils/wxtools.ts#L470">utils/wxtools.ts:470</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="radius" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>radius</span><a href="#radius" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">radius</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/b815568b9334ab8c2405ae085c09aad12678ca1b/utils/wxtools.ts#L471">utils/wxtools.ts:471</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="raw" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>raw</span><a href="#raw" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">raw</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Uint16Array</span></div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/utils_wxtools.DataPicture.html">DataPicture</a>.<a href="../interfaces/utils_wxtools.DataPicture.html#raw">raw</a></p><ul><li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/b815568b9334ab8c2405ae085c09aad12678ca1b/utils/wxtools.ts#L473">utils/wxtools.ts:473</a></li></ul></aside></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Accessors"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Accessors</h2></summary><section><section class="tsd-panel tsd-member"><a id="integral" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>integral</span><a href="#integral" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature" id="integral-1"><span class="tsd-signature-keyword">get</span> <span class="tsd-kind-get-signature">integral</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/utils_wxtools.IntegralPare.html" class="tsd-signature-type tsd-kind-interface">IntegralPare</a></li><li class="tsd-description"><h4 class="tsd-returns-title">Returns <a href="../interfaces/utils_wxtools.IntegralPare.html" class="tsd-signature-type tsd-kind-interface">IntegralPare</a></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/b815568b9334ab8c2405ae085c09aad12678ca1b/utils/wxtools.ts#L478">utils/wxtools.ts:478</a></li></ul></aside></li></ul></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>On This Page</h3></summary><div class="tsd-accordion-details"><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Constructors</summary><div><a href="#constructor" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Properties</summary><div><a href="#dmax" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>dmax</span></a><a href="#dmin" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>dmin</span></a><a href="#dmul" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>dmul</span></a><a href="#integral_" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>integral_</span></a><a href="#radius" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>radius</span></a><a href="#raw" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>raw</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Accessors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Accessors</summary><div><a href="#integral" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>integral</span></a></div></details></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">@metoceanapi/wxtiles-common</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
@@ -0,0 +1,45 @@
1
+ <!DOCTYPE html><html class="default" lang="en" data-base=".."><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>WxAPI | @metoceanapi/wxtiles-common</title><meta name="description" content="Documentation for @metoceanapi/wxtiles-common"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search"><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@metoceanapi/wxtiles-common</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">@metoceanapi/wxtiles-common</a></li><li><a href="../modules/wxapi.html">wxapi</a></li><li><a href="wxapi.WxAPI.html">WxAPI</a></li></ul><h1>Class WxAPI<code class="tsd-tag">Abstract</code></h1></div><section class="tsd-panel tsd-comment"><div class="tsd-comment tsd-typography"><p>WxAPI is an initialisation object for the library. See <a href="../interfaces/types.WxAPIOptions.html" class="tsd-kind-interface">WxAPIOptions</a> for options.</p>
2
+ </div><div class="tsd-comment tsd-typography"><div class="tsd-tag-example"><h4 class="tsd-anchor-link"><a id="example" class="tsd-anchor"></a>Example<a href="#example" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="typescript"><span class="hl-6">import</span><span class="hl-1"> { </span><span class="hl-5">WxAPI</span><span class="hl-1"> } </span><span class="hl-6">from</span><span class="hl-1"> </span><span class="hl-2">&#39;wx-tiles&#39;</span><span class="hl-1">;</span><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-4">wxapi</span><span class="hl-1"> = </span><span class="hl-3">new</span><span class="hl-1"> </span><span class="hl-0">WxAPI</span><span class="hl-1">({</span><br/><span class="hl-1"> </span><span class="hl-5">dataServerURL:</span><span class="hl-1"> </span><span class="hl-2">&#39;https://server.com/&#39;</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-7">// other options</span><br/><span class="hl-1">});</span>
3
+ </code><button type="button">Copy</button></pre>
4
+
5
+ </div></div></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/b815568b9334ab8c2405ae085c09aad12678ca1b/wxapi.ts#L28">wxapi.ts:28</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex="0"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-chevronSmall"></use></svg> Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Constructors</h3><div class="tsd-index-list"><a href="wxapi.WxAPI.html#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a>
6
+ </div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="wxapi.WxAPI.html#dataserverurl" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>data<wbr/>ServerURL</span></a>
7
+ <a href="wxapi.WxAPI.html#ext" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>ext</span></a>
8
+ <a href="wxapi.WxAPI.html#initdone" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>init<wbr/>Done</span></a>
9
+ <a href="wxapi.WxAPI.html#loadmaskfunc" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>load<wbr/>Mask<wbr/>Func</span></a>
10
+ <a href="wxapi.WxAPI.html#maskchannel" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>mask<wbr/>Channel</span></a>
11
+ <a href="wxapi.WxAPI.html#maskdepth" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>mask<wbr/>Depth</span></a>
12
+ <a href="wxapi.WxAPI.html#maskurl" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>maskURL</span></a>
13
+ <a href="wxapi.WxAPI.html#qtree" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>qtree</span></a>
14
+ <a href="wxapi.WxAPI.html#requestinit" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>request<wbr/>Init?</span></a>
15
+ </div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Methods</h3><div class="tsd-index-list"><a href="wxapi.WxAPI.html#createdatasetmanageroptions" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>create<wbr/>Dataset<wbr/>Manager<wbr/>Options</span></a>
16
+ <a href="wxapi.WxAPI.html#filterdatasetsbyvariablename" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>filter<wbr/>Datasets<wbr/>By<wbr/>Variable<wbr/>Name</span></a>
17
+ <a href="wxapi.WxAPI.html#getalldatasetsnames" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>All<wbr/>Datasets<wbr/>Names</span></a>
18
+ <a href="wxapi.WxAPI.html#getdatasetallvariables" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Dataset<wbr/>All<wbr/>Variables</span></a>
19
+ </div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Constructors</h2></summary><section><section class="tsd-panel tsd-member"><a id="constructor" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="constructorwxapi" class="tsd-anchor"></a><span class="tsd-signature-keyword">new</span> <span class="tsd-kind-constructor-signature">WxAPI</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">options</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/types.WxAPIOptions.html" class="tsd-signature-type tsd-kind-interface">WxAPIOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <a href="wxapi.WxAPI.html" class="tsd-signature-type tsd-kind-class">WxAPI</a><a href="#constructorwxapi" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Initializes a new instance of the <a href="wxapi.WxAPI.html" class="tsd-kind-class">WxAPI</a> class.</p>
20
+ </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">options</span>: <a href="../interfaces/types.WxAPIOptions.html" class="tsd-signature-type tsd-kind-interface">WxAPIOptions</a></span><div class="tsd-comment tsd-typography"><p>Configuration options for the WxAPI instance. See <a href="../interfaces/types.WxAPIOptions.html" class="tsd-kind-interface">WxAPIOptions</a>.</p>
21
+ </div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="wxapi.WxAPI.html" class="tsd-signature-type tsd-kind-class">WxAPI</a></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/b815568b9334ab8c2405ae085c09aad12678ca1b/wxapi.ts#L80">wxapi.ts:80</a></li></ul></aside></li></ul></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Properties</h2></summary><section><section class="tsd-panel tsd-member"><a id="dataserverurl" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Readonly</code><span>data<wbr/>ServerURL</span><a href="#dataserverurl" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">dataServerURL</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><div class="tsd-comment tsd-typography"><p>The URL of the data server. See <a href="../interfaces/types.WxAPIOptions.html" class="tsd-kind-interface">WxAPIOptions</a> for configuration details.</p>
22
+ </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/b815568b9334ab8c2405ae085c09aad12678ca1b/wxapi.ts#L35">wxapi.ts:35</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="ext" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Readonly</code><span>ext</span><a href="#ext" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">ext</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><div class="tsd-comment tsd-typography"><p>see <a href="../interfaces/types.WxAPIOptions.html" class="tsd-kind-interface">WxAPIOptions</a></p>
23
+ </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/b815568b9334ab8c2405ae085c09aad12678ca1b/wxapi.ts#L38">wxapi.ts:38</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="initdone" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Readonly</code><span>init<wbr/>Done</span><a href="#initdone" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">initDone</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></div><div class="tsd-comment tsd-typography"><p>A Promise that resolves when the <a href="wxapi.WxAPI.html" class="tsd-kind-class">WxAPI</a> instance is fully initialized and ready to be used.</p>
24
+ </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/b815568b9334ab8c2405ae085c09aad12678ca1b/wxapi.ts#L32">wxapi.ts:32</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="loadmaskfunc" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Readonly</code> <code class="tsd-tag">Internal</code><span>load<wbr/>Mask<wbr/>Func</span><a href="#loadmaskfunc" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">loadMaskFunc</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">__namedParameters</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/utils_wxtools.XYZ.html" class="tsd-signature-type tsd-kind-interface">XYZ</a><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ImageData</span><span class="tsd-signature-symbol">&gt;</span></div><div class="tsd-comment tsd-typography"><p>A function that loads mask tiles asynchronously.</p>
25
+ </div><div class="tsd-type-declaration"><h4>Type declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures"><li class="tsd-signature"><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">__namedParameters</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/utils_wxtools.XYZ.html" class="tsd-signature-type tsd-kind-interface">XYZ</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ImageData</span><span class="tsd-signature-symbol">&gt;</span></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">__namedParameters</span>: <a href="../interfaces/utils_wxtools.XYZ.html" class="tsd-signature-type tsd-kind-interface">XYZ</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ImageData</span><span class="tsd-signature-symbol">&gt;</span></h4><p>A Promise that resolves to the <a href="undefined">ImageData</a> of the tile.</p>
26
+ <div class="tsd-comment tsd-typography"></div></li></ul></li></ul></div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/b815568b9334ab8c2405ae085c09aad12678ca1b/wxapi.ts#L67">wxapi.ts:67</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="maskchannel" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Readonly</code> <code class="tsd-tag">Internal</code><span>mask<wbr/>Channel</span><a href="#maskchannel" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">maskChannel</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>The channel used for mask tiles. See <a href="../interfaces/types.WxAPIOptions.html" class="tsd-kind-interface">WxAPIOptions</a> for details.</p>
27
+ </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/b815568b9334ab8c2405ae085c09aad12678ca1b/wxapi.ts#L51">wxapi.ts:51</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="maskdepth" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Readonly</code> <code class="tsd-tag">Internal</code><span>mask<wbr/>Depth</span><a href="#maskdepth" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">maskDepth</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>The depth level used for mask tiles. See <a href="../interfaces/types.WxAPIOptions.html" class="tsd-kind-interface">WxAPIOptions</a> for more information.</p>
28
+ </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/b815568b9334ab8c2405ae085c09aad12678ca1b/wxapi.ts#L54">wxapi.ts:54</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="maskurl" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Readonly</code><span>maskURL</span><a href="#maskurl" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">maskURL</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><div class="tsd-comment tsd-typography"><p>The URL for the mask tiles. See <a href="../interfaces/types.WxAPIOptions.html" class="tsd-kind-interface">WxAPIOptions</a> for more information.</p>
29
+ </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/b815568b9334ab8c2405ae085c09aad12678ca1b/wxapi.ts#L48">wxapi.ts:48</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="qtree" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Readonly</code> <code class="tsd-tag">Internal</code><span>qtree</span><a href="#qtree" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">qtree</span><span class="tsd-signature-symbol">:</span> <a href="utils_qtree.QTree.html" class="tsd-signature-type tsd-kind-class">QTree</a></div><div class="tsd-comment tsd-typography"><p>An instance of the QTree object, used internally for spatial indexing.</p>
30
+ </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/b815568b9334ab8c2405ae085c09aad12678ca1b/wxapi.ts#L57">wxapi.ts:57</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="requestinit" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code> <code class="tsd-tag">Readonly</code><span>request<wbr/>Init</span><a href="#requestinit" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">requestInit</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">RequestInit</span></div><div class="tsd-comment tsd-typography"><p>Optional configuration for HTTP requests. See <a href="../interfaces/types.WxAPIOptions.html" class="tsd-kind-interface">WxAPIOptions</a> for details.</p>
31
+ </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/b815568b9334ab8c2405ae085c09aad12678ca1b/wxapi.ts#L41">wxapi.ts:41</a></li></ul></aside></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Methods"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Methods</h2></summary><section><section class="tsd-panel tsd-member"><a id="createdatasetmanageroptions" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>create<wbr/>Dataset<wbr/>Manager<wbr/>Options</span><a href="#createdatasetmanageroptions" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="createdatasetmanageroptions-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">createDatasetManagerOptions</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">datasetName</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/types.WxDataSetManagerOptions.html" class="tsd-signature-type tsd-kind-interface">WxDataSetManagerOptions</a><span class="tsd-signature-symbol">&gt;</span><a href="#createdatasetmanageroptions-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">datasetName</span>: <span class="tsd-signature-type">string</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/types.WxDataSetManagerOptions.html" class="tsd-signature-type tsd-kind-interface">WxDataSetManagerOptions</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/b815568b9334ab8c2405ae085c09aad12678ca1b/wxapi.ts#L134">wxapi.ts:134</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="filterdatasetsbyvariablename" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>filter<wbr/>Datasets<wbr/>By<wbr/>Variable<wbr/>Name</span><a href="#filterdatasetsbyvariablename" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="filterdatasetsbyvariablename-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">filterDatasetsByVariableName</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">varName</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><a href="#filterdatasetsbyvariablename-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Returns datasets names which have given variable</p>
32
+ </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">varName</span>: <span class="tsd-signature-type">string</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></h4><ul>
33
+ <li>list of datasets' names</li>
34
+ </ul>
35
+ <div class="tsd-comment tsd-typography"><div class="tsd-tag-argument"><h4 class="tsd-anchor-link"><a id="argument" class="tsd-anchor"></a>Argument<a href="#argument" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>varName - variable name to search for in datasets</p>
36
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/b815568b9334ab8c2405ae085c09aad12678ca1b/wxapi.ts#L205">wxapi.ts:205</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="getalldatasetsnames" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>All<wbr/>Datasets<wbr/>Names</span><a href="#getalldatasetsnames" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="getalldatasetsnames-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">getAllDatasetsNames</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><a href="#getalldatasetsnames-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get the list of all available datasets' names</p>
37
+ </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></h4><ul>
38
+ <li>list of all available datasets' names</li>
39
+ </ul>
40
+ <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/b815568b9334ab8c2405ae085c09aad12678ca1b/wxapi.ts#L218">wxapi.ts:218</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="getdatasetallvariables" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Dataset<wbr/>All<wbr/>Variables</span><a href="#getdatasetallvariables" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="getdatasetallvariables-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">getDatasetAllVariables</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">datasetName</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">undefined</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><a href="#getdatasetallvariables-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get all variables for the given dataset name.</p>
41
+ </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">datasetName</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>dataset name</p>
42
+ </div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">undefined</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></h4><ul>
43
+ <li>list of all available variables for the dataset</li>
44
+ </ul>
45
+ <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/b815568b9334ab8c2405ae085c09aad12678ca1b/wxapi.ts#L192">wxapi.ts:192</a></li></ul></aside></li></ul></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>On This Page</h3></summary><div class="tsd-accordion-details"><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Constructors</summary><div><a href="#constructor" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Properties</summary><div><a href="#dataserverurl" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>data<wbr/>ServerURL</span></a><a href="#ext" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>ext</span></a><a href="#initdone" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>init<wbr/>Done</span></a><a href="#loadmaskfunc" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>load<wbr/>Mask<wbr/>Func</span></a><a href="#maskchannel" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>mask<wbr/>Channel</span></a><a href="#maskdepth" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>mask<wbr/>Depth</span></a><a href="#maskurl" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>maskURL</span></a><a href="#qtree" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>qtree</span></a><a href="#requestinit" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>request<wbr/>Init</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Methods"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Methods</summary><div><a href="#createdatasetmanageroptions" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>create<wbr/>Dataset<wbr/>Manager<wbr/>Options</span></a><a href="#filterdatasetsbyvariablename" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>filter<wbr/>Datasets<wbr/>By<wbr/>Variable<wbr/>Name</span></a><a href="#getalldatasetsnames" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>All<wbr/>Datasets<wbr/>Names</span></a><a href="#getdatasetallvariables" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Dataset<wbr/>All<wbr/>Variables</span></a></div></details></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">@metoceanapi/wxtiles-common</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
@@ -0,0 +1,31 @@
1
+ <!DOCTYPE html><html class="default" lang="en" data-base=".."><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Loader | @metoceanapi/wxtiles-common</title><meta name="description" content="Documentation for @metoceanapi/wxtiles-common"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search"><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@metoceanapi/wxtiles-common</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">@metoceanapi/wxtiles-common</a></li><li><a href="../modules/wxlayer_loader.html">wxlayer/loader</a></li><li><a href="wxlayer_loader.Loader.html">Loader</a></li></ul><h1>Class Loader&lt;WxDatasetManagerT&gt;</h1></div><section class="tsd-panel tsd-comment"><div class="tsd-comment tsd-typography"><p>Class to load and preprocess data from PNG tiles.
2
+ This class is used internally by <a href="wxlayer_wxlayer.WxLayer.html" class="tsd-kind-class">WxLayer</a>.
3
+ Direct usage is not recommended.</p>
4
+ </div><div class="tsd-comment tsd-typography"></div></section> <section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="wxdatasetmanagert" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">WxDatasetManagerT</span><span class="tsd-signature-keyword"> extends </span><a href="managers_BaseDatasetManager.BaseDatasetManager.html" class="tsd-signature-type tsd-kind-class">BaseDatasetManager</a></span></li></ul></section> <aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/b815568b9334ab8c2405ae085c09aad12678ca1b/wxlayer/loader.ts#L31">wxlayer/loader.ts:31</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex="0"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-chevronSmall"></use></svg> Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Constructors</h3><div class="tsd-index-list"><a href="wxlayer_loader.Loader.html#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a>
5
+ </div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="wxlayer_loader.Loader.html#_layer" class="tsd-index-link tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>_layer</span></a>
6
+ <a href="wxlayer_loader.Loader.html#_loaddatafunc" class="tsd-index-link tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>_load<wbr/>Data<wbr/>Func</span></a>
7
+ </div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Methods</h3><div class="tsd-index-list"><a href="wxlayer_loader.Loader.html#_applymask" class="tsd-index-link tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>_apply<wbr/>Mask</span></a>
8
+ <a href="wxlayer_loader.Loader.html#cacheload" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>cache<wbr/>Load</span></a>
9
+ <a href="wxlayer_loader.Loader.html#clearcache" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>clear<wbr/>Cache</span></a>
10
+ <a href="wxlayer_loader.Loader.html#load" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>load</span></a>
11
+ </div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Constructors</h2></summary><section><section class="tsd-panel tsd-member"><a id="constructor" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="constructorloader" class="tsd-anchor"></a><span class="tsd-signature-keyword">new</span> <span class="tsd-kind-constructor-signature">Loader</span><span class="tsd-signature-symbol">&lt;</span><a class="tsd-signature-type tsd-kind-type-parameter" href="wxlayer_loader.Loader.html#constructorloaderwxdatasetmanagert">WxDatasetManagerT</a> <span class="tsd-signature-keyword">extends</span> <a href="managers_BaseDatasetManager.BaseDatasetManager.html" class="tsd-signature-type tsd-kind-class">BaseDatasetManager</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">layer</span><span class="tsd-signature-symbol">:</span> <a href="wxlayer_wxlayer.WxLayer.html" class="tsd-signature-type tsd-kind-class">WxLayer</a><span class="tsd-signature-symbol">&lt;</span><a class="tsd-signature-type tsd-kind-type-parameter" href="wxlayer_loader.Loader.html#constructorloaderwxdatasetmanagert">WxDatasetManagerT</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <a href="wxlayer_loader.Loader.html" class="tsd-signature-type tsd-kind-class">Loader</a><span class="tsd-signature-symbol">&lt;</span><a class="tsd-signature-type tsd-kind-type-parameter" href="wxlayer_loader.Loader.html#constructorloaderwxdatasetmanagert">WxDatasetManagerT</a><span class="tsd-signature-symbol">&gt;</span><a href="#constructorloader" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Constructor - Do not use directly.
12
+ Use WxLayer methods to manage this loader.</p>
13
+ </div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="constructorloaderwxdatasetmanagert" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">WxDatasetManagerT</span><span class="tsd-signature-keyword"> extends </span><a href="managers_BaseDatasetManager.BaseDatasetManager.html" class="tsd-signature-type tsd-kind-class">BaseDatasetManager</a></span></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">layer</span>: <a href="wxlayer_wxlayer.WxLayer.html" class="tsd-signature-type tsd-kind-class">WxLayer</a><span class="tsd-signature-symbol">&lt;</span><a class="tsd-signature-type tsd-kind-type-parameter" href="wxlayer_loader.Loader.html#constructorloaderwxdatasetmanagert">WxDatasetManagerT</a><span class="tsd-signature-symbol">&gt;</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="wxlayer_loader.Loader.html" class="tsd-signature-type tsd-kind-class">Loader</a><span class="tsd-signature-symbol">&lt;</span><a class="tsd-signature-type tsd-kind-type-parameter" href="wxlayer_loader.Loader.html#constructorloaderwxdatasetmanagert">WxDatasetManagerT</a><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/b815568b9334ab8c2405ae085c09aad12678ca1b/wxlayer/loader.ts#L43">wxlayer/loader.ts:43</a></li></ul></aside></li></ul></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Properties</h2></summary><section><section class="tsd-panel tsd-member tsd-is-protected"><a id="_layer" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Protected</code> <code class="tsd-tag">Readonly</code><span>_layer</span><a href="#_layer" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">_layer</span><span class="tsd-signature-symbol">:</span> <a href="wxlayer_wxlayer.WxLayer.html" class="tsd-signature-type tsd-kind-class">WxLayer</a><span class="tsd-signature-symbol">&lt;</span><a class="tsd-signature-type tsd-kind-type-parameter" href="wxlayer_loader.Loader.html#constructorloaderwxdatasetmanagert">WxDatasetManagerT</a><span class="tsd-signature-symbol">&gt;</span></div><div class="tsd-comment tsd-typography"><p>Reference to the associated WxLayer</p>
14
+ </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/b815568b9334ab8c2405ae085c09aad12678ca1b/wxlayer/loader.ts#L33">wxlayer/loader.ts:33</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected"><a id="_loaddatafunc" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Protected</code> <code class="tsd-tag">Readonly</code><span>_load<wbr/>Data<wbr/>Func</span><a href="#_loaddatafunc" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">_loadDataFunc</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/utils_wxtools.CachedUriLoaderPromiseFunc.html" class="tsd-signature-type tsd-kind-interface">CachedUriLoaderPromiseFunc</a><span class="tsd-signature-symbol">&lt;</span><a href="utils_wxtools.DataIntegral.html" class="tsd-signature-type tsd-kind-class">DataIntegral</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol"> = ...</span></div><div class="tsd-comment tsd-typography"><p>Function to load, decode, and cache tile data from a URL</p>
15
+ </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/b815568b9334ab8c2405ae085c09aad12678ca1b/wxlayer/loader.ts#L36">wxlayer/loader.ts:36</a></li></ul></aside></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Methods"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Methods</h2></summary><section><section class="tsd-panel tsd-member tsd-is-protected"><a id="_applymask" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Protected</code><span>_apply<wbr/>Mask</span><a href="#_applymask" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-protected"><li class="tsd-signature tsd-anchor-link"><a id="_applymask-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">_applyMask</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">data</span><span class="tsd-signature-symbol">:</span> <a href="../types/utils_wxtools.DataPictures.html" class="tsd-signature-type tsd-kind-type-alias">DataPictures</a><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">tile</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/utils_wxtools.XYZ.html" class="tsd-signature-type tsd-kind-interface">XYZ</a><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">tileType</span><span class="tsd-signature-symbol">:</span> <a href="../enums/utils_qtree.TileType.html" class="tsd-signature-type tsd-kind-enum">TileType</a><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">needCopy</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#_applymask-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Applies a mask to the tile data based on the tile type and masking style.</p>
16
+ </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">data</span>: <a href="../types/utils_wxtools.DataPictures.html" class="tsd-signature-type tsd-kind-type-alias">DataPictures</a></span><div class="tsd-comment tsd-typography"><p>The processed tile data.</p>
17
+ </div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">tile</span>: <a href="../interfaces/utils_wxtools.XYZ.html" class="tsd-signature-type tsd-kind-interface">XYZ</a></span><div class="tsd-comment tsd-typography"><p>The tile coordinates (XYZ).</p>
18
+ </div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">tileType</span>: <a href="../enums/utils_qtree.TileType.html" class="tsd-signature-type tsd-kind-enum">TileType</a></span><div class="tsd-comment tsd-typography"><p>Type of the tile (e.g., mixed, land, sea).</p>
19
+ </div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">needCopy</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>Whether to create a data copy before masking.</p>
20
+ </div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><p>A promise resolving once the mask has been applied.</p>
21
+ <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/b815568b9334ab8c2405ae085c09aad12678ca1b/wxlayer/loader.ts#L129">wxlayer/loader.ts:129</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="cacheload" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>cache<wbr/>Load</span><a href="#cacheload" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="cacheload-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">cacheLoad</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">tile</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/utils_wxtools.XYZ.html" class="tsd-signature-type tsd-kind-interface">XYZ</a><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">uris</span><span class="tsd-signature-symbol">:</span> <a href="../types/types.WxURIs.html" class="tsd-signature-type tsd-kind-type-alias">WxURIs</a><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">requestInit</span><span class="tsd-signature-symbol">?:</span> <a href="../interfaces/types.WxRequestInit.html" class="tsd-signature-type tsd-kind-interface">WxRequestInit</a><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><br/>    <span class="tsd-signature-type">null</span><br/>    <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">rawdata</span><span class="tsd-signature-symbol">:</span> <a href="../types/utils_wxtools.DataIntegrals.html" class="tsd-signature-type tsd-kind-type-alias">DataIntegrals</a><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">subCoords</span><span class="tsd-signature-symbol">?:</span> <a href="../interfaces/utils_wxtools.XYZ.html" class="tsd-signature-type tsd-kind-interface">XYZ</a><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">tileType</span><span class="tsd-signature-symbol">:</span> <a href="../enums/utils_qtree.TileType.html" class="tsd-signature-type tsd-kind-enum">TileType</a> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">&gt;</span><a href="#cacheload-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Loads tile data from the cache or API, ensuring validity against boundaries and masks.</p>
22
+ </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">tile</span>: <a href="../interfaces/utils_wxtools.XYZ.html" class="tsd-signature-type tsd-kind-interface">XYZ</a></span><div class="tsd-comment tsd-typography"><p>Tile coordinates (XYZ).</p>
23
+ </div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">uris</span>: <a href="../types/types.WxURIs.html" class="tsd-signature-type tsd-kind-type-alias">WxURIs</a></span><div class="tsd-comment tsd-typography"><p>URIs used to construct tile URLs.</p>
24
+ </div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">requestInit</span>: <a href="../interfaces/types.WxRequestInit.html" class="tsd-signature-type tsd-kind-interface">WxRequestInit</a></span><div class="tsd-comment tsd-typography"><p>Optional HTTP request configuration.</p>
25
+ </div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">rawdata</span><span class="tsd-signature-symbol">:</span> <a href="../types/utils_wxtools.DataIntegrals.html" class="tsd-signature-type tsd-kind-type-alias">DataIntegrals</a><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">subCoords</span><span class="tsd-signature-symbol">?:</span> <a href="../interfaces/utils_wxtools.XYZ.html" class="tsd-signature-type tsd-kind-interface">XYZ</a><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">tileType</span><span class="tsd-signature-symbol">:</span> <a href="../enums/utils_qtree.TileType.html" class="tsd-signature-type tsd-kind-enum">TileType</a> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">&gt;</span></h4><p>A promise resolving to raw tile data or <code>null</code> if the tile is invalid.</p>
26
+ <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/b815568b9334ab8c2405ae085c09aad12678ca1b/wxlayer/loader.ts#L83">wxlayer/loader.ts:83</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="clearcache" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>clear<wbr/>Cache</span><a href="#clearcache" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="clearcache-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">clearCache</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#clearcache-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Clear cache</p>
27
+ </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/b815568b9334ab8c2405ae085c09aad12678ca1b/wxlayer/loader.ts#L117">wxlayer/loader.ts:117</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="load" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>load</span><a href="#load" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="load-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">load</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">tile</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/utils_wxtools.XYZ.html" class="tsd-signature-type tsd-kind-interface">XYZ</a><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">requestInit</span><span class="tsd-signature-symbol">?:</span> <a href="../interfaces/types.WxRequestInit.html" class="tsd-signature-type tsd-kind-interface">WxRequestInit</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <a href="../interfaces/types.WxData.html" class="tsd-signature-type tsd-kind-interface">WxData</a><span class="tsd-signature-symbol">&gt;</span><a href="#load-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Loads and preprocesses data for a single tile.</p>
28
+ </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">tile</span>: <a href="../interfaces/utils_wxtools.XYZ.html" class="tsd-signature-type tsd-kind-interface">XYZ</a></span><div class="tsd-comment tsd-typography"><p>Tile coordinates (XYZ).</p>
29
+ </div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">requestInit</span>: <a href="../interfaces/types.WxRequestInit.html" class="tsd-signature-type tsd-kind-interface">WxRequestInit</a></span><div class="tsd-comment tsd-typography"><p>Optional HTTP request configuration.</p>
30
+ </div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <a href="../interfaces/types.WxData.html" class="tsd-signature-type tsd-kind-interface">WxData</a><span class="tsd-signature-symbol">&gt;</span></h4><p>A promise resolving to the processed tile data or <code>null</code> if the tile is invalid.</p>
31
+ <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/b815568b9334ab8c2405ae085c09aad12678ca1b/wxlayer/loader.ts#L53">wxlayer/loader.ts:53</a></li></ul></aside></li></ul></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>On This Page</h3></summary><div class="tsd-accordion-details"><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Constructors</summary><div><a href="#constructor" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Properties</summary><div><a href="#_layer" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>_layer</span></a><a href="#_loaddatafunc" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>_load<wbr/>Data<wbr/>Func</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Methods"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Methods</summary><div><a href="#_applymask" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>_apply<wbr/>Mask</span></a><a href="#cacheload" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>cache<wbr/>Load</span></a><a href="#clearcache" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>clear<wbr/>Cache</span></a><a href="#load" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>load</span></a></div></details></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">@metoceanapi/wxtiles-common</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>