@metoceanapi/wxtiles-leaflet 2.0.6 → 2.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/README.md +13 -18
- package/dist/es/controls/WxAPIControl.d.ts +1 -1
- package/dist/es/controls/WxStyleEditorControl.d.ts +1 -1
- package/dist/es/controls/WxTimeControl .d.ts +2 -2
- package/dist/es/index.d.ts +6 -6
- package/dist/es/index.js +6 -1
- package/dist/es/utils/wxtools.d.ts +72 -47
- package/dist/es/wxAPI/WxDataSetManager.d.ts +7 -1
- package/dist/es/wxlayer/WxImplementation.d.ts +3 -3
- package/dist/es/wxlayer/loadertools.d.ts +1 -1
- package/dist/es/wxlayer/wxlayer.d.ts +5 -7
- package/dist/es/wxsource/wxsource.d.ts +2 -2
- package/dist/es/wxsource/wxsourcetypes.d.ts +3 -0
- package/dist/web/index.js +6 -1
- package/docs/docs/assets/search.js +1 -1
- package/docs/docs/classes/DataIntegral.html +154 -0
- package/docs/docs/classes/FrameworkParentClass.html +21 -9
- package/docs/docs/classes/Loader.html +8 -8
- package/docs/docs/classes/Painter.html +6 -6
- package/docs/docs/classes/QTree.html +6 -6
- package/docs/docs/classes/RawCLUT.html +7 -7
- package/docs/docs/classes/WxAPI.html +18 -18
- package/docs/docs/classes/WxDataSetManager.html +37 -20
- package/docs/docs/classes/WxLayer.html +25 -25
- package/docs/docs/classes/WxLayerBaseImplementation.html +33 -20
- package/docs/docs/classes/WxTileSource.html +40 -22
- package/docs/docs/enums/TileType.html +4 -4
- package/docs/docs/functions/WXLOG.html +6 -5
- package/docs/docs/functions/WxCreateLegend.html +4 -3
- package/docs/docs/functions/WxGetColorSchemes.html +4 -3
- package/docs/docs/functions/WxGetColorStyles.html +4 -3
- package/docs/docs/functions/WxTilesLogging.html +6 -5
- package/docs/docs/index.html +12 -10
- package/docs/docs/interfaces/ColorStylesIncomplete.html +4 -3
- package/docs/docs/interfaces/Converter.html +2 -2
- package/docs/docs/interfaces/DataPicture.html +9 -7
- package/docs/docs/interfaces/FrameworkOptions.html +20 -63
- package/docs/docs/interfaces/IntegralPare.html +3 -3
- package/docs/docs/interfaces/SLinePoint.html +3 -3
- package/docs/docs/interfaces/Tree.html +2 -2
- package/docs/docs/interfaces/WxAPIOptions.html +10 -10
- package/docs/docs/interfaces/WxAllBoundariesMeta.html +4 -4
- package/docs/docs/interfaces/WxBoundaryMeta.html +5 -5
- package/docs/docs/interfaces/WxColorSchemes.html +4 -3
- package/docs/docs/interfaces/WxColorStyleStrict.html +80 -60
- package/docs/docs/interfaces/WxColorStyleWeak.html +80 -60
- package/docs/docs/interfaces/WxColorStylesStrict.html +2 -2
- package/docs/docs/interfaces/WxColorStylesWeakMixed.html +4 -3
- package/docs/docs/interfaces/WxData.html +3 -3
- package/docs/docs/interfaces/WxDataSetManagerOptions.html +6 -6
- package/docs/docs/interfaces/WxDataSetsMetasJSON.html +2 -2
- package/docs/docs/interfaces/WxDatasetMeta.html +9 -9
- package/docs/docs/interfaces/WxDatasetShortMeta.html +4 -4
- package/docs/docs/interfaces/WxLayerAPI.html +19 -19
- package/docs/docs/interfaces/WxLayerBaseAPI.html +15 -15
- package/docs/docs/interfaces/WxLayerOptions.html +17 -10
- package/docs/docs/interfaces/WxLegend.html +7 -7
- package/docs/docs/interfaces/WxLngLat.html +3 -3
- package/docs/docs/interfaces/WxRasterData.html +5 -5
- package/docs/docs/interfaces/WxRequestInit.html +2 -2
- package/docs/docs/interfaces/WxSourceLayerOptions.html +109 -0
- package/docs/docs/interfaces/WxTick.html +5 -5
- package/docs/docs/interfaces/WxTileInfo.html +9 -9
- package/docs/docs/interfaces/WxTilesLibOptions.html +4 -4
- package/docs/docs/interfaces/WxUnits.html +4 -3
- package/docs/docs/interfaces/WxVariableMeta.html +6 -6
- package/docs/docs/interfaces/WxVariablesMetas.html +4 -3
- package/docs/docs/interfaces/XYZ.html +4 -4
- package/docs/docs/modules.html +5 -3
- package/docs/docs/types/DataIntegrals.html +6 -5
- package/docs/docs/types/DataPictures.html +4 -3
- package/docs/docs/types/SLine.html +4 -3
- package/docs/docs/types/SubTrees.html +4 -3
- package/docs/docs/types/SubTreesN.html +4 -3
- package/docs/docs/types/TreeN.html +4 -3
- package/docs/docs/types/UriLoaderPromiseFunc.html +4 -3
- package/docs/docs/types/WxDate.html +4 -3
- package/docs/docs/types/WxURIs.html +4 -3
- package/docs/docs/types/WxUnitTuple.html +4 -3
- package/docs/docs/types/WxVars.html +4 -3
- package/docs/examples/res/icon.png +0 -0
- package/docs/examples/res/wxtiles-logo.png +0 -0
- package/docs/examples/simpleDemo.html +59 -0
- package/docs/script/script.js +8 -3
- package/package.json +2 -2
- package/src_example/index.ts +116 -55
- package/build-for-docs.js +0 -23
- package/docs/docs/interfaces/DataIntegral.html +0 -112
|
@@ -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/
|
|
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>
|
|
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">
|
|
@@ -61,127 +61,140 @@
|
|
|
61
61
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="addDegrees" class="tsd-anchor"></a>
|
|
62
62
|
<h3 class="tsd-anchor-link"><span>add<wbr/>Degrees</span><a href="#addDegrees" 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>
|
|
63
63
|
<div class="tsd-signature">add<wbr/>Degrees<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
|
|
64
|
-
<div class="tsd-comment tsd-typography"><p>
|
|
64
|
+
<div class="tsd-comment tsd-typography"><p>Additional rotation of all wind or current's vectors or directions by angle in degrees.</p>
|
|
65
65
|
</div><aside class="tsd-sources">
|
|
66
66
|
<ul>
|
|
67
|
-
<li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/
|
|
67
|
+
<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
68
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="blurRadius" class="tsd-anchor"></a>
|
|
69
69
|
<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>
|
|
70
70
|
<div class="tsd-signature">blur<wbr/>Radius<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
|
|
71
71
|
<div class="tsd-comment tsd-typography"><p>radius for the BOX filter</p>
|
|
72
72
|
</div><aside class="tsd-sources">
|
|
73
73
|
<ul>
|
|
74
|
-
<li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/
|
|
74
|
+
<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
75
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="colorMap" class="tsd-anchor"></a>
|
|
76
76
|
<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>
|
|
77
77
|
<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>
|
|
78
|
-
<div class="tsd-comment tsd-typography"><p>
|
|
78
|
+
<div class="tsd-comment tsd-typography"><p>Used if presented instead of levels, colors, colorScheme.
|
|
79
|
+
Array of [level,color] tuples. Colors are WEB-colors.</p>
|
|
79
80
|
</div><aside class="tsd-sources">
|
|
80
81
|
<ul>
|
|
81
|
-
<li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/
|
|
82
|
+
<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>
|
|
82
83
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="colorScheme" class="tsd-anchor"></a>
|
|
83
84
|
<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>
|
|
84
85
|
<div class="tsd-signature">color<wbr/>Scheme<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
|
85
|
-
<div class="tsd-comment tsd-typography"><p>
|
|
86
|
+
<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>
|
|
86
87
|
</div><aside class="tsd-sources">
|
|
87
88
|
<ul>
|
|
88
|
-
<li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/
|
|
89
|
+
<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>
|
|
89
90
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="colors" class="tsd-anchor"></a>
|
|
90
91
|
<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>
|
|
91
92
|
<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>
|
|
92
|
-
<div class="tsd-comment tsd-typography"><p>
|
|
93
|
+
<div class="tsd-comment tsd-typography"><p>Used if presented instead of colorScheme</p>
|
|
93
94
|
</div><aside class="tsd-sources">
|
|
94
95
|
<ul>
|
|
95
|
-
<li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/
|
|
96
|
+
<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>
|
|
96
97
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="extraUnits" class="tsd-anchor"></a>
|
|
97
98
|
<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>
|
|
98
99
|
<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>
|
|
99
|
-
<div class="tsd-comment tsd-typography"><p>Additional
|
|
100
|
+
<div class="tsd-comment tsd-typography"><p>Additional extend of default <a href="WxColorStyleStrict.html#units">units</a>.</p>
|
|
100
101
|
|
|
101
102
|
<h3>See</h3><p><a href="WxUnits.html">WxUnits</a></p>
|
|
102
103
|
</div><aside class="tsd-sources">
|
|
103
104
|
<ul>
|
|
104
|
-
<li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/
|
|
105
|
+
<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>
|
|
105
106
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="fill" class="tsd-anchor"></a>
|
|
106
107
|
<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>
|
|
107
108
|
<div class="tsd-signature">fill<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"none"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"gradient"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"solid"</span></div>
|
|
108
|
-
<div class="tsd-comment tsd-typography"><p>
|
|
109
|
+
<div class="tsd-comment tsd-typography"><p>Tile filling schema.</p>
|
|
110
|
+
<ul>
|
|
111
|
+
<li><strong>'none'</strong> means no fill, leave the tile transparent</li>
|
|
112
|
+
<li><strong>'solid'</strong> means solid fill, no gradient between levels.</li>
|
|
113
|
+
<li><strong>'gradient'</strong> means gradient fill.</li>
|
|
114
|
+
</ul>
|
|
109
115
|
</div><aside class="tsd-sources">
|
|
110
116
|
<ul>
|
|
111
|
-
<li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/
|
|
117
|
+
<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>
|
|
112
118
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="isolineColor" class="tsd-anchor"></a>
|
|
113
119
|
<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>
|
|
114
120
|
<div class="tsd-signature">isoline<wbr/>Color<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"fill"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"none"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"inverted"</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>
|
|
115
|
-
<div class="tsd-comment tsd-typography"><p>
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
121
|
+
<div class="tsd-comment tsd-typography"><p>Color of isolines.</p>
|
|
122
|
+
<ul>
|
|
123
|
+
<li><strong>'none'</strong> do not render.</li>
|
|
124
|
+
<li><strong>'fill'</strong> using value of <a href="WxColorStyleStrict.html#fill">fill</a> in each pixel.</li>
|
|
125
|
+
<li><strong>'inverted'</strong> using <em>inverted</em> value of <a href="WxColorStyleStrict.html#fill">fill</a> in each pixel.</li>
|
|
126
|
+
<li><strong>'#RGB'</strong> or '<strong>#RRGGBB</strong>' or '<strong>#RRGGBBAA</strong>' - using this WEB-color.</li>
|
|
127
|
+
</ul>
|
|
119
128
|
</div><aside class="tsd-sources">
|
|
120
129
|
<ul>
|
|
121
|
-
<li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/
|
|
130
|
+
<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>
|
|
122
131
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="isolineText" class="tsd-anchor"></a>
|
|
123
132
|
<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>
|
|
124
133
|
<div class="tsd-signature">isoline<wbr/>Text<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
|
|
125
134
|
<div class="tsd-comment tsd-typography"><p>if true then render isoline text values</p>
|
|
126
135
|
</div><aside class="tsd-sources">
|
|
127
136
|
<ul>
|
|
128
|
-
<li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/
|
|
137
|
+
<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>
|
|
129
138
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="levels" class="tsd-anchor"></a>
|
|
130
139
|
<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>
|
|
131
140
|
<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>
|
|
132
|
-
<div class="tsd-comment tsd-typography"><p>
|
|
141
|
+
<div class="tsd-comment tsd-typography"><p>Levels to build legend. Used if presented, otherwise 10 levels are calculated evenly on given data</p>
|
|
133
142
|
</div><aside class="tsd-sources">
|
|
134
143
|
<ul>
|
|
135
|
-
<li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/
|
|
144
|
+
<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>
|
|
136
145
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="mask" class="tsd-anchor"></a>
|
|
137
146
|
<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>
|
|
138
147
|
<div class="tsd-signature">mask<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">"none"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"land"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"sea"</span></div>
|
|
139
|
-
<div class="tsd-comment tsd-typography"><p>masking
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
148
|
+
<div class="tsd-comment tsd-typography"><p>masking:</p>
|
|
149
|
+
<ul>
|
|
150
|
+
<li><strong>'none'</strong> - no masking.</li>
|
|
151
|
+
<li><strong>'sea'</strong> - make sea transparent.</li>
|
|
152
|
+
<li><strong>'land'</strong> - make land transparent.</li>
|
|
153
|
+
</ul>
|
|
143
154
|
</div><aside class="tsd-sources">
|
|
144
155
|
<ul>
|
|
145
|
-
<li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/
|
|
156
|
+
<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>
|
|
146
157
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="name" class="tsd-anchor"></a>
|
|
147
158
|
<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>
|
|
148
159
|
<div class="tsd-signature">name<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
|
149
|
-
<div class="tsd-comment tsd-typography"><p>
|
|
160
|
+
<div class="tsd-comment tsd-typography"><p>Name of the style</p>
|
|
150
161
|
</div><aside class="tsd-sources">
|
|
151
162
|
<ul>
|
|
152
|
-
<li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/
|
|
163
|
+
<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>
|
|
153
164
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="parent" class="tsd-anchor"></a>
|
|
154
165
|
<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>
|
|
155
166
|
<div class="tsd-signature">parent<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div>
|
|
156
|
-
<div class="tsd-comment tsd-typography"><p>
|
|
167
|
+
<div class="tsd-comment tsd-typography"><p>Name of a parent style to inherit from</p>
|
|
157
168
|
</div><aside class="tsd-sources">
|
|
158
169
|
<ul>
|
|
159
|
-
<li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/
|
|
170
|
+
<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>
|
|
160
171
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="showAboveMax" class="tsd-anchor"></a>
|
|
161
172
|
<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>
|
|
162
173
|
<div class="tsd-signature">show<wbr/>Above<wbr/>Max<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
|
|
163
|
-
<div class="tsd-comment tsd-typography"><p>
|
|
174
|
+
<div class="tsd-comment tsd-typography"><p>If true then fill values above style's maximum.</p>
|
|
164
175
|
</div><aside class="tsd-sources">
|
|
165
176
|
<ul>
|
|
166
|
-
<li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/
|
|
177
|
+
<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>
|
|
167
178
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="showBelowMin" class="tsd-anchor"></a>
|
|
168
179
|
<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>
|
|
169
180
|
<div class="tsd-signature">show<wbr/>Below<wbr/>Min<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
|
|
170
|
-
<div class="tsd-comment tsd-typography"><p>
|
|
181
|
+
<div class="tsd-comment tsd-typography"><p>If true then fill values below style's minimum.</p>
|
|
171
182
|
</div><aside class="tsd-sources">
|
|
172
183
|
<ul>
|
|
173
|
-
<li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/
|
|
184
|
+
<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>
|
|
174
185
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="streamLineColor" class="tsd-anchor"></a>
|
|
175
186
|
<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>
|
|
176
187
|
<div class="tsd-signature">stream<wbr/>Line<wbr/>Color<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"fill"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"none"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"inverted"</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>
|
|
177
|
-
<div class="tsd-comment tsd-typography"><p>Draw streamlines
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
188
|
+
<div class="tsd-comment tsd-typography"><p>Draw streamlines:</p>
|
|
189
|
+
<ul>
|
|
190
|
+
<li><strong>'none'</strong> means no streamlines.</li>
|
|
191
|
+
<li><strong>'fill'</strong> using value of <a href="WxColorStyleStrict.html#fill">fill</a> in each pixel.</li>
|
|
192
|
+
<li><strong>'inverted'</strong> using <em>inverted</em> value of <a href="WxColorStyleStrict.html#fill">fill</a> in each pixel.</li>
|
|
193
|
+
<li><strong>'#RGB'</strong> or '<strong>#RRGGBB</strong>' or '<strong>#RRGGBBAA</strong>' - using this WEB-color.</li>
|
|
194
|
+
</ul>
|
|
182
195
|
</div><aside class="tsd-sources">
|
|
183
196
|
<ul>
|
|
184
|
-
<li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/
|
|
197
|
+
<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>
|
|
185
198
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="streamLineGridStep" class="tsd-anchor"></a>
|
|
186
199
|
<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>
|
|
187
200
|
<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>
|
|
@@ -189,63 +202,70 @@
|
|
|
189
202
|
less value means more streamlines.</p>
|
|
190
203
|
</div><aside class="tsd-sources">
|
|
191
204
|
<ul>
|
|
192
|
-
<li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/
|
|
205
|
+
<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>
|
|
193
206
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="streamLineSpeedFactor" class="tsd-anchor"></a>
|
|
194
207
|
<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>
|
|
195
208
|
<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>
|
|
196
209
|
<div class="tsd-comment tsd-typography"><p>factor to scale streamlines length</p>
|
|
197
210
|
</div><aside class="tsd-sources">
|
|
198
211
|
<ul>
|
|
199
|
-
<li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/
|
|
212
|
+
<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>
|
|
200
213
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="streamLineStatic" class="tsd-anchor"></a>
|
|
201
214
|
<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>
|
|
202
215
|
<div class="tsd-signature">stream<wbr/>Line<wbr/>Static<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
|
|
203
|
-
<div class="tsd-comment tsd-typography"><
|
|
204
|
-
if
|
|
216
|
+
<div class="tsd-comment tsd-typography"><ul>
|
|
217
|
+
<li>if true then render streamlines as static lines.</li>
|
|
218
|
+
<li>if false then render streamlines as animated lines.</li>
|
|
219
|
+
</ul>
|
|
205
220
|
</div><aside class="tsd-sources">
|
|
206
221
|
<ul>
|
|
207
|
-
<li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/
|
|
222
|
+
<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>
|
|
208
223
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="streamLineSteps" class="tsd-anchor"></a>
|
|
209
224
|
<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>
|
|
210
225
|
<div class="tsd-signature">stream<wbr/>Line<wbr/>Steps<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span></div>
|
|
211
226
|
<div class="tsd-comment tsd-typography"><p>steps in each streamline</p>
|
|
212
227
|
</div><aside class="tsd-sources">
|
|
213
228
|
<ul>
|
|
214
|
-
<li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/
|
|
229
|
+
<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>
|
|
215
230
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="units" class="tsd-anchor"></a>
|
|
216
231
|
<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>
|
|
217
232
|
<div class="tsd-signature">units<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
|
218
233
|
<div class="tsd-comment tsd-typography"><p>Units of the style (from the default set)</p>
|
|
219
234
|
</div><aside class="tsd-sources">
|
|
220
235
|
<ul>
|
|
221
|
-
<li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/
|
|
236
|
+
<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>
|
|
222
237
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="vectorColor" class="tsd-anchor"></a>
|
|
223
238
|
<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>
|
|
224
239
|
<div class="tsd-signature">vector<wbr/>Color<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"fill"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"none"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"inverted"</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>
|
|
225
|
-
<div class="tsd-comment tsd-typography"><p>
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
240
|
+
<div class="tsd-comment tsd-typography"><p>Color of vectors.</p>
|
|
241
|
+
<ul>
|
|
242
|
+
<li><strong>'none'</strong> do not render vectors.</li>
|
|
243
|
+
<li><strong>'fill'</strong> using value of <a href="WxColorStyleStrict.html#fill">fill</a> in each pixel.</li>
|
|
244
|
+
<li><strong>'inverted'</strong> using <em>inverted</em> value of <a href="WxColorStyleStrict.html#fill">fill</a> in each pixel.</li>
|
|
245
|
+
<li><strong>'#RGB'</strong> or '<strong>#RRGGBB</strong>' or '<strong>#RRGGBBAA</strong>' - using this WEB-color.</li>
|
|
246
|
+
</ul>
|
|
230
247
|
</div><aside class="tsd-sources">
|
|
231
248
|
<ul>
|
|
232
|
-
<li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/
|
|
249
|
+
<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>
|
|
233
250
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="vectorFactor" class="tsd-anchor"></a>
|
|
234
251
|
<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>
|
|
235
252
|
<div class="tsd-signature">vector<wbr/>Factor<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
|
|
236
|
-
<div class="tsd-comment tsd-typography"><p>
|
|
253
|
+
<div class="tsd-comment tsd-typography"><p>Factor for vectors length</p>
|
|
237
254
|
</div><aside class="tsd-sources">
|
|
238
255
|
<ul>
|
|
239
|
-
<li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/
|
|
256
|
+
<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>
|
|
240
257
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="vectorType" class="tsd-anchor"></a>
|
|
241
258
|
<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>
|
|
242
259
|
<div class="tsd-signature">vector<wbr/>Type<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"none"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"arrows"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"barbs"</span></div>
|
|
243
|
-
<div class="tsd-comment tsd-typography"><p
|
|
244
|
-
|
|
245
|
-
|
|
260
|
+
<div class="tsd-comment tsd-typography"><p>Representation of the wind/current field.</p>
|
|
261
|
+
<ul>
|
|
262
|
+
<li><strong>'none'</strong> do not render vectors.</li>
|
|
263
|
+
<li><strong>'arrows'</strong> use arrows to represent winds/currents.</li>
|
|
264
|
+
<li><strong>'barbs'</strong> use barbs.</li>
|
|
265
|
+
</ul>
|
|
246
266
|
</div><aside class="tsd-sources">
|
|
247
267
|
<ul>
|
|
248
|
-
<li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/
|
|
268
|
+
<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>
|
|
249
269
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
250
270
|
<div class="tsd-navigation settings">
|
|
251
271
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|