@metoceanapi/wxtiles-leaflet 2.1.3 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (103) hide show
  1. package/CHANGELOG.md +2 -0
  2. package/README.md +10 -32
  3. package/dist/es/controls/WxAPIControl.d.ts +4 -2
  4. package/dist/es/controls/WxTimeControl .d.ts +1 -1
  5. package/dist/es/index.d.ts +13 -17
  6. package/dist/es/index.js +2 -2
  7. package/dist/es/utils/RawCLUT.d.ts +9 -8
  8. package/dist/es/utils/qtree.d.ts +6 -4
  9. package/dist/es/utils/wxtools.d.ts +12 -5
  10. package/dist/es/wxAPI/WxAPI.d.ts +63 -0
  11. package/dist/es/wxAPI/WxAPItypes.d.ts +152 -0
  12. package/dist/es/wxAPI/WxDataSetManager.d.ts +67 -90
  13. package/dist/es/wxlayer/WxImplementation.d.ts +36 -11
  14. package/dist/es/wxlayer/loader.d.ts +3 -3
  15. package/dist/es/wxlayer/loadertools.d.ts +1 -1
  16. package/dist/es/wxlayer/painter.d.ts +1 -1
  17. package/dist/es/wxlayer/wxlayer.d.ts +48 -26
  18. package/dist/es/wxsource/wxsource.d.ts +3 -1
  19. package/dist/es/wxsource/wxsourcetypes.d.ts +2 -1
  20. package/dist/web/index.js +2 -2
  21. package/docs/docs/assets/highlight.css +4 -4
  22. package/docs/docs/assets/search.js +1 -1
  23. package/docs/docs/classes/CustomWxTilesLayer.html +1 -1
  24. package/docs/docs/classes/DataIntegral.html +13 -13
  25. package/docs/docs/classes/Loader.html +17 -17
  26. package/docs/docs/classes/Painter.html +11 -11
  27. package/docs/docs/classes/QTree.html +63 -34
  28. package/docs/docs/classes/RawCLUT.html +8 -8
  29. package/docs/docs/classes/TilesCache.html +108 -0
  30. package/docs/docs/classes/WxAPI.html +31 -104
  31. package/docs/docs/classes/WxDataSetManager.html +115 -181
  32. package/docs/docs/classes/WxLayer.html +78 -60
  33. package/docs/docs/classes/WxLayerBaseImplementation.html +52 -43
  34. package/docs/docs/classes/WxTileSource.html +63 -47
  35. package/docs/docs/enums/TileType.html +4 -4
  36. package/docs/docs/functions/WXLOG.html +9 -7
  37. package/docs/docs/functions/WxCreateLegend.html +11 -9
  38. package/docs/docs/functions/WxGetColorSchemes.html +9 -7
  39. package/docs/docs/functions/WxGetColorStyles.html +9 -7
  40. package/docs/docs/functions/WxTilesLogging.html +9 -7
  41. package/docs/docs/index.html +21 -20
  42. package/docs/docs/interfaces/CachedUriLoaderPromiseFunc.html +106 -0
  43. package/docs/docs/interfaces/ColorStylesIncomplete.html +9 -7
  44. package/docs/docs/interfaces/Converter.html +5 -3
  45. package/docs/docs/interfaces/DataPicture.html +5 -5
  46. package/docs/docs/interfaces/FrameworkOptions.html +5 -4
  47. package/docs/docs/interfaces/IntegralPare.html +3 -3
  48. package/docs/docs/interfaces/SLinePoint.html +3 -3
  49. package/docs/docs/interfaces/Tree.html +2 -2
  50. package/docs/docs/interfaces/WxAPIOptions.html +15 -15
  51. package/docs/docs/interfaces/WxAllBoundariesMeta.html +4 -4
  52. package/docs/docs/interfaces/WxAllDatasetsShortMetas.html +120 -0
  53. package/docs/docs/interfaces/WxBoundaryMeta.html +5 -5
  54. package/docs/docs/interfaces/WxColorSchemes.html +9 -7
  55. package/docs/docs/interfaces/WxColorStyleStrict.html +27 -27
  56. package/docs/docs/interfaces/WxColorStyleWeak.html +27 -27
  57. package/docs/docs/interfaces/WxColorStylesStrict.html +2 -2
  58. package/docs/docs/interfaces/WxColorStylesWeakMixed.html +9 -7
  59. package/docs/docs/interfaces/WxData.html +3 -3
  60. package/docs/docs/interfaces/WxDataSetManagerOptions.html +12 -12
  61. package/docs/docs/interfaces/WxDatasetMeta.html +18 -9
  62. package/docs/docs/interfaces/WxDatasetShortMeta.html +5 -5
  63. package/docs/docs/interfaces/WxLayerAPI.html +92 -26
  64. package/docs/docs/interfaces/WxLayerBaseAPI.html +21 -21
  65. package/docs/docs/interfaces/WxLayerOptions.html +9 -10
  66. package/docs/docs/interfaces/WxLegend.html +7 -7
  67. package/docs/docs/interfaces/WxLngLat.html +3 -3
  68. package/docs/docs/interfaces/WxRasterData.html +6 -6
  69. package/docs/docs/interfaces/WxRequestInit.html +2 -2
  70. package/docs/docs/interfaces/WxSourceLayerOptions.html +8 -5
  71. package/docs/docs/interfaces/WxTick.html +5 -5
  72. package/docs/docs/interfaces/WxTileInfo.html +9 -9
  73. package/docs/docs/interfaces/WxUnits.html +9 -7
  74. package/docs/docs/interfaces/WxVariableMeta.html +6 -6
  75. package/docs/docs/interfaces/WxVariablesMetas.html +9 -7
  76. package/docs/docs/interfaces/XYZ.html +4 -4
  77. package/docs/docs/modules.html +17 -13
  78. package/docs/docs/types/DataIntegrals.html +9 -7
  79. package/docs/docs/types/DataPictures.html +9 -7
  80. package/docs/docs/types/{UriLoaderPromiseFunc.html → ListenerMethod.html} +21 -23
  81. package/docs/docs/types/SLine.html +9 -7
  82. package/docs/docs/types/SubTrees.html +9 -7
  83. package/docs/docs/types/SubTreesN.html +9 -7
  84. package/docs/docs/types/TreeN.html +9 -7
  85. package/docs/docs/types/WxDate.html +17 -8
  86. package/docs/docs/types/WxEventType.html +116 -0
  87. package/docs/docs/types/{WxVars.html → WxInstances.html} +13 -13
  88. package/docs/docs/types/WxLayerVarsNames.html +113 -0
  89. package/docs/docs/types/WxURIs.html +9 -7
  90. package/docs/docs/types/WxUnitTuple.html +9 -7
  91. package/docs/examples/interactive.html +84 -0
  92. package/docs/examples/seaMaskAndAnimatedBlur.html +30 -22
  93. package/docs/examples/simpleDemo.html +32 -21
  94. package/docs/script/script.js +13 -9
  95. package/package.json +1 -1
  96. package/src_example/frwrkdeps.ts +6 -3
  97. package/src_example/index.ts +31 -54
  98. package/src_example/start.ts +39 -21
  99. package/watch-public.mjs +1 -7
  100. package/dist/es/wxAPI/wxAPI.d.ts +0 -192
  101. package/docs/docs/classes/FrameworkParentClass.html +0 -98
  102. package/docs/docs/interfaces/WxDataSetsMetasJSON.html +0 -75
  103. package/docs/docs/interfaces/WxTilesLibOptions.html +0 -92
@@ -23,7 +23,7 @@
23
23
  <ul class="tsd-hierarchy">
24
24
  <li><span class="target">WxColorStyleStrict</span></li></ul></section><aside class="tsd-sources">
25
25
  <ul>
26
- <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/utils/wxtools.ts#L44">utils/wxtools.ts:44</a></li></ul></aside>
26
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/utils/wxtools.ts#L44">src/utils/wxtools.ts:44</a></li></ul></aside>
27
27
  <section class="tsd-panel-group tsd-index-group">
28
28
  <section class="tsd-panel tsd-index-panel">
29
29
  <details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
@@ -65,14 +65,14 @@
65
65
  <div class="tsd-comment tsd-typography"><p>Additional rotation of all wind or current&#39;s vectors or directions by angle in degrees.</p>
66
66
  </div><aside class="tsd-sources">
67
67
  <ul>
68
- <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/utils/wxtools.ts#L142">utils/wxtools.ts:142</a></li></ul></aside></section>
68
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/utils/wxtools.ts#L142">src/utils/wxtools.ts:142</a></li></ul></aside></section>
69
69
  <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="blurRadius" class="tsd-anchor"></a>
70
70
  <h3 class="tsd-anchor-link"><span>blur<wbr/>Radius</span><a href="#blurRadius" 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">blur<wbr/>Radius<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
72
72
  <div class="tsd-comment tsd-typography"><p>radius for the BOX filter</p>
73
73
  </div><aside class="tsd-sources">
74
74
  <ul>
75
- <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/utils/wxtools.ts#L139">utils/wxtools.ts:139</a></li></ul></aside></section>
75
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/utils/wxtools.ts#L139">src/utils/wxtools.ts:139</a></li></ul></aside></section>
76
76
  <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="colorMap" class="tsd-anchor"></a>
77
77
  <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>color<wbr/>Map</span><a href="#colorMap" 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>
78
78
  <div class="tsd-signature">color<wbr/>Map<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">[]</span></div>
@@ -80,21 +80,21 @@
80
80
  Array of [level,color] tuples. Colors are WEB-colors.</p>
81
81
  </div><aside class="tsd-sources">
82
82
  <ul>
83
- <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/utils/wxtools.ts#L133">utils/wxtools.ts:133</a></li></ul></aside></section>
83
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/utils/wxtools.ts#L133">src/utils/wxtools.ts:133</a></li></ul></aside></section>
84
84
  <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="colorScheme" class="tsd-anchor"></a>
85
85
  <h3 class="tsd-anchor-link"><span>color<wbr/>Scheme</span><a href="#colorScheme" 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>
86
86
  <div class="tsd-signature">color<wbr/>Scheme<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
87
87
  <div class="tsd-comment tsd-typography"><p>Color scheme name from the default set. May be extended in <a href="../classes/WxAPI.html">WxAPI</a></p>
88
88
  </div><aside class="tsd-sources">
89
89
  <ul>
90
- <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/utils/wxtools.ts#L124">utils/wxtools.ts:124</a></li></ul></aside></section>
90
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/utils/wxtools.ts#L124">src/utils/wxtools.ts:124</a></li></ul></aside></section>
91
91
  <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="colors" class="tsd-anchor"></a>
92
92
  <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>colors</span><a href="#colors" 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>
93
93
  <div class="tsd-signature">colors<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></div>
94
94
  <div class="tsd-comment tsd-typography"><p>Used if presented instead of colorScheme</p>
95
95
  </div><aside class="tsd-sources">
96
96
  <ul>
97
- <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/utils/wxtools.ts#L127">utils/wxtools.ts:127</a></li></ul></aside></section>
97
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/utils/wxtools.ts#L127">src/utils/wxtools.ts:127</a></li></ul></aside></section>
98
98
  <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="extraUnits" class="tsd-anchor"></a>
99
99
  <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>extra<wbr/>Units</span><a href="#extraUnits" 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>
100
100
  <div class="tsd-signature">extra<wbr/>Units<span class="tsd-signature-symbol">?:</span> <a href="WxUnits.html" class="tsd-signature-type" data-tsd-kind="Interface">WxUnits</a></div>
@@ -103,7 +103,7 @@ Array of [level,color] tuples. Colors are WEB-colors.</p>
103
103
  <h3>See</h3><p><a href="WxUnits.html">WxUnits</a></p>
104
104
  </div><aside class="tsd-sources">
105
105
  <ul>
106
- <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/utils/wxtools.ts#L151">utils/wxtools.ts:151</a></li></ul></aside></section>
106
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/utils/wxtools.ts#L151">src/utils/wxtools.ts:151</a></li></ul></aside></section>
107
107
  <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="fill" class="tsd-anchor"></a>
108
108
  <h3 class="tsd-anchor-link"><span>fill</span><a href="#fill" 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>
109
109
  <div class="tsd-signature">fill<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;none&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;gradient&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;solid&quot;</span></div>
@@ -115,11 +115,11 @@ Array of [level,color] tuples. Colors are WEB-colors.</p>
115
115
  </ul>
116
116
  </div><aside class="tsd-sources">
117
117
  <ul>
118
- <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/utils/wxtools.ts#L56">utils/wxtools.ts:56</a></li></ul></aside></section>
118
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/utils/wxtools.ts#L56">src/utils/wxtools.ts:56</a></li></ul></aside></section>
119
119
  <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="gl" class="tsd-anchor"></a>
120
120
  <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>gl</span><a href="#gl" 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
121
  <div class="tsd-signature">gl<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">{ </span><br/><span>    </span>animationIntensity<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span>    </span>animationSpeed<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span>    </span>noiseTexturePow<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span>    </span>vectorFieldFactor<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span>    </span>wavesCount<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span></div>
122
- <div class="tsd-comment tsd-typography"><p>If true then use WebGL to render tiles</p>
122
+ <div class="tsd-comment tsd-typography"><p>If exists then try to use WebGL to render tiles</p>
123
123
  </div>
124
124
  <div class="tsd-type-declaration">
125
125
  <h4>Type declaration</h4>
@@ -135,7 +135,7 @@ Array of [level,color] tuples. Colors are WEB-colors.</p>
135
135
  <li class="tsd-parameter">
136
136
  <h5><code class="tsd-tag ts-flagOptional">Optional</code> waves<wbr/>Count<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span></h5></li></ul></div><aside class="tsd-sources">
137
137
  <ul>
138
- <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/utils/wxtools.ts#L162">utils/wxtools.ts:162</a></li></ul></aside></section>
138
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/utils/wxtools.ts#L162">src/utils/wxtools.ts:162</a></li></ul></aside></section>
139
139
  <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="isolineColor" class="tsd-anchor"></a>
140
140
  <h3 class="tsd-anchor-link"><span>isoline<wbr/>Color</span><a href="#isolineColor" 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>
141
141
  <div class="tsd-signature">isoline<wbr/>Color<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;fill&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;none&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;inverted&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">`</span><span class="tsd-signature-type">#</span><span class="tsd-signature-symbol">${</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">`</span></div>
@@ -148,21 +148,21 @@ Array of [level,color] tuples. Colors are WEB-colors.</p>
148
148
  </ul>
149
149
  </div><aside class="tsd-sources">
150
150
  <ul>
151
- <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/utils/wxtools.ts#L65">utils/wxtools.ts:65</a></li></ul></aside></section>
151
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/utils/wxtools.ts#L65">src/utils/wxtools.ts:65</a></li></ul></aside></section>
152
152
  <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="isolineText" class="tsd-anchor"></a>
153
153
  <h3 class="tsd-anchor-link"><span>isoline<wbr/>Text</span><a href="#isolineText" 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>
154
154
  <div class="tsd-signature">isoline<wbr/>Text<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
155
155
  <div class="tsd-comment tsd-typography"><p>if true then render isoline text values</p>
156
156
  </div><aside class="tsd-sources">
157
157
  <ul>
158
- <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/utils/wxtools.ts#L68">utils/wxtools.ts:68</a></li></ul></aside></section>
158
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/utils/wxtools.ts#L68">src/utils/wxtools.ts:68</a></li></ul></aside></section>
159
159
  <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="levels" class="tsd-anchor"></a>
160
160
  <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>levels</span><a href="#levels" 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>
161
161
  <div class="tsd-signature">levels<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></div>
162
162
  <div class="tsd-comment tsd-typography"><p>Levels to build legend. Used if presented, otherwise 10 levels are calculated evenly on given data</p>
163
163
  </div><aside class="tsd-sources">
164
164
  <ul>
165
- <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/utils/wxtools.ts#L136">utils/wxtools.ts:136</a></li></ul></aside></section>
165
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/utils/wxtools.ts#L136">src/utils/wxtools.ts:136</a></li></ul></aside></section>
166
166
  <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="mask" class="tsd-anchor"></a>
167
167
  <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>mask</span><a href="#mask" 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>
168
168
  <div class="tsd-signature">mask<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">&quot;none&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;land&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;sea&quot;</span></div>
@@ -174,35 +174,35 @@ Array of [level,color] tuples. Colors are WEB-colors.</p>
174
174
  </ul>
175
175
  </div><aside class="tsd-sources">
176
176
  <ul>
177
- <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/utils/wxtools.ts#L159">utils/wxtools.ts:159</a></li></ul></aside></section>
177
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/utils/wxtools.ts#L159">src/utils/wxtools.ts:159</a></li></ul></aside></section>
178
178
  <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="name" class="tsd-anchor"></a>
179
179
  <h3 class="tsd-anchor-link"><span>name</span><a href="#name" 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
180
  <div class="tsd-signature">name<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
181
181
  <div class="tsd-comment tsd-typography"><p>Name of the style</p>
182
182
  </div><aside class="tsd-sources">
183
183
  <ul>
184
- <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/utils/wxtools.ts#L46">utils/wxtools.ts:46</a></li></ul></aside></section>
184
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/utils/wxtools.ts#L46">src/utils/wxtools.ts:46</a></li></ul></aside></section>
185
185
  <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="parent" class="tsd-anchor"></a>
186
186
  <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>parent</span><a href="#parent" 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>
187
187
  <div class="tsd-signature">parent<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div>
188
188
  <div class="tsd-comment tsd-typography"><p>Name of a parent style to inherit from</p>
189
189
  </div><aside class="tsd-sources">
190
190
  <ul>
191
- <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/utils/wxtools.ts#L49">utils/wxtools.ts:49</a></li></ul></aside></section>
191
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/utils/wxtools.ts#L49">src/utils/wxtools.ts:49</a></li></ul></aside></section>
192
192
  <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="showAboveMax" class="tsd-anchor"></a>
193
193
  <h3 class="tsd-anchor-link"><span>show<wbr/>Above<wbr/>Max</span><a href="#showAboveMax" 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>
194
194
  <div class="tsd-signature">show<wbr/>Above<wbr/>Max<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
195
195
  <div class="tsd-comment tsd-typography"><p>If true then fill values above style&#39;s maximum.</p>
196
196
  </div><aside class="tsd-sources">
197
197
  <ul>
198
- <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/utils/wxtools.ts#L121">utils/wxtools.ts:121</a></li></ul></aside></section>
198
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/utils/wxtools.ts#L121">src/utils/wxtools.ts:121</a></li></ul></aside></section>
199
199
  <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="showBelowMin" class="tsd-anchor"></a>
200
200
  <h3 class="tsd-anchor-link"><span>show<wbr/>Below<wbr/>Min</span><a href="#showBelowMin" 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>
201
201
  <div class="tsd-signature">show<wbr/>Below<wbr/>Min<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
202
202
  <div class="tsd-comment tsd-typography"><p>If true then fill values below style&#39;s minimum.</p>
203
203
  </div><aside class="tsd-sources">
204
204
  <ul>
205
- <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/utils/wxtools.ts#L118">utils/wxtools.ts:118</a></li></ul></aside></section>
205
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/utils/wxtools.ts#L118">src/utils/wxtools.ts:118</a></li></ul></aside></section>
206
206
  <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="streamLineColor" class="tsd-anchor"></a>
207
207
  <h3 class="tsd-anchor-link"><span>stream<wbr/>Line<wbr/>Color</span><a href="#streamLineColor" 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>
208
208
  <div class="tsd-signature">stream<wbr/>Line<wbr/>Color<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;fill&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;none&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;inverted&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">`</span><span class="tsd-signature-type">#</span><span class="tsd-signature-symbol">${</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">`</span></div>
@@ -215,7 +215,7 @@ Array of [level,color] tuples. Colors are WEB-colors.</p>
215
215
  </ul>
216
216
  </div><aside class="tsd-sources">
217
217
  <ul>
218
- <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/utils/wxtools.ts#L97">utils/wxtools.ts:97</a></li></ul></aside></section>
218
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/utils/wxtools.ts#L97">src/utils/wxtools.ts:97</a></li></ul></aside></section>
219
219
  <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="streamLineGridStep" class="tsd-anchor"></a>
220
220
  <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>stream<wbr/>Line<wbr/>Grid<wbr/>Step</span><a href="#streamLineGridStep" 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>
221
221
  <div class="tsd-signature">stream<wbr/>Line<wbr/>Grid<wbr/>Step<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span></div>
@@ -223,14 +223,14 @@ Array of [level,color] tuples. Colors are WEB-colors.</p>
223
223
  less value means more streamlines.</p>
224
224
  </div><aside class="tsd-sources">
225
225
  <ul>
226
- <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/utils/wxtools.ts#L106">utils/wxtools.ts:106</a></li></ul></aside></section>
226
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/utils/wxtools.ts#L106">src/utils/wxtools.ts:106</a></li></ul></aside></section>
227
227
  <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="streamLineSpeedFactor" class="tsd-anchor"></a>
228
228
  <h3 class="tsd-anchor-link"><span>stream<wbr/>Line<wbr/>Speed<wbr/>Factor</span><a href="#streamLineSpeedFactor" 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>
229
229
  <div class="tsd-signature">stream<wbr/>Line<wbr/>Speed<wbr/>Factor<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
230
230
  <div class="tsd-comment tsd-typography"><p>factor to scale streamlines length</p>
231
231
  </div><aside class="tsd-sources">
232
232
  <ul>
233
- <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/utils/wxtools.ts#L100">utils/wxtools.ts:100</a></li></ul></aside></section>
233
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/utils/wxtools.ts#L100">src/utils/wxtools.ts:100</a></li></ul></aside></section>
234
234
  <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="streamLineStatic" class="tsd-anchor"></a>
235
235
  <h3 class="tsd-anchor-link"><span>stream<wbr/>Line<wbr/>Static</span><a href="#streamLineStatic" 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>
236
236
  <div class="tsd-signature">stream<wbr/>Line<wbr/>Static<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
@@ -240,21 +240,21 @@ less value means more streamlines.</p>
240
240
  </ul>
241
241
  </div><aside class="tsd-sources">
242
242
  <ul>
243
- <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/utils/wxtools.ts#L115">utils/wxtools.ts:115</a></li></ul></aside></section>
243
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/utils/wxtools.ts#L115">src/utils/wxtools.ts:115</a></li></ul></aside></section>
244
244
  <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="streamLineSteps" class="tsd-anchor"></a>
245
245
  <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>stream<wbr/>Line<wbr/>Steps</span><a href="#streamLineSteps" 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>
246
246
  <div class="tsd-signature">stream<wbr/>Line<wbr/>Steps<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span></div>
247
247
  <div class="tsd-comment tsd-typography"><p>steps in each streamline</p>
248
248
  </div><aside class="tsd-sources">
249
249
  <ul>
250
- <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/utils/wxtools.ts#L109">utils/wxtools.ts:109</a></li></ul></aside></section>
250
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/utils/wxtools.ts#L109">src/utils/wxtools.ts:109</a></li></ul></aside></section>
251
251
  <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="units" class="tsd-anchor"></a>
252
252
  <h3 class="tsd-anchor-link"><span>units</span><a href="#units" 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>
253
253
  <div class="tsd-signature">units<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
254
254
  <div class="tsd-comment tsd-typography"><p>Units of the style (from the default set)</p>
255
255
  </div><aside class="tsd-sources">
256
256
  <ul>
257
- <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/utils/wxtools.ts#L145">utils/wxtools.ts:145</a></li></ul></aside></section>
257
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/utils/wxtools.ts#L145">src/utils/wxtools.ts:145</a></li></ul></aside></section>
258
258
  <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="vectorColor" class="tsd-anchor"></a>
259
259
  <h3 class="tsd-anchor-link"><span>vector<wbr/>Color</span><a href="#vectorColor" 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>
260
260
  <div class="tsd-signature">vector<wbr/>Color<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;fill&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;none&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;inverted&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">`</span><span class="tsd-signature-type">#</span><span class="tsd-signature-symbol">${</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">`</span></div>
@@ -267,14 +267,14 @@ less value means more streamlines.</p>
267
267
  </ul>
268
268
  </div><aside class="tsd-sources">
269
269
  <ul>
270
- <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/utils/wxtools.ts#L85">utils/wxtools.ts:85</a></li></ul></aside></section>
270
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/utils/wxtools.ts#L85">src/utils/wxtools.ts:85</a></li></ul></aside></section>
271
271
  <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="vectorFactor" class="tsd-anchor"></a>
272
272
  <h3 class="tsd-anchor-link"><span>vector<wbr/>Factor</span><a href="#vectorFactor" 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>
273
273
  <div class="tsd-signature">vector<wbr/>Factor<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
274
274
  <div class="tsd-comment tsd-typography"><p>Factor for vectors length</p>
275
275
  </div><aside class="tsd-sources">
276
276
  <ul>
277
- <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/utils/wxtools.ts#L88">utils/wxtools.ts:88</a></li></ul></aside></section>
277
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/utils/wxtools.ts#L88">src/utils/wxtools.ts:88</a></li></ul></aside></section>
278
278
  <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="vectorType" class="tsd-anchor"></a>
279
279
  <h3 class="tsd-anchor-link"><span>vector<wbr/>Type</span><a href="#vectorType" 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>
280
280
  <div class="tsd-signature">vector<wbr/>Type<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;none&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;arrows&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;barbs&quot;</span></div>
@@ -286,7 +286,7 @@ less value means more streamlines.</p>
286
286
  </ul>
287
287
  </div><aside class="tsd-sources">
288
288
  <ul>
289
- <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/utils/wxtools.ts#L76">utils/wxtools.ts:76</a></li></ul></aside></section></section></div>
289
+ <li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/utils/wxtools.ts#L76">src/utils/wxtools.ts:76</a></li></ul></aside></section></section></div>
290
290
  <div class="col-4 col-menu menu-sticky-wrap menu-highlight">
291
291
  <div class="tsd-navigation settings">
292
292
  <details class="tsd-index-accordion"><summary class="tsd-accordion-summary">