@metoceanapi/wxtiles-leaflet 2.0.6 → 2.0.7

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 (83) hide show
  1. package/CHANGELOG.md +2 -0
  2. package/README.md +13 -18
  3. package/dist/es/controls/WxStyleEditorControl.d.ts +1 -1
  4. package/dist/es/controls/WxTimeControl .d.ts +2 -2
  5. package/dist/es/index.d.ts +6 -6
  6. package/dist/es/index.js +6 -1
  7. package/dist/es/utils/wxtools.d.ts +64 -44
  8. package/dist/es/wxAPI/WxDataSetManager.d.ts +7 -1
  9. package/dist/es/wxlayer/WxImplementation.d.ts +3 -3
  10. package/dist/es/wxlayer/loadertools.d.ts +1 -1
  11. package/dist/es/wxlayer/wxlayer.d.ts +5 -7
  12. package/dist/es/wxsource/wxsource.d.ts +2 -2
  13. package/dist/es/wxsource/wxsourcetypes.d.ts +3 -0
  14. package/dist/web/index.js +6 -1
  15. package/docs/docs/assets/search.js +1 -1
  16. package/docs/docs/classes/FrameworkParentClass.html +21 -9
  17. package/docs/docs/classes/Loader.html +7 -7
  18. package/docs/docs/classes/Painter.html +6 -6
  19. package/docs/docs/classes/QTree.html +6 -6
  20. package/docs/docs/classes/RawCLUT.html +7 -7
  21. package/docs/docs/classes/WxAPI.html +18 -18
  22. package/docs/docs/classes/WxDataSetManager.html +37 -20
  23. package/docs/docs/classes/WxLayer.html +25 -25
  24. package/docs/docs/classes/WxLayerBaseImplementation.html +33 -20
  25. package/docs/docs/classes/WxTileSource.html +40 -22
  26. package/docs/docs/enums/TileType.html +4 -4
  27. package/docs/docs/functions/WXLOG.html +4 -3
  28. package/docs/docs/functions/WxCreateLegend.html +2 -1
  29. package/docs/docs/functions/WxGetColorSchemes.html +2 -1
  30. package/docs/docs/functions/WxGetColorStyles.html +2 -1
  31. package/docs/docs/functions/WxTilesLogging.html +4 -3
  32. package/docs/docs/index.html +10 -8
  33. package/docs/docs/interfaces/ColorStylesIncomplete.html +2 -1
  34. package/docs/docs/interfaces/Converter.html +2 -2
  35. package/docs/docs/interfaces/DataIntegral.html +7 -7
  36. package/docs/docs/interfaces/DataPicture.html +5 -5
  37. package/docs/docs/interfaces/FrameworkOptions.html +20 -63
  38. package/docs/docs/interfaces/IntegralPare.html +3 -3
  39. package/docs/docs/interfaces/SLinePoint.html +3 -3
  40. package/docs/docs/interfaces/Tree.html +2 -2
  41. package/docs/docs/interfaces/WxAPIOptions.html +10 -10
  42. package/docs/docs/interfaces/WxAllBoundariesMeta.html +4 -4
  43. package/docs/docs/interfaces/WxBoundaryMeta.html +5 -5
  44. package/docs/docs/interfaces/WxColorSchemes.html +2 -1
  45. package/docs/docs/interfaces/WxColorStyleStrict.html +80 -60
  46. package/docs/docs/interfaces/WxColorStyleWeak.html +80 -60
  47. package/docs/docs/interfaces/WxColorStylesStrict.html +2 -2
  48. package/docs/docs/interfaces/WxColorStylesWeakMixed.html +2 -1
  49. package/docs/docs/interfaces/WxData.html +3 -3
  50. package/docs/docs/interfaces/WxDataSetManagerOptions.html +6 -6
  51. package/docs/docs/interfaces/WxDataSetsMetasJSON.html +2 -2
  52. package/docs/docs/interfaces/WxDatasetMeta.html +9 -9
  53. package/docs/docs/interfaces/WxDatasetShortMeta.html +4 -4
  54. package/docs/docs/interfaces/WxLayerAPI.html +19 -19
  55. package/docs/docs/interfaces/WxLayerBaseAPI.html +15 -15
  56. package/docs/docs/interfaces/WxLayerOptions.html +17 -10
  57. package/docs/docs/interfaces/WxLegend.html +7 -7
  58. package/docs/docs/interfaces/WxLngLat.html +3 -3
  59. package/docs/docs/interfaces/WxRasterData.html +5 -5
  60. package/docs/docs/interfaces/WxRequestInit.html +2 -2
  61. package/docs/docs/interfaces/WxSourceLayerOptions.html +109 -0
  62. package/docs/docs/interfaces/WxTick.html +5 -5
  63. package/docs/docs/interfaces/WxTileInfo.html +9 -9
  64. package/docs/docs/interfaces/WxTilesLibOptions.html +4 -4
  65. package/docs/docs/interfaces/WxUnits.html +2 -1
  66. package/docs/docs/interfaces/WxVariableMeta.html +6 -6
  67. package/docs/docs/interfaces/WxVariablesMetas.html +2 -1
  68. package/docs/docs/interfaces/XYZ.html +4 -4
  69. package/docs/docs/modules.html +2 -0
  70. package/docs/docs/types/DataIntegrals.html +2 -1
  71. package/docs/docs/types/DataPictures.html +2 -1
  72. package/docs/docs/types/SLine.html +2 -1
  73. package/docs/docs/types/SubTrees.html +2 -1
  74. package/docs/docs/types/SubTreesN.html +2 -1
  75. package/docs/docs/types/TreeN.html +2 -1
  76. package/docs/docs/types/UriLoaderPromiseFunc.html +2 -1
  77. package/docs/docs/types/WxDate.html +2 -1
  78. package/docs/docs/types/WxURIs.html +2 -1
  79. package/docs/docs/types/WxUnitTuple.html +2 -1
  80. package/docs/docs/types/WxVars.html +2 -1
  81. package/docs/script/script.js +8 -3
  82. package/package.json +2 -2
  83. package/src_example/index.ts +111 -54
@@ -19,7 +19,7 @@
19
19
  <div class="tsd-comment tsd-typography"><p>possible type of a tile</p>
20
20
  </div></section><aside class="tsd-sources">
21
21
  <ul>
22
- <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/95b58b4/src/utils/qtree.ts#L19">src/utils/qtree.ts:19</a></li></ul></aside>
22
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/utils/qtree.ts#L20">utils/qtree.ts:20</a></li></ul></aside>
23
23
  <section class="tsd-panel-group tsd-index-group">
24
24
  <section class="tsd-panel tsd-index-panel">
25
25
  <details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
@@ -37,17 +37,17 @@
37
37
  <h3 class="tsd-anchor-link"><span>Land</span><a href="#Land" 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>
38
38
  <div class="tsd-signature">Land<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;land&quot;</span></div><aside class="tsd-sources">
39
39
  <ul>
40
- <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/95b58b4/src/utils/qtree.ts#L20">src/utils/qtree.ts:20</a></li></ul></aside></section>
40
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/utils/qtree.ts#L21">utils/qtree.ts:21</a></li></ul></aside></section>
41
41
  <section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="Mixed" class="tsd-anchor"></a>
42
42
  <h3 class="tsd-anchor-link"><span>Mixed</span><a href="#Mixed" 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>
43
43
  <div class="tsd-signature">Mixed<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;mixed&quot;</span></div><aside class="tsd-sources">
44
44
  <ul>
45
- <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/95b58b4/src/utils/qtree.ts#L21">src/utils/qtree.ts:21</a></li></ul></aside></section>
45
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/utils/qtree.ts#L22">utils/qtree.ts:22</a></li></ul></aside></section>
46
46
  <section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="Sea" class="tsd-anchor"></a>
47
47
  <h3 class="tsd-anchor-link"><span>Sea</span><a href="#Sea" 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>
48
48
  <div class="tsd-signature">Sea<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;sea&quot;</span></div><aside class="tsd-sources">
49
49
  <ul>
50
- <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/95b58b4/src/utils/qtree.ts#L22">src/utils/qtree.ts:22</a></li></ul></aside></section></section></div>
50
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/utils/qtree.ts#L23">utils/qtree.ts:23</a></li></ul></aside></section></section></div>
51
51
  <div class="col-4 col-menu menu-sticky-wrap menu-highlight">
52
52
  <div class="tsd-navigation settings">
53
53
  <details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
@@ -17,7 +17,7 @@
17
17
  <h1>Function WXLOG</h1></div>
18
18
  <section class="tsd-panel">
19
19
  <ul class="tsd-signatures tsd-kind-function">
20
- <li class="tsd-signature tsd-anchor-link" id="WXLOG">WXLOG<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">...</span>str<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">void</span><a href="#WXLOG" 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></li>
20
+ <li class="tsd-signature tsd-anchor-link" id="WXLOG">WXLOG<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">...</span>args<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-symbol">: </span><span class="tsd-signature-type">void</span><a href="#WXLOG" 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></li>
21
21
  <li class="tsd-description">
22
22
  <div class="tsd-comment tsd-typography"><p>Logging helper</p>
23
23
  </div>
@@ -25,10 +25,10 @@
25
25
  <h4 class="tsd-parameters-title">Parameters</h4>
26
26
  <ul class="tsd-parameter-list">
27
27
  <li>
28
- <h5><code class="tsd-tag ts-flagRest">Rest</code> <span class="tsd-signature-symbol">...</span>str: <span class="tsd-signature-type">any</span></h5></li></ul></div>
28
+ <h5><code class="tsd-tag ts-flagRest">Rest</code> <span class="tsd-signature-symbol">...</span>args: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></h5></li></ul></div>
29
29
  <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
30
30
  <ul>
31
- <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/95b58b4/src/utils/wxtools.ts#L701">src/utils/wxtools.ts:701</a></li></ul></aside></li></ul></section></div>
31
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/utils/wxtools.ts#L706">utils/wxtools.ts:706</a></li></ul></aside></li></ul></section></div>
32
32
  <div class="col-4 col-menu menu-sticky-wrap menu-highlight">
33
33
  <div class="tsd-navigation settings">
34
34
  <details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
@@ -90,6 +90,7 @@
90
90
  <li class="tsd-kind-interface"><a href="../interfaces/WxLngLat.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Lng<wbr/>Lat</a></li>
91
91
  <li class="tsd-kind-interface"><a href="../interfaces/WxRasterData.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Raster<wbr/>Data</a></li>
92
92
  <li class="tsd-kind-interface"><a href="../interfaces/WxRequestInit.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Request<wbr/>Init</a></li>
93
+ <li class="tsd-kind-interface"><a href="../interfaces/WxSourceLayerOptions.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Source<wbr/>Layer<wbr/>Options</a></li>
93
94
  <li class="tsd-kind-interface"><a href="../interfaces/WxTick.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Tick</a></li>
94
95
  <li class="tsd-kind-interface"><a href="../interfaces/WxTileInfo.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Tile<wbr/>Info</a></li>
95
96
  <li class="tsd-kind-interface"><a href="../interfaces/WxTilesLibOptions.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Tiles<wbr/>Lib<wbr/>Options</a></li>
@@ -36,7 +36,7 @@
36
36
  </div></li></ul></div>
37
37
  <h4 class="tsd-returns-title">Returns <a href="../interfaces/WxLegend.html" class="tsd-signature-type" data-tsd-kind="Interface">WxLegend</a></h4><aside class="tsd-sources">
38
38
  <ul>
39
- <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/95b58b4/src/utils/RawCLUT.ts#L153">src/utils/RawCLUT.ts:153</a></li></ul></aside></li></ul></section></div>
39
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/utils/RawCLUT.ts#L154">utils/RawCLUT.ts:154</a></li></ul></aside></li></ul></section></div>
40
40
  <div class="col-4 col-menu menu-sticky-wrap menu-highlight">
41
41
  <div class="tsd-navigation settings">
42
42
  <details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
@@ -98,6 +98,7 @@
98
98
  <li class="tsd-kind-interface"><a href="../interfaces/WxLngLat.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Lng<wbr/>Lat</a></li>
99
99
  <li class="tsd-kind-interface"><a href="../interfaces/WxRasterData.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Raster<wbr/>Data</a></li>
100
100
  <li class="tsd-kind-interface"><a href="../interfaces/WxRequestInit.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Request<wbr/>Init</a></li>
101
+ <li class="tsd-kind-interface"><a href="../interfaces/WxSourceLayerOptions.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Source<wbr/>Layer<wbr/>Options</a></li>
101
102
  <li class="tsd-kind-interface"><a href="../interfaces/WxTick.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Tick</a></li>
102
103
  <li class="tsd-kind-interface"><a href="../interfaces/WxTileInfo.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Tile<wbr/>Info</a></li>
103
104
  <li class="tsd-kind-interface"><a href="../interfaces/WxTilesLibOptions.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Tiles<wbr/>Lib<wbr/>Options</a></li>
@@ -23,7 +23,7 @@
23
23
  </div>
24
24
  <h4 class="tsd-returns-title">Returns <a href="../interfaces/WxColorSchemes.html" class="tsd-signature-type" data-tsd-kind="Interface">WxColorSchemes</a></h4><aside class="tsd-sources">
25
25
  <ul>
26
- <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/95b58b4/src/utils/wxtools.ts#L204">src/utils/wxtools.ts:204</a></li></ul></aside></li></ul></section></div>
26
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/utils/wxtools.ts#L222">utils/wxtools.ts:222</a></li></ul></aside></li></ul></section></div>
27
27
  <div class="col-4 col-menu menu-sticky-wrap menu-highlight">
28
28
  <div class="tsd-navigation settings">
29
29
  <details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
@@ -85,6 +85,7 @@
85
85
  <li class="tsd-kind-interface"><a href="../interfaces/WxLngLat.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Lng<wbr/>Lat</a></li>
86
86
  <li class="tsd-kind-interface"><a href="../interfaces/WxRasterData.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Raster<wbr/>Data</a></li>
87
87
  <li class="tsd-kind-interface"><a href="../interfaces/WxRequestInit.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Request<wbr/>Init</a></li>
88
+ <li class="tsd-kind-interface"><a href="../interfaces/WxSourceLayerOptions.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Source<wbr/>Layer<wbr/>Options</a></li>
88
89
  <li class="tsd-kind-interface"><a href="../interfaces/WxTick.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Tick</a></li>
89
90
  <li class="tsd-kind-interface"><a href="../interfaces/WxTileInfo.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Tile<wbr/>Info</a></li>
90
91
  <li class="tsd-kind-interface"><a href="../interfaces/WxTilesLibOptions.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Tiles<wbr/>Lib<wbr/>Options</a></li>
@@ -23,7 +23,7 @@
23
23
  </div>
24
24
  <h4 class="tsd-returns-title">Returns <a href="../interfaces/WxColorStylesStrict.html" class="tsd-signature-type" data-tsd-kind="Interface">WxColorStylesStrict</a></h4><aside class="tsd-sources">
25
25
  <ul>
26
- <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/95b58b4/src/utils/wxtools.ts#L197">src/utils/wxtools.ts:197</a></li></ul></aside></li></ul></section></div>
26
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/utils/wxtools.ts#L215">utils/wxtools.ts:215</a></li></ul></aside></li></ul></section></div>
27
27
  <div class="col-4 col-menu menu-sticky-wrap menu-highlight">
28
28
  <div class="tsd-navigation settings">
29
29
  <details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
@@ -85,6 +85,7 @@
85
85
  <li class="tsd-kind-interface"><a href="../interfaces/WxLngLat.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Lng<wbr/>Lat</a></li>
86
86
  <li class="tsd-kind-interface"><a href="../interfaces/WxRasterData.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Raster<wbr/>Data</a></li>
87
87
  <li class="tsd-kind-interface"><a href="../interfaces/WxRequestInit.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Request<wbr/>Init</a></li>
88
+ <li class="tsd-kind-interface"><a href="../interfaces/WxSourceLayerOptions.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Source<wbr/>Layer<wbr/>Options</a></li>
88
89
  <li class="tsd-kind-interface"><a href="../interfaces/WxTick.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Tick</a></li>
89
90
  <li class="tsd-kind-interface"><a href="../interfaces/WxTileInfo.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Tile<wbr/>Info</a></li>
90
91
  <li class="tsd-kind-interface"><a href="../interfaces/WxTilesLibOptions.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Tiles<wbr/>Lib<wbr/>Options</a></li>
@@ -17,7 +17,7 @@
17
17
  <h1>Function WxTilesLogging</h1></div>
18
18
  <section class="tsd-panel">
19
19
  <ul class="tsd-signatures tsd-kind-function">
20
- <li class="tsd-signature tsd-anchor-link" id="WxTilesLogging">Wx<wbr/>Tiles<wbr/>Logging<span class="tsd-signature-symbol">(</span>on<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">void</span><a href="#WxTilesLogging" 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></li>
20
+ <li class="tsd-signature tsd-anchor-link" id="WxTilesLogging">Wx<wbr/>Tiles<wbr/>Logging<span class="tsd-signature-symbol">(</span>on<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-symbol">(</span><span class="tsd-signature-symbol">...</span>args<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-symbol"> =&gt; </span><span class="tsd-signature-type">void</span><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="#WxTilesLogging" 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></li>
21
21
  <li class="tsd-description">
22
22
  <div class="tsd-comment tsd-typography"><p>Set logging on/off</p>
23
23
  </div>
@@ -25,10 +25,10 @@
25
25
  <h4 class="tsd-parameters-title">Parameters</h4>
26
26
  <ul class="tsd-parameter-list">
27
27
  <li>
28
- <h5>on: <span class="tsd-signature-type">boolean</span></h5></li></ul></div>
28
+ <h5><code class="tsd-tag ts-flagOptional">Optional</code> on: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">...</span>args<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-symbol"> =&gt; </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span></h5></li></ul></div>
29
29
  <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
30
30
  <ul>
31
- <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/95b58b4/src/utils/wxtools.ts#L687">src/utils/wxtools.ts:687</a></li></ul></aside></li></ul></section></div>
31
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/utils/wxtools.ts#L712">utils/wxtools.ts:712</a></li></ul></aside></li></ul></section></div>
32
32
  <div class="col-4 col-menu menu-sticky-wrap menu-highlight">
33
33
  <div class="tsd-navigation settings">
34
34
  <details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
@@ -90,6 +90,7 @@
90
90
  <li class="tsd-kind-interface"><a href="../interfaces/WxLngLat.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Lng<wbr/>Lat</a></li>
91
91
  <li class="tsd-kind-interface"><a href="../interfaces/WxRasterData.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Raster<wbr/>Data</a></li>
92
92
  <li class="tsd-kind-interface"><a href="../interfaces/WxRequestInit.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Request<wbr/>Init</a></li>
93
+ <li class="tsd-kind-interface"><a href="../interfaces/WxSourceLayerOptions.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Source<wbr/>Layer<wbr/>Options</a></li>
93
94
  <li class="tsd-kind-interface"><a href="../interfaces/WxTick.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Tick</a></li>
94
95
  <li class="tsd-kind-interface"><a href="../interfaces/WxTileInfo.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Tile<wbr/>Info</a></li>
95
96
  <li class="tsd-kind-interface"><a href="../interfaces/WxTilesLibOptions.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Tiles<wbr/>Lib<wbr/>Options</a></li>
@@ -24,6 +24,12 @@ There are three main parts of the project:</p>
24
24
  <li><a href="https://github.com/metoceanapi/wxtiles-leaflet">WxTiles-leaflet source code</a>, npm <a href="https://www.npmjs.com/package/@metoceanapi/wxtiles-leaflet">@metoceanapi/wxtiles-leaflet</a> - a JS API providing work with metadata, dataset manager and an implementation of a Custom Leaflet Layer for visualizing the tiles using <a href="https://leafletjs.com/">Leaflet</a>.</li>
25
25
  </ol>
26
26
 
27
+ <a href="#api" id="api" style="color: inherit; text-decoration: none;">
28
+ <h2>API</h2>
29
+ </a>
30
+ <p>APIs for Leaflet and Mapbox-gl-gs are similar in many ways. The difference is in framework-specific implementations of the Custom Source/Layer.</p>
31
+ <p>Usage and API documentation is mainly equal for both frameworks.</p>
32
+
27
33
  <a href="#docs" id="docs" style="color: inherit; text-decoration: none;">
28
34
  <h2>DOCS</h2>
29
35
  </a>
@@ -32,11 +38,6 @@ There are three main parts of the project:</p>
32
38
  <li>Leaflet: <a href="https://metoceanapi.github.io/wxtiles-leaflet/docs/">https://metoceanapi.github.io/wxtiles-leaflet/docs/</a></li>
33
39
  </ul>
34
40
 
35
- <a href="#api" id="api" style="color: inherit; text-decoration: none;">
36
- <h2>API</h2>
37
- </a>
38
- <p>APIs for Leaflet and Mapbox-gl-gs are similar, but they have different implementations of the Custom Source/Layer.</p>
39
-
40
41
  <a href="#examples" id="examples" style="color: inherit; text-decoration: none;">
41
42
  <h2>Examples</h2>
42
43
  </a>
@@ -71,13 +72,13 @@ There are three main parts of the project:</p>
71
72
  <a href="#update-the-style" id="update-the-style" style="color: inherit; text-decoration: none;">
72
73
  <h3>Update the style</h3>
73
74
  </a>
74
- <pre><code class="language-ts"><span class="hl-0">await</span><span class="hl-1"> </span><span class="hl-3">wxsource</span><span class="hl-1">.</span><span class="hl-4">updateCurrentStyleObject</span><span class="hl-1">({ </span><span class="hl-3">units:</span><span class="hl-1"> </span><span class="hl-2">&#39;m/s&#39;</span><span class="hl-1">, </span><span class="hl-3">levels:</span><span class="hl-1"> </span><span class="hl-6">undefined</span><span class="hl-1"> }); </span><span class="hl-5">// levels: undefined - to recalculate levels</span>
75
+ <pre><code class="language-ts"><span class="hl-0">await</span><span class="hl-1"> </span><span class="hl-3">wxsource</span><span class="hl-1">.</span><span class="hl-4">updateCurrentStyleObject</span><span class="hl-1">({ </span><span class="hl-3">units:</span><span class="hl-1"> </span><span class="hl-2">&#39;m/s&#39;</span><span class="hl-1">, </span><span class="hl-3">levels:</span><span class="hl-1"> </span><span class="hl-6">undefined</span><span class="hl-1"> }); </span><span class="hl-5">// set levels to undefined - to automatically calculate the levels from the dataset</span>
75
76
  </code></pre>
76
77
 
77
78
  <a href="#preload-the-time-steps" id="preload-the-time-steps" style="color: inherit; text-decoration: none;">
78
79
  <h3>Preload the time steps</h3>
79
80
  </a>
80
- <pre><code class="language-ts"><span class="hl-5">// load to the cache the time steps 10 but not render it</span><br/><span class="hl-6">const</span><span class="hl-1"> </span><span class="hl-7">prom</span><span class="hl-1"> = </span><span class="hl-3">wxsource</span><span class="hl-1">.</span><span class="hl-4">preloadTime</span><span class="hl-1">(</span><span class="hl-8">10</span><span class="hl-1">);</span><br/><span class="hl-5">// do stuff asyncronously</span><br/><span class="hl-5">// ...</span><br/><span class="hl-0">await</span><span class="hl-1"> </span><span class="hl-3">prom</span><span class="hl-1">; </span><span class="hl-5">// wait for the time step to finish loading</span><br/><span class="hl-5">// now set the time step to 10</span><br/><span class="hl-0">await</span><span class="hl-1"> </span><span class="hl-3">wxsource</span><span class="hl-1">.</span><span class="hl-4">setTime</span><span class="hl-1">(</span><span class="hl-8">10</span><span class="hl-1">); </span><span class="hl-5">// will be rendered from the cache</span>
81
+ <pre><code class="language-ts"><span class="hl-5">// load the time step 10 to the cache but do not not render it</span><br/><span class="hl-6">const</span><span class="hl-1"> </span><span class="hl-7">prom</span><span class="hl-1"> = </span><span class="hl-3">wxsource</span><span class="hl-1">.</span><span class="hl-4">preloadTime</span><span class="hl-1">(</span><span class="hl-8">10</span><span class="hl-1">);</span><br/><span class="hl-5">// do stuff asyncronously</span><br/><span class="hl-5">// ...</span><br/><span class="hl-0">await</span><span class="hl-1"> </span><span class="hl-3">prom</span><span class="hl-1">; </span><span class="hl-5">// wait for the time step to finish loading</span><br/><span class="hl-5">// now set the time step to 10</span><br/><span class="hl-0">await</span><span class="hl-1"> </span><span class="hl-3">wxsource</span><span class="hl-1">.</span><span class="hl-4">setTime</span><span class="hl-1">(</span><span class="hl-8">10</span><span class="hl-1">); </span><span class="hl-5">// will be fast rendered from the cache</span>
81
82
  </code></pre>
82
83
 
83
84
  <a href="#abort-loading" id="abort-loading" style="color: inherit; text-decoration: none;">
@@ -101,7 +102,7 @@ There are three main parts of the project:</p>
101
102
  <a href="#animated-blur-effect" id="animated-blur-effect" style="color: inherit; text-decoration: none;">
102
103
  <h3>animated blur effect</h3>
103
104
  </a>
104
- <pre><code class="language-ts"><span class="hl-6">let</span><span class="hl-1"> </span><span class="hl-3">b</span><span class="hl-1"> = </span><span class="hl-8">0</span><span class="hl-1">;</span><br/><span class="hl-6">let</span><span class="hl-1"> </span><span class="hl-3">db</span><span class="hl-1"> = </span><span class="hl-8">1</span><span class="hl-1">;</span><br/><span class="hl-6">const</span><span class="hl-1"> </span><span class="hl-4">nextAnim</span><span class="hl-1"> = </span><span class="hl-6">async</span><span class="hl-1"> () </span><span class="hl-6">=&gt;</span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-0">if</span><span class="hl-1"> (!</span><span class="hl-3">wxsource</span><span class="hl-1">) </span><span class="hl-0">return</span><span class="hl-1">;</span><br/><span class="hl-1"> </span><span class="hl-0">await</span><span class="hl-1"> </span><span class="hl-3">wxsource</span><span class="hl-1">.</span><span class="hl-4">updateCurrentStyleObject</span><span class="hl-1">({ </span><span class="hl-3">blurRadius:</span><span class="hl-1"> </span><span class="hl-3">b</span><span class="hl-1"> }); </span><span class="hl-5">// await always !!</span><br/><br/><span class="hl-1"> </span><span class="hl-3">b</span><span class="hl-1"> += </span><span class="hl-3">db</span><span class="hl-1">;</span><br/><span class="hl-1"> </span><span class="hl-0">if</span><span class="hl-1"> (</span><span class="hl-3">b</span><span class="hl-1"> &gt; </span><span class="hl-8">16</span><span class="hl-1"> || </span><span class="hl-3">b</span><span class="hl-1"> &lt; </span><span class="hl-8">0</span><span class="hl-1">) </span><span class="hl-3">db</span><span class="hl-1"> = -</span><span class="hl-3">db</span><span class="hl-1">;</span><br/><span class="hl-1"> </span><span class="hl-4">setTimeout</span><span class="hl-1">(</span><span class="hl-3">nextAnim</span><span class="hl-1">, </span><span class="hl-8">1</span><span class="hl-1">);</span><br/><span class="hl-1">};</span><br/><span class="hl-4">setTimeout</span><span class="hl-1">(</span><span class="hl-3">nextAnim</span><span class="hl-1">, </span><span class="hl-8">2000</span><span class="hl-1">);</span>
105
+ <pre><code class="language-ts"><span class="hl-1">(</span><span class="hl-6">async</span><span class="hl-1"> </span><span class="hl-6">function</span><span class="hl-1"> </span><span class="hl-4">step</span><span class="hl-1">(</span><span class="hl-3">n</span><span class="hl-1">: </span><span class="hl-9">number</span><span class="hl-1"> = </span><span class="hl-8">0</span><span class="hl-1">) {</span><br/><span class="hl-1"> </span><span class="hl-0">await</span><span class="hl-1"> </span><span class="hl-3">wxsource</span><span class="hl-1">.</span><span class="hl-4">updateCurrentStyleObject</span><span class="hl-1">({ </span><span class="hl-3">isolineText:</span><span class="hl-1"> </span><span class="hl-6">false</span><span class="hl-1">, </span><span class="hl-3">blurRadius:</span><span class="hl-1"> ~~(</span><span class="hl-8">10</span><span class="hl-1"> * </span><span class="hl-3">Math</span><span class="hl-1">.</span><span class="hl-4">sin</span><span class="hl-1">(</span><span class="hl-3">n</span><span class="hl-1"> / </span><span class="hl-8">500</span><span class="hl-1">) + </span><span class="hl-8">10</span><span class="hl-1">) }); </span><span class="hl-5">// await always !!</span><br/><span class="hl-1"> </span><span class="hl-4">requestAnimationFrame</span><span class="hl-1">(</span><span class="hl-3">step</span><span class="hl-1">);</span><br/><span class="hl-1">})();</span>
105
106
  </code></pre>
106
107
 
107
108
  <a href="#more-interactive---additional-level-and-a-bit-of-the-red-transparentness-around-the-level-made-from-current-mouse-position" id="more-interactive---additional-level-and-a-bit-of-the-red-transparentness-around-the-level-made-from-current-mouse-position" style="color: inherit; text-decoration: none;">
@@ -171,6 +172,7 @@ There are three main parts of the project:</p>
171
172
  <li class="tsd-kind-interface"><a href="interfaces/WxLngLat.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Lng<wbr/>Lat</a></li>
172
173
  <li class="tsd-kind-interface"><a href="interfaces/WxRasterData.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Raster<wbr/>Data</a></li>
173
174
  <li class="tsd-kind-interface"><a href="interfaces/WxRequestInit.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Request<wbr/>Init</a></li>
175
+ <li class="tsd-kind-interface"><a href="interfaces/WxSourceLayerOptions.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Source<wbr/>Layer<wbr/>Options</a></li>
174
176
  <li class="tsd-kind-interface"><a href="interfaces/WxTick.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Tick</a></li>
175
177
  <li class="tsd-kind-interface"><a href="interfaces/WxTileInfo.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Tile<wbr/>Info</a></li>
176
178
  <li class="tsd-kind-interface"><a href="interfaces/WxTilesLibOptions.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Tiles<wbr/>Lib<wbr/>Options</a></li>
@@ -26,7 +26,7 @@
26
26
  <h4 class="tsd-before-signature">Indexable</h4>
27
27
  <div class="tsd-signature"><span class="tsd-signature-symbol">[</span>name: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]: </span><a href="WxColorStyleWeak.html" class="tsd-signature-type" data-tsd-kind="Interface">WxColorStyleWeak</a><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">undefined</span></div></section><aside class="tsd-sources">
28
28
  <ul>
29
- <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/95b58b4/src/utils/wxtools.ts#L39">src/utils/wxtools.ts:39</a></li></ul></aside></div>
29
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/utils/wxtools.ts#L39">utils/wxtools.ts:39</a></li></ul></aside></div>
30
30
  <div class="col-4 col-menu menu-sticky-wrap menu-highlight">
31
31
  <div class="tsd-navigation settings">
32
32
  <details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
@@ -88,6 +88,7 @@
88
88
  <li class="tsd-kind-interface"><a href="WxLngLat.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Lng<wbr/>Lat</a></li>
89
89
  <li class="tsd-kind-interface"><a href="WxRasterData.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Raster<wbr/>Data</a></li>
90
90
  <li class="tsd-kind-interface"><a href="WxRequestInit.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Request<wbr/>Init</a></li>
91
+ <li class="tsd-kind-interface"><a href="WxSourceLayerOptions.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Source<wbr/>Layer<wbr/>Options</a></li>
91
92
  <li class="tsd-kind-interface"><a href="WxTick.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Tick</a></li>
92
93
  <li class="tsd-kind-interface"><a href="WxTileInfo.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Tile<wbr/>Info</a></li>
93
94
  <li class="tsd-kind-interface"><a href="WxTilesLibOptions.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Tiles<wbr/>Lib<wbr/>Options</a></li>
@@ -32,7 +32,7 @@
32
32
  <h5>x: <span class="tsd-signature-type">number</span></h5></li></ul></div>
33
33
  <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
34
34
  <ul>
35
- <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/95b58b4/src/utils/wxtools.ts#L211">src/utils/wxtools.ts:211</a></li></ul></aside></li></ul></section>
35
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/utils/wxtools.ts#L229">utils/wxtools.ts:229</a></li></ul></aside></li></ul></section>
36
36
  <section class="tsd-panel-group tsd-index-group">
37
37
  <section class="tsd-panel tsd-index-panel">
38
38
  <details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
@@ -50,7 +50,7 @@
50
50
  <div class="tsd-comment tsd-typography"><p>true if the converter is a trivial one</p>
51
51
  </div><aside class="tsd-sources">
52
52
  <ul>
53
- <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/95b58b4/src/utils/wxtools.ts#L213">src/utils/wxtools.ts:213</a></li></ul></aside></section></section></div>
53
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/utils/wxtools.ts#L231">utils/wxtools.ts:231</a></li></ul></aside></section></section></div>
54
54
  <div class="col-4 col-menu menu-sticky-wrap menu-highlight">
55
55
  <div class="tsd-navigation settings">
56
56
  <details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
@@ -26,7 +26,7 @@ calculated radius of the box-filter</p>
26
26
  <ul class="tsd-hierarchy">
27
27
  <li><span class="target">DataIntegral</span></li></ul></li></ul></section><aside class="tsd-sources">
28
28
  <ul>
29
- <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/95b58b4/src/utils/wxtools.ts#L376">src/utils/wxtools.ts:376</a></li></ul></aside>
29
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/utils/wxtools.ts#L397">utils/wxtools.ts:397</a></li></ul></aside>
30
30
  <section class="tsd-panel-group tsd-index-group">
31
31
  <section class="tsd-panel tsd-index-panel">
32
32
  <details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
@@ -48,35 +48,35 @@ calculated radius of the box-filter</p>
48
48
  <div class="tsd-signature">dmax<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources">
49
49
  <p>Inherited from <a href="DataPicture.html">DataPicture</a>.<a href="DataPicture.html#dmax">dmax</a></p>
50
50
  <ul>
51
- <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/95b58b4/src/utils/wxtools.ts#L366">src/utils/wxtools.ts:366</a></li></ul></aside></section>
51
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/utils/wxtools.ts#L386">utils/wxtools.ts:386</a></li></ul></aside></section>
52
52
  <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-inherited"><a id="dmin" class="tsd-anchor"></a>
53
53
  <h3 class="tsd-anchor-link"><span>dmin</span><a href="#dmin" 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>
54
54
  <div class="tsd-signature">dmin<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources">
55
55
  <p>Inherited from <a href="DataPicture.html">DataPicture</a>.<a href="DataPicture.html#dmin">dmin</a></p>
56
56
  <ul>
57
- <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/95b58b4/src/utils/wxtools.ts#L365">src/utils/wxtools.ts:365</a></li></ul></aside></section>
57
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/utils/wxtools.ts#L385">utils/wxtools.ts:385</a></li></ul></aside></section>
58
58
  <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-inherited"><a id="dmul" class="tsd-anchor"></a>
59
59
  <h3 class="tsd-anchor-link"><span>dmul</span><a href="#dmul" 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>
60
60
  <div class="tsd-signature">dmul<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources">
61
61
  <p>Inherited from <a href="DataPicture.html">DataPicture</a>.<a href="DataPicture.html#dmul">dmul</a></p>
62
62
  <ul>
63
- <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/95b58b4/src/utils/wxtools.ts#L367">src/utils/wxtools.ts:367</a></li></ul></aside></section>
63
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/utils/wxtools.ts#L387">utils/wxtools.ts:387</a></li></ul></aside></section>
64
64
  <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="integral" class="tsd-anchor"></a>
65
65
  <h3 class="tsd-anchor-link"><span>integral</span><a href="#integral" 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>
66
66
  <div class="tsd-signature">integral<span class="tsd-signature-symbol">:</span> <a href="IntegralPare.html" class="tsd-signature-type" data-tsd-kind="Interface">IntegralPare</a></div><aside class="tsd-sources">
67
67
  <ul>
68
- <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/95b58b4/src/utils/wxtools.ts#L377">src/utils/wxtools.ts:377</a></li></ul></aside></section>
68
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/utils/wxtools.ts#L398">utils/wxtools.ts:398</a></li></ul></aside></section>
69
69
  <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="radius" class="tsd-anchor"></a>
70
70
  <h3 class="tsd-anchor-link"><span>radius</span><a href="#radius" 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>
71
71
  <div class="tsd-signature">radius<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources">
72
72
  <ul>
73
- <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/95b58b4/src/utils/wxtools.ts#L378">src/utils/wxtools.ts:378</a></li></ul></aside></section>
73
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/utils/wxtools.ts#L399">utils/wxtools.ts:399</a></li></ul></aside></section>
74
74
  <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-inherited"><a id="raw" class="tsd-anchor"></a>
75
75
  <h3 class="tsd-anchor-link"><span>raw</span><a href="#raw" 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>
76
76
  <div class="tsd-signature">raw<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Uint16Array</span></div><aside class="tsd-sources">
77
77
  <p>Inherited from <a href="DataPicture.html">DataPicture</a>.<a href="DataPicture.html#raw">raw</a></p>
78
78
  <ul>
79
- <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/95b58b4/src/utils/wxtools.ts#L364">src/utils/wxtools.ts:364</a></li></ul></aside></section></section></div>
79
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/utils/wxtools.ts#L384">utils/wxtools.ts:384</a></li></ul></aside></section></section></div>
80
80
  <div class="col-4 col-menu menu-sticky-wrap menu-highlight">
81
81
  <div class="tsd-navigation settings">
82
82
  <details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
@@ -25,7 +25,7 @@
25
25
  <ul class="tsd-hierarchy">
26
26
  <li><a href="DataIntegral.html" class="tsd-signature-type" data-tsd-kind="Interface">DataIntegral</a></li></ul></li></ul></section><aside class="tsd-sources">
27
27
  <ul>
28
- <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/95b58b4/src/utils/wxtools.ts#L363">src/utils/wxtools.ts:363</a></li></ul></aside>
28
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/utils/wxtools.ts#L383">utils/wxtools.ts:383</a></li></ul></aside>
29
29
  <section class="tsd-panel-group tsd-index-group">
30
30
  <section class="tsd-panel tsd-index-panel">
31
31
  <details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
@@ -44,22 +44,22 @@
44
44
  <h3 class="tsd-anchor-link"><span>dmax</span><a href="#dmax" 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>
45
45
  <div class="tsd-signature">dmax<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources">
46
46
  <ul>
47
- <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/95b58b4/src/utils/wxtools.ts#L366">src/utils/wxtools.ts:366</a></li></ul></aside></section>
47
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/utils/wxtools.ts#L386">utils/wxtools.ts:386</a></li></ul></aside></section>
48
48
  <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="dmin" class="tsd-anchor"></a>
49
49
  <h3 class="tsd-anchor-link"><span>dmin</span><a href="#dmin" 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>
50
50
  <div class="tsd-signature">dmin<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources">
51
51
  <ul>
52
- <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/95b58b4/src/utils/wxtools.ts#L365">src/utils/wxtools.ts:365</a></li></ul></aside></section>
52
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/utils/wxtools.ts#L385">utils/wxtools.ts:385</a></li></ul></aside></section>
53
53
  <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="dmul" class="tsd-anchor"></a>
54
54
  <h3 class="tsd-anchor-link"><span>dmul</span><a href="#dmul" 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>
55
55
  <div class="tsd-signature">dmul<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources">
56
56
  <ul>
57
- <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/95b58b4/src/utils/wxtools.ts#L367">src/utils/wxtools.ts:367</a></li></ul></aside></section>
57
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/utils/wxtools.ts#L387">utils/wxtools.ts:387</a></li></ul></aside></section>
58
58
  <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="raw" class="tsd-anchor"></a>
59
59
  <h3 class="tsd-anchor-link"><span>raw</span><a href="#raw" 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>
60
60
  <div class="tsd-signature">raw<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Uint16Array</span></div><aside class="tsd-sources">
61
61
  <ul>
62
- <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/95b58b4/src/utils/wxtools.ts#L364">src/utils/wxtools.ts:364</a></li></ul></aside></section></section></div>
62
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/utils/wxtools.ts#L384">utils/wxtools.ts:384</a></li></ul></aside></section></section></div>
63
63
  <div class="col-4 col-menu menu-sticky-wrap menu-highlight">
64
64
  <div class="tsd-navigation settings">
65
65
  <details class="tsd-index-accordion"><summary class="tsd-accordion-summary">