@metoceanapi/wxtiles-leaflet 2.2.0 → 2.4.0-1

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 (124) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/GPLv3.txt +674 -0
  3. package/LICENSE.txt +12 -9
  4. package/README.md +16 -3
  5. package/dep.dot +33 -0
  6. package/dep.svg +233 -0
  7. package/dist/es/customlayer/customlayer.d.ts +3 -0
  8. package/dist/es/index.d.ts +19 -13
  9. package/dist/es/index.js +6 -2
  10. package/dist/es/wxAPI/WxAPI.d.ts +3 -61
  11. package/dist/es/wxAPI/WxDataSetManager.d.ts +35 -123
  12. package/dist/es/wxsource/wxsource.d.ts +118 -51
  13. package/dist/es/wxsource/wxsourcetypes.d.ts +70 -10
  14. package/dist/web/index.js +6 -2
  15. package/docs/docs/assets/highlight.css +7 -0
  16. package/docs/docs/assets/search.js +1 -1
  17. package/docs/docs/classes/CustomWxTilesLayer.html +4 -1
  18. package/docs/docs/classes/DataIntegral.html +9 -9
  19. package/docs/docs/classes/QTree.html +41 -14
  20. package/docs/docs/classes/RawCLUT.html +9 -9
  21. package/docs/docs/classes/TilesCache.html +5 -5
  22. package/docs/docs/classes/WxAPI.html +109 -79
  23. package/docs/docs/classes/WxAPIControl.html +242 -0
  24. package/docs/docs/classes/WxDataSetManager.html +166 -118
  25. package/docs/docs/classes/WxInfoControl.html +172 -0
  26. package/docs/docs/classes/WxLegendControl.html +166 -0
  27. package/docs/docs/classes/WxStyleEditorControl.html +462 -0
  28. package/docs/docs/classes/WxTileSource.html +204 -108
  29. package/docs/docs/classes/WxTimeControl.html +219 -0
  30. package/docs/docs/enums/TileType.html +4 -4
  31. package/docs/docs/functions/WXLOG.html +10 -5
  32. package/docs/docs/functions/WxCreateLegend.html +14 -9
  33. package/docs/docs/functions/WxGetColorSchemes.html +10 -5
  34. package/docs/docs/functions/WxGetColorStyles.html +10 -5
  35. package/docs/docs/functions/WxTilesLogging.html +13 -5
  36. package/docs/docs/index.html +27 -7
  37. package/docs/docs/interfaces/CachedUriLoaderPromiseFunc.html +7 -5
  38. package/docs/docs/interfaces/ColorStylesIncomplete.html +10 -5
  39. package/docs/docs/interfaces/Converter.html +3 -5
  40. package/docs/docs/interfaces/DataPicture.html +5 -5
  41. package/docs/docs/interfaces/FrameworkOptions.html +12 -6
  42. package/docs/docs/interfaces/IntegralPare.html +3 -3
  43. package/docs/docs/interfaces/SLinePoint.html +4 -4
  44. package/docs/docs/interfaces/Tree.html +11 -7
  45. package/docs/docs/interfaces/WxAPIOptions.html +33 -24
  46. package/docs/docs/interfaces/WxAllBoundariesMeta.html +14 -9
  47. package/docs/docs/interfaces/WxAllDatasetsShortMetas.html +11 -6
  48. package/docs/docs/interfaces/WxBoundaryMeta.html +18 -10
  49. package/docs/docs/interfaces/WxColorSchemes.html +10 -5
  50. package/docs/docs/interfaces/WxColorStyleStrict.html +44 -26
  51. package/docs/docs/interfaces/WxColorStyleWeak.html +46 -26
  52. package/docs/docs/interfaces/WxColorStylesStrict.html +2 -2
  53. package/docs/docs/interfaces/WxColorStylesWeakMixed.html +10 -5
  54. package/docs/docs/interfaces/WxData.html +10 -6
  55. package/docs/docs/interfaces/WxDataSetManagerOptions.html +15 -15
  56. package/docs/docs/interfaces/WxDatasetMeta.html +20 -20
  57. package/docs/docs/interfaces/WxDatasetShortMeta.html +9 -8
  58. package/docs/docs/interfaces/WxLayerAPI.html +24 -28
  59. package/docs/docs/interfaces/WxLayerBaseAPI.html +18 -22
  60. package/docs/docs/interfaces/WxLayerOptions.html +18 -13
  61. package/docs/docs/interfaces/WxLegend.html +16 -15
  62. package/docs/docs/interfaces/WxLngLat.html +3 -3
  63. package/docs/docs/interfaces/WxRasterData.html +11 -8
  64. package/docs/docs/interfaces/WxRequestInit.html +2 -2
  65. package/docs/docs/interfaces/WxSourceLayerOptions.html +14 -12
  66. package/docs/docs/interfaces/WxTick.html +8 -7
  67. package/docs/docs/interfaces/WxTileInfo.html +10 -10
  68. package/docs/docs/interfaces/WxUnits.html +10 -5
  69. package/docs/docs/interfaces/WxVariableMeta.html +13 -12
  70. package/docs/docs/interfaces/WxVariablesMetas.html +11 -6
  71. package/docs/docs/interfaces/XYZ.html +4 -4
  72. package/docs/docs/modules.html +21 -8
  73. package/docs/docs/types/DataIntegrals.html +10 -5
  74. package/docs/docs/types/DataPictures.html +10 -5
  75. package/docs/docs/types/ListenerMethod.html +10 -5
  76. package/docs/docs/types/Loader.html +116 -0
  77. package/docs/docs/types/Painter.html +116 -0
  78. package/docs/docs/types/SLine.html +11 -6
  79. package/docs/docs/types/SubTrees.html +10 -5
  80. package/docs/docs/types/SubTreesN.html +12 -7
  81. package/docs/docs/types/TreeN.html +12 -7
  82. package/docs/docs/types/WxDate.html +10 -5
  83. package/docs/docs/types/WxEventType.html +10 -5
  84. package/docs/docs/types/WxInstances.html +13 -6
  85. package/docs/docs/types/WxLayer.html +116 -0
  86. package/docs/docs/types/WxLayerVarsNames.html +11 -6
  87. package/docs/docs/types/WxURIs.html +10 -5
  88. package/docs/docs/types/WxUnitTuple.html +10 -5
  89. package/docs/docs/variables/WxLayerBaseImplementation.html +116 -0
  90. package/docs/script/script.js +6 -6
  91. package/hooks/pre-commit +29 -0
  92. package/package.json +9 -2
  93. package/src_example/frwrkdeps.ts +57 -18
  94. package/src_example/index.ts +2 -2
  95. package/src_example/start.ts +101 -47
  96. package/watch-public.mjs +16 -12
  97. package/dist/es/controls/WxAPIControl.d.ts +0 -19
  98. package/dist/es/controls/WxInfoControl.d.ts +0 -16
  99. package/dist/es/controls/WxLegendControl.d.ts +0 -14
  100. package/dist/es/controls/WxStyleEditorControl.d.ts +0 -52
  101. package/dist/es/controls/WxTimeControl .d.ts +0 -18
  102. package/dist/es/defaults/colorschemes.d.ts +0 -2
  103. package/dist/es/defaults/styles.d.ts +0 -2
  104. package/dist/es/defaults/uconv.d.ts +0 -2
  105. package/dist/es/utils/RawCLUT.d.ts +0 -57
  106. package/dist/es/utils/mercator.d.ts +0 -4
  107. package/dist/es/utils/qtree.d.ts +0 -27
  108. package/dist/es/utils/tests_wxtools.d.ts +0 -1
  109. package/dist/es/utils/wxtools.d.ts +0 -357
  110. package/dist/es/wxAPI/WxAPItypes.d.ts +0 -152
  111. package/dist/es/wxlayer/WxImplementation.d.ts +0 -189
  112. package/dist/es/wxlayer/loader.d.ts +0 -54
  113. package/dist/es/wxlayer/loadertools.d.ts +0 -50
  114. package/dist/es/wxlayer/painter.d.ts +0 -58
  115. package/dist/es/wxlayer/wxlayer.d.ts +0 -186
  116. package/docs/docs/classes/Loader.html +0 -165
  117. package/docs/docs/classes/Painter.html +0 -161
  118. package/docs/docs/classes/WxLayer.html +0 -419
  119. package/docs/docs/classes/WxLayerBaseImplementation.html +0 -427
  120. package/docs/examples/interactive.html +0 -84
  121. package/docs/examples/res/icon.png +0 -0
  122. package/docs/examples/res/wxtiles-logo.png +0 -0
  123. package/docs/examples/seaMaskAndAnimatedBlur.html +0 -76
  124. package/docs/examples/simpleDemo.html +0 -70
@@ -16,25 +16,22 @@
16
16
  <li><a href="WxTileSource.html">WxTileSource</a></li></ul>
17
17
  <h1>Class WxTileSource</h1></div>
18
18
  <section class="tsd-panel tsd-comment">
19
- <div class="tsd-comment tsd-typography"><p>A custom layer source implementation
20
- It is used to load and display weather data from the WxTiles server.</p>
19
+ <div class="tsd-comment tsd-typography"><p>A custom layer source implementation for displaying weather data tiles.
20
+ This class integrates with Leaflet and the WxTiles API to fetch, display, and manage tiles
21
+ representing weather data such as temperature, wind speed, or other meteorological variables.</p>
21
22
 
22
- <h3>Example</h3><pre><code class="language-ts"><span class="hl-6">const</span><span class="hl-1"> </span><span class="hl-7">wxapi</span><span class="hl-1"> = </span><span class="hl-6">new</span><span class="hl-1"> </span><span class="hl-4">WxAPI</span><span class="hl-1">({ </span><span class="hl-2">&#39;http://dataserver.com&#39;</span><span class="hl-1"> });</span><br/><br/><span class="hl-6">const</span><span class="hl-1"> </span><span class="hl-7">datasetName</span><span class="hl-1"> = </span><span class="hl-2">&#39;gfs.global&#39;</span><span class="hl-1">;</span><br/><span class="hl-6">const</span><span class="hl-1"> </span><span class="hl-7">variable</span><span class="hl-1"> = </span><span class="hl-2">&#39;air.temperature.at-2m&#39;</span><span class="hl-1">; </span><span class="hl-5">// Scalar example</span><br/><br/><span class="hl-5">// Create a dataset manager (may be used for many layers from this dataset)</span><br/><span class="hl-6">const</span><span class="hl-1"> </span><span class="hl-7">wxdatasetManager</span><span class="hl-1"> = </span><span class="hl-0">await</span><span class="hl-1"> </span><span class="hl-3">wxapi</span><span class="hl-1">.</span><span class="hl-4">createDatasetManager</span><span class="hl-1">(</span><span class="hl-3">datasetName</span><span class="hl-1">);</span><br/><br/><span class="hl-5">// get proper representation of the variable</span><br/><span class="hl-6">const</span><span class="hl-1"> </span><span class="hl-7">variables</span><span class="hl-1"> = </span><span class="hl-3">wxdatasetManager</span><span class="hl-1">.</span><span class="hl-4">checkCombineVariableIfVector</span><span class="hl-1">(</span><span class="hl-3">variable</span><span class="hl-1">);</span><br/><br/><span class="hl-5">// create a layer source</span><br/><span class="hl-6">const</span><span class="hl-1"> </span><span class="hl-7">wxsource</span><span class="hl-1"> = </span><span class="hl-6">new</span><span class="hl-1"> </span><span class="hl-4">WxTileSource</span><span class="hl-1">({ </span><span class="hl-3">wxdatasetManager</span><span class="hl-1">, </span><span class="hl-3">variables</span><span class="hl-1"> }, { </span><span class="hl-3">id:</span><span class="hl-1"> </span><span class="hl-2">&#39;wxsource&#39;</span><span class="hl-1">, </span><span class="hl-3">attribution:</span><span class="hl-1"> </span><span class="hl-2">&#39;WxTiles&#39;</span><span class="hl-1"> });</span>
23
+ <h3>Example</h3><pre><code class="language-ts"><span class="hl-6">const</span><span class="hl-1"> </span><span class="hl-7">wxapi</span><span class="hl-1"> = </span><span class="hl-6">new</span><span class="hl-1"> </span><span class="hl-4">WxAPI</span><span class="hl-1">({ </span><span class="hl-3">dataServerURL:</span><span class="hl-1"> </span><span class="hl-2">&#39;http://dataserver.com&#39;</span><span class="hl-1"> });</span><br/><span class="hl-6">const</span><span class="hl-1"> </span><span class="hl-7">datasetName</span><span class="hl-1"> = </span><span class="hl-2">&#39;gfs.global&#39;</span><span class="hl-1">;</span><br/><span class="hl-6">const</span><span class="hl-1"> </span><span class="hl-7">variable</span><span class="hl-1"> = </span><span class="hl-2">&#39;air.temperature.at-2m&#39;</span><span class="hl-1">;</span><br/><br/><span class="hl-5">// Create a dataset manager</span><br/><span class="hl-6">const</span><span class="hl-1"> </span><span class="hl-7">wxdatasetManager</span><span class="hl-1"> = </span><span class="hl-0">await</span><span class="hl-1"> </span><span class="hl-3">wxapi</span><span class="hl-1">.</span><span class="hl-4">createDatasetManager</span><span class="hl-1">(</span><span class="hl-3">datasetName</span><span class="hl-1">);</span><br/><br/><span class="hl-5">// Get variables (for scalar/vector representation)</span><br/><span class="hl-6">const</span><span class="hl-1"> </span><span class="hl-7">variables</span><span class="hl-1"> = </span><span class="hl-3">wxdatasetManager</span><span class="hl-1">.</span><span class="hl-4">checkCombineVariableIfVector</span><span class="hl-1">(</span><span class="hl-3">variable</span><span class="hl-1">);</span><br/><br/><span class="hl-5">// Create a layer source</span><br/><span class="hl-6">const</span><span class="hl-1"> </span><span class="hl-7">wxsource</span><span class="hl-1"> = </span><span class="hl-6">new</span><span class="hl-1"> </span><span class="hl-4">WxTileSource</span><span class="hl-1">({ </span><span class="hl-3">wxdatasetManager</span><span class="hl-1">, </span><span class="hl-3">variables</span><span class="hl-1"> }, { </span><span class="hl-3">id:</span><span class="hl-1"> </span><span class="hl-2">&#39;wxsource&#39;</span><span class="hl-1">, </span><span class="hl-3">attribution:</span><span class="hl-1"> </span><span class="hl-2">&#39;WxTiles&#39;</span><span class="hl-1"> });</span>
23
24
  </code></pre>
24
- <p>Or use the <a href="WxDataSetManager.html#createSourceLayer">createSourceLayer</a> method to create a layer/source in one step.</p>
25
+ <p>Alternatively, use <a href="WxDataSetManager.html#createSourceLayer">createSourceLayer</a> to simplify the creation process.</p>
25
26
  </div></section>
26
27
  <section class="tsd-panel tsd-hierarchy">
27
28
  <h4>Hierarchy</h4>
28
29
  <ul class="tsd-hierarchy">
29
- <li><a href="WxLayerBaseImplementation.html" class="tsd-signature-type" data-tsd-kind="Class">WxLayerBaseImplementation</a>
30
+ <li><a href="../variables/WxLayerBaseImplementation.html" class="tsd-signature-type" data-tsd-kind="Variable">WxLayerBaseImplementation</a>
30
31
  <ul class="tsd-hierarchy">
31
- <li><span class="target">WxTileSource</span></li></ul></li></ul></section>
32
- <section class="tsd-panel">
33
- <h4>Implements</h4>
34
- <ul class="tsd-hierarchy">
35
- <li><a href="../interfaces/WxLayerAPI.html" class="tsd-signature-type" data-tsd-kind="Interface">WxLayerAPI</a></li></ul></section><aside class="tsd-sources">
32
+ <li><span class="target">WxTileSource</span></li></ul></li></ul></section><aside class="tsd-sources">
36
33
  <ul>
37
- <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/wxsource/wxsource.ts#L53">src/wxsource/wxsource.ts:53</a></li></ul></aside>
34
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/wxsource/wxsource.ts#L74">wxtiles-leaflet/src/wxsource/wxsource.ts:74</a></li></ul></aside>
38
35
  <section class="tsd-panel-group tsd-index-group">
39
36
  <section class="tsd-panel tsd-index-panel">
40
37
  <details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
@@ -46,7 +43,7 @@ It is used to load and display weather data from the WxTiles server.</p>
46
43
  </div></section>
47
44
  <section class="tsd-index-section">
48
45
  <h3 class="tsd-index-heading">Properties</h3>
49
- <div class="tsd-index-list"><a href="WxTileSource.html#_needUpdateDSManager" class="tsd-index-link tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-1024-path"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)" id="icon-1024-text"></path></svg><span>_need<wbr/>UpdateDSManager</span></a>
46
+ <div class="tsd-index-list"><a href="WxTileSource.html#_needUpdateDSManager" class="tsd-index-link tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-1024-path"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)" id="icon-1024-text"></path></svg><span>_need<wbr/>UpdateDSManager</span></a>
50
47
  <a href="WxTileSource.html#id" class="tsd-index-link tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>id</span></a>
51
48
  </div></section>
52
49
  <section class="tsd-index-section">
@@ -55,7 +52,10 @@ It is used to load and display weather data from the WxTiles server.</p>
55
52
  </div></section>
56
53
  <section class="tsd-index-section">
57
54
  <h3 class="tsd-index-heading">Methods</h3>
58
- <div class="tsd-index-list"><a href="WxTileSource.html#clearCache" class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF4DB8" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-2048-path"></rect><path d="M9.162 16V7.24H10.578L11.514 10.072C11.602 10.328 11.674 10.584 11.73 10.84C11.794 11.088 11.842 11.28 11.874 11.416C11.906 11.28 11.954 11.088 12.018 10.84C12.082 10.584 12.154 10.324 12.234 10.06L13.122 7.24H14.538V16H13.482V12.82C13.482 12.468 13.49 12.068 13.506 11.62C13.53 11.172 13.558 10.716 13.59 10.252C13.622 9.78 13.654 9.332 13.686 8.908C13.726 8.476 13.762 8.1 13.794 7.78L12.366 12.16H11.334L9.894 7.78C9.934 8.092 9.97 8.456 10.002 8.872C10.042 9.28 10.078 9.716 10.11 10.18C10.142 10.636 10.166 11.092 10.182 11.548C10.206 12.004 10.218 12.428 10.218 12.82V16H9.162Z" fill="var(--color-text)" id="icon-2048-text"></path></svg><span>clear<wbr/>Cache</span></a>
55
+ <div class="tsd-index-list"><a href="WxTileSource.html#_ForEachWxTile" class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-protected"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF4DB8" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-2048-path"></rect><path d="M9.162 16V7.24H10.578L11.514 10.072C11.602 10.328 11.674 10.584 11.73 10.84C11.794 11.088 11.842 11.28 11.874 11.416C11.906 11.28 11.954 11.088 12.018 10.84C12.082 10.584 12.154 10.324 12.234 10.06L13.122 7.24H14.538V16H13.482V12.82C13.482 12.468 13.49 12.068 13.506 11.62C13.53 11.172 13.558 10.716 13.59 10.252C13.622 9.78 13.654 9.332 13.686 8.908C13.726 8.476 13.762 8.1 13.794 7.78L12.366 12.16H11.334L9.894 7.78C9.934 8.092 9.97 8.456 10.002 8.872C10.042 9.28 10.078 9.716 10.11 10.18C10.142 10.636 10.166 11.092 10.182 11.548C10.206 12.004 10.218 12.428 10.218 12.82V16H9.162Z" fill="var(--color-text)" id="icon-2048-text"></path></svg><span>_<wbr/>For<wbr/>Each<wbr/>Wx<wbr/>Tile</span></a>
56
+ <a href="WxTileSource.html#_reloadVisible" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>_reload<wbr/>Visible</span></a>
57
+ <a href="WxTileSource.html#clearCache" class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>clear<wbr/>Cache</span></a>
58
+ <a href="WxTileSource.html#coveringTiles" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>covering<wbr/>Tiles</span></a>
59
59
  <a href="WxTileSource.html#createTile" class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-protected"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>create<wbr/>Tile</span></a>
60
60
  <a href="WxTileSource.html#getAllTimes" class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>get<wbr/>All<wbr/>Times</span></a>
61
61
  <a href="WxTileSource.html#getCache" class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>get<wbr/>Cache</span></a>
@@ -74,6 +74,7 @@ It is used to load and display weather data from the WxTiles server.</p>
74
74
  <a href="WxTileSource.html#startAnimation" class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>start<wbr/>Animation</span></a>
75
75
  <a href="WxTileSource.html#stopAnimation" class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>stop<wbr/>Animation</span></a>
76
76
  <a href="WxTileSource.html#unsetCoarseLevel" class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>unset<wbr/>Coarse<wbr/>Level</span></a>
77
+ <a href="WxTileSource.html#update" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>update</span></a>
77
78
  <a href="WxTileSource.html#updateCurrentStyleObject" class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>update<wbr/>Current<wbr/>Style<wbr/>Object</span></a>
78
79
  </div></section></div></details></section></section>
79
80
  <section class="tsd-panel-group tsd-member-group">
@@ -81,57 +82,121 @@ It is used to load and display weather data from the WxTiles server.</p>
81
82
  <section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class"><a id="constructor" class="tsd-anchor"></a>
82
83
  <h3 class="tsd-anchor-link"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></h3>
83
84
  <ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class">
84
- <li class="tsd-signature tsd-anchor-link" id="constructor.new_WxTileSource">new <wbr/>Wx<wbr/>Tile<wbr/>Source<span class="tsd-signature-symbol">(</span>wxlayeroptions<span class="tsd-signature-symbol">: </span><a href="../interfaces/WxLayerOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">WxLayerOptions</a>, frameworkOptions<span class="tsd-signature-symbol">: </span><a href="../interfaces/FrameworkOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">FrameworkOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="WxTileSource.html" class="tsd-signature-type" data-tsd-kind="Class">WxTileSource</a><a href="#constructor.new_WxTileSource" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
85
+ <li class="tsd-signature tsd-anchor-link" id="constructor.new_WxTileSource">new <wbr/>Wx<wbr/>Tile<wbr/>Source<span class="tsd-signature-symbol">(</span>wxlayeroptions<span class="tsd-signature-symbol">: </span><a href="../interfaces/WxLayerOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">WxLayerOptions</a><span class="tsd-signature-symbol">&lt;</span><a href="WxDataSetManager.html" class="tsd-signature-type" data-tsd-kind="Class">WxDataSetManager</a><span class="tsd-signature-symbol">&gt;</span>, frameworkOptions<span class="tsd-signature-symbol">: </span><a href="../interfaces/FrameworkOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">FrameworkOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="WxTileSource.html" class="tsd-signature-type" data-tsd-kind="Class">WxTileSource</a><a href="#constructor.new_WxTileSource" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
85
86
  <li class="tsd-description">
87
+ <div class="tsd-comment tsd-typography"><p>Initializes a new WxTileSource instance.</p>
88
+ </div>
86
89
  <div class="tsd-parameters">
87
90
  <h4 class="tsd-parameters-title">Parameters</h4>
88
91
  <ul class="tsd-parameter-list">
89
92
  <li>
90
- <h5>wxlayeroptions: <a href="../interfaces/WxLayerOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">WxLayerOptions</a></h5>
91
- <div class="tsd-comment tsd-typography"><p>The options for the <a href="WxLayerBaseImplementation.html">WxLayerBaseImplementation</a>.</p>
93
+ <h5>wxlayeroptions: <a href="../interfaces/WxLayerOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">WxLayerOptions</a><span class="tsd-signature-symbol">&lt;</span><a href="WxDataSetManager.html" class="tsd-signature-type" data-tsd-kind="Class">WxDataSetManager</a><span class="tsd-signature-symbol">&gt;</span></h5>
94
+ <div class="tsd-comment tsd-typography"><p>Configuration options for the WxLayerBaseImplementation.</p>
92
95
  </div></li>
93
96
  <li>
94
97
  <h5>frameworkOptions: <a href="../interfaces/FrameworkOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">FrameworkOptions</a></h5>
95
- <div class="tsd-comment tsd-typography"><p>The options for the framework.</p>
98
+ <div class="tsd-comment tsd-typography"><p>Framework-specific options.</p>
96
99
  </div></li></ul></div>
97
100
  <h4 class="tsd-returns-title">Returns <a href="WxTileSource.html" class="tsd-signature-type" data-tsd-kind="Class">WxTileSource</a></h4><aside class="tsd-sources">
98
- <p>Overrides <a href="WxLayerBaseImplementation.html">WxLayerBaseImplementation</a>.<a href="WxLayerBaseImplementation.html#constructor">constructor</a></p>
101
+ <p>Overrides WxLayerBaseImplementation.constructor</p>
99
102
  <ul>
100
- <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/wxsource/wxsource.ts#L59">src/wxsource/wxsource.ts:59</a></li></ul></aside></li></ul></section></section>
103
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/wxsource/wxsource.ts#L83">wxtiles-leaflet/src/wxsource/wxsource.ts:83</a></li></ul></aside></li></ul></section></section>
101
104
  <section class="tsd-panel-group tsd-member-group">
102
105
  <h2>Properties</h2>
103
- <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited"><a id="_needUpdateDSManager" class="tsd-anchor"></a>
104
- <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_need<wbr/>UpdateDSManager</span><a href="#_needUpdateDSManager" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
106
+ <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="_needUpdateDSManager" class="tsd-anchor"></a>
107
+ <h3 class="tsd-anchor-link"><span>_need<wbr/>UpdateDSManager</span><a href="#_needUpdateDSManager" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
105
108
  <div class="tsd-signature">_need<wbr/>UpdateDSManager<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></div>
106
109
  <div class="tsd-comment tsd-typography"><p>A boolean flag indicating whether the dataset manager needs to be updated or not.</p>
107
110
  </div><aside class="tsd-sources">
108
- <p>Inherited from <a href="WxLayerBaseImplementation.html">WxLayerBaseImplementation</a>.<a href="WxLayerBaseImplementation.html#_needUpdateDSManager">_needUpdateDSManager</a></p>
111
+ <p>Inherited from WxLayerBaseImplementation._needUpdateDSManager</p>
109
112
  <ul>
110
- <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/wxlayer/WxImplementation.ts#L310">src/wxlayer/WxImplementation.ts:310</a></li></ul></aside></section>
113
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/main/wxlayer/WxImplementation.ts#L313">wxtiles-common/wxlayer/WxImplementation.ts:313</a></li></ul></aside></section>
111
114
  <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="id" class="tsd-anchor"></a>
112
115
  <h3 class="tsd-anchor-link"><span>id</span><a href="#id" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
113
- <div class="tsd-signature">id<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
114
- <p>Inherited from <a href="WxLayerBaseImplementation.html">WxLayerBaseImplementation</a>.<a href="WxLayerBaseImplementation.html#id">id</a></p>
116
+ <div class="tsd-signature">id<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
117
+ <div class="tsd-comment tsd-typography"><p><strong>Unique Layer Identifier</strong></p>
118
+ <p>A required unique identifier for the layer. Useful for managing multiple layers
119
+ and tracking them within a map instance.</p>
120
+ </div><aside class="tsd-sources">
121
+ <p>Inherited from WxLayerBaseImplementation.id</p>
115
122
  <ul>
116
- <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/wxsource/wxsourcetypes.ts#L11">src/wxsource/wxsourcetypes.ts:11</a></li></ul></aside></section></section>
123
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/main/wxlayer/WxImplementation.ts#L16">wxtiles-common/wxlayer/WxImplementation.ts:16</a></li>
124
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/wxsource/wxsourcetypes.ts#L37">wxtiles-leaflet/src/wxsource/wxsourcetypes.ts:37</a></li></ul></aside></section></section>
117
125
  <section class="tsd-panel-group tsd-member-group">
118
126
  <h2>Accessors</h2>
119
127
  <section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><a id="wxdatasetManager" class="tsd-anchor"></a>
120
128
  <h3 class="tsd-anchor-link"><span>wxdataset<wbr/>Manager</span><a href="#wxdatasetManager" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
121
129
  <ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited">
122
- <li class="tsd-signature" id="wxdatasetManager.wxdatasetManager-1"><span class="tsd-signature-symbol">get</span> wxdatasetManager<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="WxDataSetManager.html" class="tsd-signature-type" data-tsd-kind="Class">WxDataSetManager</a></li>
130
+ <li class="tsd-signature" id="wxdatasetManager.wxdatasetManager-1"><span class="tsd-signature-symbol">get</span> wxdatasetManager<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">WxDatasetManagerT</span></li>
123
131
  <li class="tsd-description">
124
132
  <div class="tsd-comment tsd-typography"><p>returns the dataset manager of the source</p>
125
133
 
126
134
  <h3>Returns</h3><p>the dataset manager of the source</p>
127
135
  </div>
128
- <h4 class="tsd-returns-title">Returns <a href="WxDataSetManager.html" class="tsd-signature-type" data-tsd-kind="Class">WxDataSetManager</a></h4><aside class="tsd-sources">
129
- <p>Implementation of <a href="../interfaces/WxLayerAPI.html">WxLayerAPI</a>.<a href="../interfaces/WxLayerAPI.html#wxdatasetManager">wxdatasetManager</a></p>
136
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">WxDatasetManagerT</span></h4><aside class="tsd-sources">
130
137
  <p>Inherited from WxLayerBaseImplementation.wxdatasetManager</p>
131
138
  <ul>
132
- <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/wxlayer/WxImplementation.ts#L94">src/wxlayer/WxImplementation.ts:94</a></li></ul></aside></li></ul></section></section>
139
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/main/wxlayer/WxImplementation.ts#L54">wxtiles-common/wxlayer/WxImplementation.ts:54</a></li></ul></aside></li></ul></section></section>
133
140
  <section class="tsd-panel-group tsd-member-group">
134
141
  <h2>Methods</h2>
142
+ <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-protected"><a id="_ForEachWxTile" class="tsd-anchor"></a>
143
+ <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_<wbr/>For<wbr/>Each<wbr/>Wx<wbr/>Tile</span><a href="#_ForEachWxTile" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
144
+ <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-protected">
145
+ <li class="tsd-signature tsd-anchor-link" id="_ForEachWxTile._ForEachWxTile-1">_<wbr/>For<wbr/>Each<wbr/>Wx<wbr/>Tile<span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">T</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">(</span>func<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>wxtile<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">WxTile</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">T</span><span class="tsd-signature-symbol">)</span>, name<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" data-tsd-kind="Type parameter">T</span><span class="tsd-signature-symbol">[]</span><a href="#_ForEachWxTile._ForEachWxTile-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
146
+ <li class="tsd-description">
147
+ <div class="tsd-comment tsd-typography"><p>Iterates over all tiles and applies a callback function.</p>
148
+
149
+ <h3>Returns</h3><p>An array of results from the callback function.</p>
150
+ </div>
151
+ <section class="tsd-panel tsd-type-parameters">
152
+ <h4>Type Parameters</h4>
153
+ <ul class="tsd-type-parameters">
154
+ <li>
155
+ <h4>T</h4></li></ul></section>
156
+ <div class="tsd-parameters">
157
+ <h4 class="tsd-parameters-title">Parameters</h4>
158
+ <ul class="tsd-parameter-list">
159
+ <li>
160
+ <h5>func: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>wxtile<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">WxTile</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">T</span><span class="tsd-signature-symbol">)</span></h5>
161
+ <div class="tsd-comment tsd-typography"><p>The callback function to execute for each tile.</p>
162
+ </div>
163
+ <ul class="tsd-parameters">
164
+ <li class="tsd-parameter-signature">
165
+ <ul class="tsd-signatures tsd-kind-type-literal">
166
+ <li class="tsd-signature"><span class="tsd-signature-symbol">(</span>wxtile<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">WxTile</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">T</span></li>
167
+ <li class="tsd-description">
168
+ <div class="tsd-parameters">
169
+ <h4 class="tsd-parameters-title">Parameters</h4>
170
+ <ul class="tsd-parameter-list">
171
+ <li>
172
+ <h5>wxtile: <span class="tsd-signature-type">WxTile</span></h5></li></ul></div>
173
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type" data-tsd-kind="Type parameter">T</span></h4></li></ul></li></ul></li>
174
+ <li>
175
+ <h5>name: <span class="tsd-signature-type">string</span></h5>
176
+ <div class="tsd-comment tsd-typography"><p>A name for logging purposes.</p>
177
+ </div></li></ul></div>
178
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type" data-tsd-kind="Type parameter">T</span><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources">
179
+ <ul>
180
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/wxsource/wxsource.ts#L185">wxtiles-leaflet/src/wxsource/wxsource.ts:185</a></li></ul></aside></li></ul></section>
181
+ <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="_reloadVisible" class="tsd-anchor"></a>
182
+ <h3 class="tsd-anchor-link"><span>_reload<wbr/>Visible</span><a href="#_reloadVisible" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
183
+ <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
184
+ <li class="tsd-signature tsd-anchor-link" id="_reloadVisible._reloadVisible-1">_reload<wbr/>Visible<span class="tsd-signature-symbol">(</span>requestInit<span class="tsd-signature-symbol">?: </span><a href="../interfaces/WxRequestInit.html" class="tsd-signature-type" data-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">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#_reloadVisible._reloadVisible-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
185
+ <li class="tsd-description">
186
+ <div class="tsd-comment tsd-typography"><p>Reloads the visible tiles on the map.
187
+ This method is typically used during animations or time-based updates.</p>
188
+ </div>
189
+ <div class="tsd-parameters">
190
+ <h4 class="tsd-parameters-title">Parameters</h4>
191
+ <ul class="tsd-parameter-list">
192
+ <li>
193
+ <h5><code class="tsd-tag ts-flagOptional">Optional</code> requestInit: <a href="../interfaces/WxRequestInit.html" class="tsd-signature-type" data-tsd-kind="Interface">WxRequestInit</a></h5>
194
+ <div class="tsd-comment tsd-typography"><p>Request options such as signals for aborting requests.</p>
195
+ </div></li></ul></div>
196
+ <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><aside class="tsd-sources">
197
+ <p>Overrides WxLayerBaseImplementation._reloadVisible</p>
198
+ <ul>
199
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/wxsource/wxsource.ts#L121">wxtiles-leaflet/src/wxsource/wxsource.ts:121</a></li></ul></aside></li></ul></section>
135
200
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="clearCache" class="tsd-anchor"></a>
136
201
  <h3 class="tsd-anchor-link"><span>clear<wbr/>Cache</span><a href="#clearCache" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
137
202
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
@@ -140,50 +205,72 @@ It is used to load and display weather data from the WxTiles server.</p>
140
205
  <div class="tsd-comment tsd-typography"><p>Clears the cache of the source.</p>
141
206
  </div>
142
207
  <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
143
- <p>Implementation of <a href="../interfaces/WxLayerAPI.html">WxLayerAPI</a>.<a href="../interfaces/WxLayerAPI.html#clearCache">clearCache</a></p>
144
- <p>Inherited from <a href="WxLayerBaseImplementation.html">WxLayerBaseImplementation</a>.<a href="WxLayerBaseImplementation.html#clearCache">clearCache</a></p>
208
+ <p>Inherited from WxLayerBaseImplementation.clearCache</p>
145
209
  <ul>
146
- <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/wxlayer/WxImplementation.ts#L134">src/wxlayer/WxImplementation.ts:134</a></li></ul></aside></li></ul></section>
210
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/main/wxlayer/WxImplementation.ts#L94">wxtiles-common/wxlayer/WxImplementation.ts:94</a></li></ul></aside></li></ul></section>
211
+ <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="coveringTiles" class="tsd-anchor"></a>
212
+ <h3 class="tsd-anchor-link"><span>covering<wbr/>Tiles</span><a href="#coveringTiles" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
213
+ <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
214
+ <li class="tsd-signature tsd-anchor-link" id="coveringTiles.coveringTiles-1">covering<wbr/>Tiles<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/XYZ.html" class="tsd-signature-type" data-tsd-kind="Interface">XYZ</a><span class="tsd-signature-symbol">[]</span><a href="#coveringTiles.coveringTiles-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
215
+ <li class="tsd-description">
216
+ <div class="tsd-comment tsd-typography"><p>Retrieves the coordinates of tiles currently visible on the map.</p>
217
+
218
+ <h3>Returns</h3><p>An array of tile coordinates.</p>
219
+ </div>
220
+ <h4 class="tsd-returns-title">Returns <a href="../interfaces/XYZ.html" class="tsd-signature-type" data-tsd-kind="Interface">XYZ</a><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources">
221
+ <p>Overrides WxLayerBaseImplementation.coveringTiles</p>
222
+ <ul>
223
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/wxsource/wxsource.ts#L147">wxtiles-leaflet/src/wxsource/wxsource.ts:147</a></li></ul></aside></li></ul></section>
147
224
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-protected"><a id="createTile" class="tsd-anchor"></a>
148
225
  <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>create<wbr/>Tile</span><a href="#createTile" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
149
226
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-protected">
150
227
  <li class="tsd-signature tsd-anchor-link" id="createTile.createTile-1">create<wbr/>Tile<span class="tsd-signature-symbol">(</span>coords<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Coords</span>, done<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">DoneCallback</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">HTMLElement</span><a href="#createTile.createTile-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
151
- <li class="tsd-description"><code class="tsd-tag ts-flagInternal">Internal</code>
152
- <div class="tsd-comment tsd-typography"><p>Used by framework. Creates a representation of a tile for the framework.</p>
228
+ <li class="tsd-description">
229
+ <div class="tsd-comment tsd-typography"><p>Creates a new tile element and loads its data.</p>
153
230
 
154
- <h3>Returns</h3><ul>
155
- <li>A picture of the tile.</li>
156
- </ul>
231
+ <h3>Returns</h3><p>The created canvas element representing the tile.</p>
157
232
  </div>
158
233
  <div class="tsd-parameters">
159
234
  <h4 class="tsd-parameters-title">Parameters</h4>
160
235
  <ul class="tsd-parameter-list">
161
236
  <li>
162
- <h5>coords: <span class="tsd-signature-type">Coords</span></h5></li>
237
+ <h5>coords: <span class="tsd-signature-type">Coords</span></h5>
238
+ <div class="tsd-comment tsd-typography"><p>The coordinates of the tile to load.</p>
239
+ </div></li>
163
240
  <li>
164
- <h5>done: <span class="tsd-signature-type">DoneCallback</span></h5></li></ul></div>
241
+ <h5>done: <span class="tsd-signature-type">DoneCallback</span></h5>
242
+ <div class="tsd-comment tsd-typography"><p>A callback function to signal completion.</p>
243
+ </div></li></ul></div>
165
244
  <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">HTMLElement</span></h4><aside class="tsd-sources">
166
245
  <p>Overrides WxLayerBaseImplementation.createTile</p>
167
246
  <ul>
168
- <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/wxsource/wxsource.ts#L150">src/wxsource/wxsource.ts:150</a></li></ul></aside></li></ul></section>
247
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/wxsource/wxsource.ts#L205">wxtiles-leaflet/src/wxsource/wxsource.ts:205</a></li></ul></aside></li></ul></section>
169
248
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="getAllTimes" class="tsd-anchor"></a>
170
249
  <h3 class="tsd-anchor-link"><span>get<wbr/>All<wbr/>Times</span><a href="#getAllTimes" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
171
250
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
172
251
  <li class="tsd-signature tsd-anchor-link" id="getAllTimes.getAllTimes-1">get<wbr/>All<wbr/>Times<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><a href="#getAllTimes.getAllTimes-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
173
252
  <li class="tsd-description">
253
+ <div class="tsd-comment tsd-typography"><p>Get all available times for the source.</p>
254
+
255
+ <h3>Returns</h3><p>An array of all available times for the source.</p>
256
+ </div>
174
257
  <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources">
175
- <p>Inherited from <a href="WxLayerBaseImplementation.html">WxLayerBaseImplementation</a>.<a href="WxLayerBaseImplementation.html#getAllTimes">getAllTimes</a></p>
258
+ <p>Inherited from WxLayerBaseImplementation.getAllTimes</p>
176
259
  <ul>
177
- <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/wxlayer/WxImplementation.ts#L161">src/wxlayer/WxImplementation.ts:161</a></li></ul></aside></li></ul></section>
260
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/main/wxlayer/WxImplementation.ts#L130">wxtiles-common/wxlayer/WxImplementation.ts:130</a></li></ul></aside></li></ul></section>
178
261
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="getCache" class="tsd-anchor"></a>
179
262
  <h3 class="tsd-anchor-link"><span>get<wbr/>Cache</span><a href="#getCache" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
180
263
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
181
264
  <li class="tsd-signature tsd-anchor-link" id="getCache.getCache-1">get<wbr/>Cache<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="TilesCache.html" class="tsd-signature-type" data-tsd-kind="Class">TilesCache</a><a href="#getCache.getCache-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
182
- <li class="tsd-description">
265
+ <li class="tsd-description"><code class="tsd-tag ts-flagInternal">Internal</code>
266
+ <div class="tsd-comment tsd-typography"><p>Get the raster data cache of the layer. Used in CustomWxTilesLayer.render.</p>
267
+
268
+ <h3>Returns</h3><p>The raster data cache of the layer.</p>
269
+ </div>
183
270
  <h4 class="tsd-returns-title">Returns <a href="TilesCache.html" class="tsd-signature-type" data-tsd-kind="Class">TilesCache</a></h4><aside class="tsd-sources">
184
- <p>Inherited from <a href="WxLayerBaseImplementation.html">WxLayerBaseImplementation</a>.<a href="WxLayerBaseImplementation.html#getCache">getCache</a></p>
271
+ <p>Inherited from WxLayerBaseImplementation.getCache</p>
185
272
  <ul>
186
- <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/wxlayer/WxImplementation.ts#L139">src/wxlayer/WxImplementation.ts:139</a></li></ul></aside></li></ul></section>
273
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/main/wxlayer/WxImplementation.ts#L104">wxtiles-common/wxlayer/WxImplementation.ts:104</a></li></ul></aside></li></ul></section>
187
274
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="getCurrentStyleObjectCopy" class="tsd-anchor"></a>
188
275
  <h3 class="tsd-anchor-link"><span>get<wbr/>Current<wbr/>Style<wbr/>Object<wbr/>Copy</span><a href="#getCurrentStyleObjectCopy" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
189
276
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
@@ -194,10 +281,9 @@ It is used to load and display weather data from the WxTiles server.</p>
194
281
  <h3>Returns</h3><p>A copy of the current style of the source.</p>
195
282
  </div>
196
283
  <h4 class="tsd-returns-title">Returns <a href="../interfaces/WxColorStyleStrict.html" class="tsd-signature-type" data-tsd-kind="Interface">WxColorStyleStrict</a></h4><aside class="tsd-sources">
197
- <p>Implementation of <a href="../interfaces/WxLayerAPI.html">WxLayerAPI</a>.<a href="../interfaces/WxLayerAPI.html#getCurrentStyleObjectCopy">getCurrentStyleObjectCopy</a></p>
198
- <p>Inherited from <a href="WxLayerBaseImplementation.html">WxLayerBaseImplementation</a>.<a href="WxLayerBaseImplementation.html#getCurrentStyleObjectCopy">getCurrentStyleObjectCopy</a></p>
284
+ <p>Inherited from WxLayerBaseImplementation.getCurrentStyleObjectCopy</p>
199
285
  <ul>
200
- <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/wxlayer/WxImplementation.ts#L147">src/wxlayer/WxImplementation.ts:147</a></li></ul></aside></li></ul></section>
286
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/main/wxlayer/WxImplementation.ts#L112">wxtiles-common/wxlayer/WxImplementation.ts:112</a></li></ul></aside></li></ul></section>
201
287
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="getCurrentVariableMeta" class="tsd-anchor"></a>
202
288
  <h3 class="tsd-anchor-link"><span>get<wbr/>Current<wbr/>Variable<wbr/>Meta</span><a href="#getCurrentVariableMeta" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
203
289
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
@@ -210,40 +296,41 @@ It is used to load and display weather data from the WxTiles server.</p>
210
296
  </ul>
211
297
  </div>
212
298
  <h4 class="tsd-returns-title">Returns <a href="../interfaces/WxVariableMeta.html" class="tsd-signature-type" data-tsd-kind="Interface">WxVariableMeta</a></h4><aside class="tsd-sources">
213
- <p>Implementation of <a href="../interfaces/WxLayerAPI.html">WxLayerAPI</a>.<a href="../interfaces/WxLayerAPI.html#getCurrentVariableMeta">getCurrentVariableMeta</a></p>
214
- <p>Inherited from <a href="WxLayerBaseImplementation.html">WxLayerBaseImplementation</a>.<a href="WxLayerBaseImplementation.html#getCurrentVariableMeta">getCurrentVariableMeta</a></p>
299
+ <p>Inherited from WxLayerBaseImplementation.getCurrentVariableMeta</p>
215
300
  <ul>
216
- <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/wxlayer/WxImplementation.ts#L103">src/wxlayer/WxImplementation.ts:103</a></li></ul></aside></li></ul></section>
301
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/main/wxlayer/WxImplementation.ts#L63">wxtiles-common/wxlayer/WxImplementation.ts:63</a></li></ul></aside></li></ul></section>
217
302
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="getDatasetMeta" class="tsd-anchor"></a>
218
303
  <h3 class="tsd-anchor-link"><span>get<wbr/>Dataset<wbr/>Meta</span><a href="#getDatasetMeta" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
219
304
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
220
305
  <li class="tsd-signature tsd-anchor-link" id="getDatasetMeta.getDatasetMeta-1">get<wbr/>Dataset<wbr/>Meta<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/WxDatasetMeta.html" class="tsd-signature-type" data-tsd-kind="Interface">WxDatasetMeta</a><a href="#getDatasetMeta.getDatasetMeta-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
221
306
  <li class="tsd-description">
222
307
  <h4 class="tsd-returns-title">Returns <a href="../interfaces/WxDatasetMeta.html" class="tsd-signature-type" data-tsd-kind="Interface">WxDatasetMeta</a></h4><aside class="tsd-sources">
223
- <p>Inherited from <a href="WxLayerBaseImplementation.html">WxLayerBaseImplementation</a>.<a href="WxLayerBaseImplementation.html#getDatasetMeta">getDatasetMeta</a></p>
308
+ <p>Inherited from WxLayerBaseImplementation.getDatasetMeta</p>
224
309
  <ul>
225
- <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/wxlayer/WxImplementation.ts#L108">src/wxlayer/WxImplementation.ts:108</a></li></ul></aside></li></ul></section>
310
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/main/wxlayer/WxImplementation.ts#L68">wxtiles-common/wxlayer/WxImplementation.ts:68</a></li></ul></aside></li></ul></section>
226
311
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getLayerInfoAtLatLon" class="tsd-anchor"></a>
227
312
  <h3 class="tsd-anchor-link"><span>get<wbr/>Layer<wbr/>Info<wbr/>At<wbr/>Lat<wbr/>Lon</span><a href="#getLayerInfoAtLatLon" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
228
313
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
229
314
  <li class="tsd-signature tsd-anchor-link" id="getLayerInfoAtLatLon.getLayerInfoAtLatLon-1">get<wbr/>Layer<wbr/>Info<wbr/>At<wbr/>Lat<wbr/>Lon<span class="tsd-signature-symbol">(</span>lnglat<span class="tsd-signature-symbol">: </span><a href="../interfaces/WxLngLat.html" class="tsd-signature-type" data-tsd-kind="Interface">WxLngLat</a>, anymap<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/WxTileInfo.html" class="tsd-signature-type" data-tsd-kind="Interface">WxTileInfo</a><a href="#getLayerInfoAtLatLon.getLayerInfoAtLatLon-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
230
315
  <li class="tsd-description">
231
- <div class="tsd-comment tsd-typography"><p>Get comprehensive information about the current point on map.</p>
316
+ <div class="tsd-comment tsd-typography"><p>Retrieves information about a specific point on the map.</p>
232
317
 
233
- <h3>Returns</h3></div>
318
+ <h3>Returns</h3><p>Information about the tile at the specified point, or undefined if unavailable.</p>
319
+ </div>
234
320
  <div class="tsd-parameters">
235
321
  <h4 class="tsd-parameters-title">Parameters</h4>
236
322
  <ul class="tsd-parameter-list">
237
323
  <li>
238
324
  <h5>lnglat: <a href="../interfaces/WxLngLat.html" class="tsd-signature-type" data-tsd-kind="Interface">WxLngLat</a></h5>
239
- <div class="tsd-comment tsd-typography"><p>Coordinates of the point.</p>
325
+ <div class="tsd-comment tsd-typography"><p>The longitude and latitude of the point.</p>
240
326
  </div></li>
241
327
  <li>
242
- <h5>anymap: <span class="tsd-signature-type">any</span></h5></li></ul></div>
328
+ <h5>anymap: <span class="tsd-signature-type">any</span></h5>
329
+ <div class="tsd-comment tsd-typography"><p>The map instance. This is kept generic to allow flexibility.</p>
330
+ </div></li></ul></div>
243
331
  <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/WxTileInfo.html" class="tsd-signature-type" data-tsd-kind="Interface">WxTileInfo</a></h4><aside class="tsd-sources">
244
- <p>Implementation of <a href="../interfaces/WxLayerAPI.html">WxLayerAPI</a>.<a href="../interfaces/WxLayerAPI.html#getLayerInfoAtLatLon">getLayerInfoAtLatLon</a></p>
245
332
  <ul>
246
- <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/wxsource/wxsource.ts#L70">src/wxsource/wxsource.ts:70</a></li></ul></aside></li></ul></section>
333
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/wxsource/wxsource.ts#L99">wxtiles-leaflet/src/wxsource/wxsource.ts:99</a></li></ul></aside></li></ul></section>
247
334
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="getMetadata" class="tsd-anchor"></a>
248
335
  <h3 class="tsd-anchor-link"><span>get<wbr/>Metadata</span><a href="#getMetadata" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
249
336
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
@@ -257,9 +344,9 @@ It is used to load and display weather data from the WxTiles server.</p>
257
344
  </ul>
258
345
  </div>
259
346
  <h4 class="tsd-returns-title">Returns <a href="../interfaces/WxVariableMeta.html" class="tsd-signature-type" data-tsd-kind="Interface">WxVariableMeta</a></h4><aside class="tsd-sources">
260
- <p>Inherited from <a href="WxLayerBaseImplementation.html">WxLayerBaseImplementation</a>.<a href="WxLayerBaseImplementation.html#getMetadata">getMetadata</a></p>
347
+ <p>Inherited from WxLayerBaseImplementation.getMetadata</p>
261
348
  <ul>
262
- <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/wxlayer/WxImplementation.ts#L117">src/wxlayer/WxImplementation.ts:117</a></li></ul></aside></li></ul></section>
349
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/main/wxlayer/WxImplementation.ts#L77">wxtiles-common/wxlayer/WxImplementation.ts:77</a></li></ul></aside></li></ul></section>
263
350
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="getTime" class="tsd-anchor"></a>
264
351
  <h3 class="tsd-anchor-link"><span>get<wbr/>Time</span><a href="#getTime" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
265
352
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
@@ -270,10 +357,9 @@ It is used to load and display weather data from the WxTiles server.</p>
270
357
  <h3>Returns</h3><p>The current time of the source from array of times.</p>
271
358
  </div>
272
359
  <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
273
- <p>Implementation of <a href="../interfaces/WxLayerAPI.html">WxLayerAPI</a>.<a href="../interfaces/WxLayerAPI.html#getTime">getTime</a></p>
274
- <p>Inherited from <a href="WxLayerBaseImplementation.html">WxLayerBaseImplementation</a>.<a href="WxLayerBaseImplementation.html#getTime">getTime</a></p>
360
+ <p>Inherited from WxLayerBaseImplementation.getTime</p>
275
361
  <ul>
276
- <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/wxlayer/WxImplementation.ts#L156">src/wxlayer/WxImplementation.ts:156</a></li></ul></aside></li></ul></section>
362
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/main/wxlayer/WxImplementation.ts#L121">wxtiles-common/wxlayer/WxImplementation.ts:121</a></li></ul></aside></li></ul></section>
277
363
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="getVariablesNames" class="tsd-anchor"></a>
278
364
  <h3 class="tsd-anchor-link"><span>get<wbr/>Variables<wbr/>Names</span><a href="#getVariablesNames" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
279
365
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
@@ -284,21 +370,17 @@ It is used to load and display weather data from the WxTiles server.</p>
284
370
  <h3>Returns</h3><p>variables of the source.</p>
285
371
  </div>
286
372
  <h4 class="tsd-returns-title">Returns <a href="../types/WxLayerVarsNames.html" class="tsd-signature-type" data-tsd-kind="Type alias">WxLayerVarsNames</a></h4><aside class="tsd-sources">
287
- <p>Implementation of <a href="../interfaces/WxLayerAPI.html">WxLayerAPI</a>.<a href="../interfaces/WxLayerAPI.html#getVariablesNames">getVariablesNames</a></p>
288
- <p>Inherited from <a href="WxLayerBaseImplementation.html">WxLayerBaseImplementation</a>.<a href="WxLayerBaseImplementation.html#getVariablesNames">getVariablesNames</a></p>
373
+ <p>Inherited from WxLayerBaseImplementation.getVariablesNames</p>
289
374
  <ul>
290
- <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/wxlayer/WxImplementation.ts#L126">src/wxlayer/WxImplementation.ts:126</a></li></ul></aside></li></ul></section>
375
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/main/wxlayer/WxImplementation.ts#L86">wxtiles-common/wxlayer/WxImplementation.ts:86</a></li></ul></aside></li></ul></section>
291
376
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="onRemove" class="tsd-anchor"></a>
292
377
  <h3 class="tsd-anchor-link"><span>on<wbr/>Remove</span><a href="#onRemove" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
293
378
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
294
379
  <li class="tsd-signature tsd-anchor-link" id="onRemove.onRemove-1">on<wbr/>Remove<span class="tsd-signature-symbol">(</span>map<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Map</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="WxTileSource.html" class="tsd-signature-type" data-tsd-kind="Class">WxTileSource</a><a href="#onRemove.onRemove-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
295
- <li class="tsd-description"><code class="tsd-tag ts-flagInternal">Internal</code>
296
- <div class="tsd-comment tsd-typography">
297
- <h3>Description</h3><p>Called when the layer is removed from a map.</p>
380
+ <li class="tsd-description">
381
+ <div class="tsd-comment tsd-typography"><p>Cleans up the layer when it is removed from a map.</p>
298
382
 
299
- <h3>Returns</h3><ul>
300
- <li>The WxTileSource instance.</li>
301
- </ul>
383
+ <h3>Returns</h3><p>The current WxTileSource instance.</p>
302
384
  </div>
303
385
  <div class="tsd-parameters">
304
386
  <h4 class="tsd-parameters-title">Parameters</h4>
@@ -310,49 +392,51 @@ It is used to load and display weather data from the WxTiles server.</p>
310
392
  <h4 class="tsd-returns-title">Returns <a href="WxTileSource.html" class="tsd-signature-type" data-tsd-kind="Class">WxTileSource</a></h4><aside class="tsd-sources">
311
393
  <p>Overrides WxLayerBaseImplementation.onRemove</p>
312
394
  <ul>
313
- <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/wxsource/wxsource.ts#L171">src/wxsource/wxsource.ts:171</a></li></ul></aside></li></ul></section>
395
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/wxsource/wxsource.ts#L225">wxtiles-leaflet/src/wxsource/wxsource.ts:225</a></li></ul></aside></li></ul></section>
314
396
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="preloadTime" class="tsd-anchor"></a>
315
397
  <h3 class="tsd-anchor-link"><span>preload<wbr/>Time</span><a href="#preloadTime" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
316
398
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
317
399
  <li class="tsd-signature tsd-anchor-link" id="preloadTime.preloadTime-1">preload<wbr/>Time<span class="tsd-signature-symbol">(</span>time<span class="tsd-signature-symbol">: </span><a href="../types/WxDate.html" class="tsd-signature-type" data-tsd-kind="Type alias">WxDate</a>, requestInit<span class="tsd-signature-symbol">?: </span><a href="../interfaces/WxRequestInit.html" class="tsd-signature-type" data-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">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#preloadTime.preloadTime-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
318
400
  <li class="tsd-description">
319
- <div class="tsd-comment tsd-typography"><p>Cache tiles for faster rendering for <a href="WxTileSource.html#setTime">setTime</a>. If the time is not available, the closest time will be used.</p>
401
+ <div class="tsd-comment tsd-typography"><p>Preloads tiles for faster rendering for a specific time is set <a href="WxTileSource.html#setTime">setTime</a>. If the time is not available, the closest time will be used.</p>
320
402
 
321
- <h3>Returns</h3><p>A promise that resolves when finished preload.</p>
403
+ <h3>Returns</h3><p>A promise that resolves when the tiles are preloaded.</p>
322
404
  </div>
323
405
  <div class="tsd-parameters">
324
406
  <h4 class="tsd-parameters-title">Parameters</h4>
325
407
  <ul class="tsd-parameter-list">
326
408
  <li>
327
409
  <h5>time: <a href="../types/WxDate.html" class="tsd-signature-type" data-tsd-kind="Type alias">WxDate</a></h5>
328
- <div class="tsd-comment tsd-typography"><p>Time to preload.</p>
410
+ <div class="tsd-comment tsd-typography"><p>The time to preload.</p>
329
411
  </div></li>
330
412
  <li>
331
413
  <h5><code class="tsd-tag ts-flagOptional">Optional</code> requestInit: <a href="../interfaces/WxRequestInit.html" class="tsd-signature-type" data-tsd-kind="Interface">WxRequestInit</a></h5>
332
- <div class="tsd-comment tsd-typography"><p>Request options.</p>
414
+ <div class="tsd-comment tsd-typography"><p>Request options for fetch.</p>
333
415
  </div></li></ul></div>
334
416
  <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><aside class="tsd-sources">
335
- <p>Implementation of <a href="../interfaces/WxLayerAPI.html">WxLayerAPI</a>.<a href="../interfaces/WxLayerAPI.html#preloadTime">preloadTime</a></p>
336
- <p>Inherited from <a href="WxLayerBaseImplementation.html">WxLayerBaseImplementation</a>.<a href="WxLayerBaseImplementation.html#preloadTime">preloadTime</a></p>
417
+ <p>Inherited from WxLayerBaseImplementation.preloadTime</p>
337
418
  <ul>
338
- <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/wxlayer/WxImplementation.ts#L187">src/wxlayer/WxImplementation.ts:187</a></li></ul></aside></li></ul></section>
419
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/main/wxlayer/WxImplementation.ts#L160">wxtiles-common/wxlayer/WxImplementation.ts:160</a></li></ul></aside></li></ul></section>
339
420
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="setCoarseLevel" class="tsd-anchor"></a>
340
421
  <h3 class="tsd-anchor-link"><span>set<wbr/>Coarse<wbr/>Level</span><a href="#setCoarseLevel" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
341
422
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
342
423
  <li class="tsd-signature tsd-anchor-link" id="setCoarseLevel.setCoarseLevel-1">set<wbr/>Coarse<wbr/>Level<span class="tsd-signature-symbol">(</span>level<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><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="#setCoarseLevel.setCoarseLevel-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
343
424
  <li class="tsd-description">
344
- <div class="tsd-comment tsd-typography"><p>set coarse maximum zoom level to make tiles load faster during animation</p>
425
+ <div class="tsd-comment tsd-typography"><p>Set the coarse maximum zoom level to make tiles load faster during animation.</p>
426
+
427
+ <h3>Returns</h3><p>A promise that resolves when the coarse maximum zoom level is set.</p>
345
428
  </div>
346
429
  <div class="tsd-parameters">
347
430
  <h4 class="tsd-parameters-title">Parameters</h4>
348
431
  <ul class="tsd-parameter-list">
349
432
  <li>
350
- <h5>level: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 2</span></h5></li></ul></div>
433
+ <h5>level: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 2</span></h5>
434
+ <div class="tsd-comment tsd-typography"><p>The coarse maximum zoom level to set.</p>
435
+ </div></li></ul></div>
351
436
  <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><aside class="tsd-sources">
352
- <p>Implementation of <a href="../interfaces/WxLayerAPI.html">WxLayerAPI</a>.<a href="../interfaces/WxLayerAPI.html#setCoarseLevel">setCoarseLevel</a></p>
353
- <p>Inherited from <a href="WxLayerBaseImplementation.html">WxLayerBaseImplementation</a>.<a href="WxLayerBaseImplementation.html#setCoarseLevel">setCoarseLevel</a></p>
437
+ <p>Inherited from WxLayerBaseImplementation.setCoarseLevel</p>
354
438
  <ul>
355
- <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/wxlayer/WxImplementation.ts#L233">src/wxlayer/WxImplementation.ts:233</a></li></ul></aside></li></ul></section>
439
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/main/wxlayer/WxImplementation.ts#L216">wxtiles-common/wxlayer/WxImplementation.ts:216</a></li></ul></aside></li></ul></section>
356
440
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="setStyleByName" class="tsd-anchor"></a>
357
441
  <h3 class="tsd-anchor-link"><span>set<wbr/>Style<wbr/>By<wbr/>Name</span><a href="#setStyleByName" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
358
442
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
@@ -374,14 +458,13 @@ It is used to load and display weather data from the WxTiles server.</p>
374
458
  <div class="tsd-comment tsd-typography"><p>If true, the source will be reloaded and rerendered.</p>
375
459
  </div></li></ul></div>
376
460
  <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><aside class="tsd-sources">
377
- <p>Implementation of <a href="../interfaces/WxLayerAPI.html">WxLayerAPI</a>.<a href="../interfaces/WxLayerAPI.html#setStyleByName">setStyleByName</a></p>
378
- <p>Inherited from <a href="WxLayerBaseImplementation.html">WxLayerBaseImplementation</a>.<a href="WxLayerBaseImplementation.html#setStyleByName">setStyleByName</a></p>
461
+ <p>Inherited from WxLayerBaseImplementation.setStyleByName</p>
379
462
  <ul>
380
- <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/wxlayer/WxImplementation.ts#L250">src/wxlayer/WxImplementation.ts:250</a></li></ul></aside></li></ul></section>
463
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/main/wxlayer/WxImplementation.ts#L236">wxtiles-common/wxlayer/WxImplementation.ts:236</a></li></ul></aside></li></ul></section>
381
464
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="setTime" class="tsd-anchor"></a>
382
465
  <h3 class="tsd-anchor-link"><span>set<wbr/>Time</span><a href="#setTime" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
383
466
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
384
- <li class="tsd-signature tsd-anchor-link" id="setTime.setTime-1">set<wbr/>Time<span class="tsd-signature-symbol">(</span>time<span class="tsd-signature-symbol">?: </span><a href="../types/WxDate.html" class="tsd-signature-type" data-tsd-kind="Type alias">WxDate</a>, requestInit<span class="tsd-signature-symbol">?: </span><a href="../interfaces/WxRequestInit.html" class="tsd-signature-type" data-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">string</span><span class="tsd-signature-symbol">&gt;</span><a href="#setTime.setTime-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
467
+ <li class="tsd-signature tsd-anchor-link" id="setTime.setTime-1">set<wbr/>Time<span class="tsd-signature-symbol">(</span>time<span class="tsd-signature-symbol">?: </span><a href="../types/WxDate.html" class="tsd-signature-type" data-tsd-kind="Type alias">WxDate</a>, requestInit<span class="tsd-signature-symbol">?: </span><a href="../interfaces/WxRequestInit.html" class="tsd-signature-type" data-tsd-kind="Interface">WxRequestInit</a>, redraw<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</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">&gt;</span><a href="#setTime.setTime-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
385
468
  <li class="tsd-description">
386
469
  <div class="tsd-comment tsd-typography"><p>Set time and render the source. If the time is not available, the closest time will be used.</p>
387
470
 
@@ -397,12 +480,13 @@ It is used to load and display weather data from the WxTiles server.</p>
397
480
  <li>
398
481
  <h5><code class="tsd-tag ts-flagOptional">Optional</code> requestInit: <a href="../interfaces/WxRequestInit.html" class="tsd-signature-type" data-tsd-kind="Interface">WxRequestInit</a></h5>
399
482
  <div class="tsd-comment tsd-typography"><p>Request options for fetch.</p>
400
- </div></li></ul></div>
483
+ </div></li>
484
+ <li>
485
+ <h5><code class="tsd-tag ts-flagOptional">Optional</code> redraw: <span class="tsd-signature-type">boolean</span></h5></li></ul></div>
401
486
  <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">&gt;</span></h4><aside class="tsd-sources">
402
- <p>Implementation of <a href="../interfaces/WxLayerAPI.html">WxLayerAPI</a>.<a href="../interfaces/WxLayerAPI.html#setTime">setTime</a></p>
403
- <p>Inherited from <a href="WxLayerBaseImplementation.html">WxLayerBaseImplementation</a>.<a href="WxLayerBaseImplementation.html#setTime">setTime</a></p>
487
+ <p>Inherited from WxLayerBaseImplementation.setTime</p>
404
488
  <ul>
405
- <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/wxlayer/WxImplementation.ts#L172">src/wxlayer/WxImplementation.ts:172</a></li></ul></aside></li></ul></section>
489
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/main/wxlayer/WxImplementation.ts#L141">wxtiles-common/wxlayer/WxImplementation.ts:141</a></li></ul></aside></li></ul></section>
406
490
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="startAnimation" class="tsd-anchor"></a>
407
491
  <h3 class="tsd-anchor-link"><span>start<wbr/>Animation</span><a href="#startAnimation" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
408
492
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
@@ -411,10 +495,9 @@ It is used to load and display weather data from the WxTiles server.</p>
411
495
  <div class="tsd-comment tsd-typography"><p>Starts the particle animation for wind and currents if sutiable.</p>
412
496
  </div>
413
497
  <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
414
- <p>Implementation of <a href="../interfaces/WxLayerAPI.html">WxLayerAPI</a>.<a href="../interfaces/WxLayerAPI.html#startAnimation">startAnimation</a></p>
415
- <p>Inherited from <a href="WxLayerBaseImplementation.html">WxLayerBaseImplementation</a>.<a href="WxLayerBaseImplementation.html#startAnimation">startAnimation</a></p>
498
+ <p>Inherited from WxLayerBaseImplementation.startAnimation</p>
416
499
  <ul>
417
- <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/wxlayer/WxImplementation.ts#L195">src/wxlayer/WxImplementation.ts:195</a></li></ul></aside></li></ul></section>
500
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/main/wxlayer/WxImplementation.ts#L168">wxtiles-common/wxlayer/WxImplementation.ts:168</a></li></ul></aside></li></ul></section>
418
501
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="stopAnimation" class="tsd-anchor"></a>
419
502
  <h3 class="tsd-anchor-link"><span>stop<wbr/>Animation</span><a href="#stopAnimation" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
420
503
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
@@ -423,10 +506,9 @@ It is used to load and display weather data from the WxTiles server.</p>
423
506
  <div class="tsd-comment tsd-typography"><p>Stops the particle animation.</p>
424
507
  </div>
425
508
  <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><aside class="tsd-sources">
426
- <p>Implementation of <a href="../interfaces/WxLayerAPI.html">WxLayerAPI</a>.<a href="../interfaces/WxLayerAPI.html#stopAnimation">stopAnimation</a></p>
427
- <p>Inherited from <a href="WxLayerBaseImplementation.html">WxLayerBaseImplementation</a>.<a href="WxLayerBaseImplementation.html#stopAnimation">stopAnimation</a></p>
509
+ <p>Inherited from WxLayerBaseImplementation.stopAnimation</p>
428
510
  <ul>
429
- <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/wxlayer/WxImplementation.ts#L226">src/wxlayer/WxImplementation.ts:226</a></li></ul></aside></li></ul></section>
511
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/main/wxlayer/WxImplementation.ts#L205">wxtiles-common/wxlayer/WxImplementation.ts:205</a></li></ul></aside></li></ul></section>
430
512
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="unsetCoarseLevel" class="tsd-anchor"></a>
431
513
  <h3 class="tsd-anchor-link"><span>unset<wbr/>Coarse<wbr/>Level</span><a href="#unsetCoarseLevel" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
432
514
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
@@ -435,10 +517,21 @@ It is used to load and display weather data from the WxTiles server.</p>
435
517
  <div class="tsd-comment tsd-typography"><p>restores to the dataset&#39;s maximum zoom level</p>
436
518
  </div>
437
519
  <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><aside class="tsd-sources">
438
- <p>Implementation of <a href="../interfaces/WxLayerAPI.html">WxLayerAPI</a>.<a href="../interfaces/WxLayerAPI.html#unsetCoarseLevel">unsetCoarseLevel</a></p>
439
- <p>Inherited from <a href="WxLayerBaseImplementation.html">WxLayerBaseImplementation</a>.<a href="WxLayerBaseImplementation.html#unsetCoarseLevel">unsetCoarseLevel</a></p>
520
+ <p>Inherited from WxLayerBaseImplementation.unsetCoarseLevel</p>
521
+ <ul>
522
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/main/wxlayer/WxImplementation.ts#L225">wxtiles-common/wxlayer/WxImplementation.ts:225</a></li></ul></aside></li></ul></section>
523
+ <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="update" class="tsd-anchor"></a>
524
+ <h3 class="tsd-anchor-link"><span>update</span><a href="#update" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
525
+ <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
526
+ <li class="tsd-signature tsd-anchor-link" id="update.update-1">update<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#update.update-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
527
+ <li class="tsd-description">
528
+ <div class="tsd-comment tsd-typography"><p>Redraws the tiles currently visible on the map.
529
+ This ensures that updated raster data or animations are displayed.</p>
530
+ </div>
531
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
532
+ <p>Overrides WxLayerBaseImplementation.update</p>
440
533
  <ul>
441
- <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/wxlayer/WxImplementation.ts#L239">src/wxlayer/WxImplementation.ts:239</a></li></ul></aside></li></ul></section>
534
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/wxsource/wxsource.ts#L164">wxtiles-leaflet/src/wxsource/wxsource.ts:164</a></li></ul></aside></li></ul></section>
442
535
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="updateCurrentStyleObject" class="tsd-anchor"></a>
443
536
  <h3 class="tsd-anchor-link"><span>update<wbr/>Current<wbr/>Style<wbr/>Object</span><a href="#updateCurrentStyleObject" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
444
537
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
@@ -464,10 +557,9 @@ It is used to load and display weather data from the WxTiles server.</p>
464
557
  <div class="tsd-comment tsd-typography"><p>Request options.</p>
465
558
  </div></li></ul></div>
466
559
  <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><aside class="tsd-sources">
467
- <p>Implementation of <a href="../interfaces/WxLayerAPI.html">WxLayerAPI</a>.<a href="../interfaces/WxLayerAPI.html#updateCurrentStyleObject">updateCurrentStyleObject</a></p>
468
- <p>Inherited from <a href="WxLayerBaseImplementation.html">WxLayerBaseImplementation</a>.<a href="WxLayerBaseImplementation.html#updateCurrentStyleObject">updateCurrentStyleObject</a></p>
560
+ <p>Inherited from WxLayerBaseImplementation.updateCurrentStyleObject</p>
469
561
  <ul>
470
- <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/wxlayer/WxImplementation.ts#L262">src/wxlayer/WxImplementation.ts:262</a></li></ul></aside></li></ul></section></section></div>
562
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/main/wxlayer/WxImplementation.ts#L256">wxtiles-common/wxlayer/WxImplementation.ts:256</a></li></ul></aside></li></ul></section></section></div>
471
563
  <div class="col-4 col-menu menu-sticky-wrap menu-highlight">
472
564
  <div class="tsd-navigation settings">
473
565
  <details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
@@ -493,10 +585,13 @@ It is used to load and display weather data from the WxTiles server.</p>
493
585
  <li class="current tsd-kind-class"><a href="WxTileSource.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-class)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-128-path"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)" id="icon-128-text"></path></svg><span>Wx<wbr/>Tile<wbr/>Source</span></a>
494
586
  <ul>
495
587
  <li class="tsd-kind-constructor tsd-parent-kind-class"><a href="WxTileSource.html#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-512-path"></use><use href="#icon-512-text"></use></svg>constructor</a></li>
496
- <li class="tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited"><a href="WxTileSource.html#_needUpdateDSManager" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>_need<wbr/>UpdateDSManager</a></li>
588
+ <li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="WxTileSource.html#_needUpdateDSManager" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>_need<wbr/>UpdateDSManager</a></li>
497
589
  <li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="WxTileSource.html#id" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>id</a></li>
498
590
  <li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><a href="WxTileSource.html#wxdatasetManager" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg>wxdataset<wbr/>Manager</a></li>
591
+ <li class="tsd-kind-method tsd-parent-kind-class tsd-is-protected"><a href="WxTileSource.html#_ForEachWxTile" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>_<wbr/>For<wbr/>Each<wbr/>Wx<wbr/>Tile</a></li>
592
+ <li class="tsd-kind-method tsd-parent-kind-class"><a href="WxTileSource.html#_reloadVisible" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>_reload<wbr/>Visible</a></li>
499
593
  <li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="WxTileSource.html#clearCache" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>clear<wbr/>Cache</a></li>
594
+ <li class="tsd-kind-method tsd-parent-kind-class"><a href="WxTileSource.html#coveringTiles" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>covering<wbr/>Tiles</a></li>
500
595
  <li class="tsd-kind-method tsd-parent-kind-class tsd-is-protected"><a href="WxTileSource.html#createTile" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>create<wbr/>Tile</a></li>
501
596
  <li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="WxTileSource.html#getAllTimes" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>get<wbr/>All<wbr/>Times</a></li>
502
597
  <li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="WxTileSource.html#getCache" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>get<wbr/>Cache</a></li>
@@ -515,6 +610,7 @@ It is used to load and display weather data from the WxTiles server.</p>
515
610
  <li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="WxTileSource.html#startAnimation" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>start<wbr/>Animation</a></li>
516
611
  <li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="WxTileSource.html#stopAnimation" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>stop<wbr/>Animation</a></li>
517
612
  <li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="WxTileSource.html#unsetCoarseLevel" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>unset<wbr/>Coarse<wbr/>Level</a></li>
613
+ <li class="tsd-kind-method tsd-parent-kind-class"><a href="WxTileSource.html#update" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>update</a></li>
518
614
  <li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="WxTileSource.html#updateCurrentStyleObject" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>update<wbr/>Current<wbr/>Style<wbr/>Object</a></li></ul></li></ul></nav></div></div>
519
615
  <div class="container tsd-generator">
520
616
  <p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>