@metoceanapi/wxtiles-leaflet 2.2.0 → 2.4.0-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/GPLv3.txt +674 -0
- package/LICENSE.txt +12 -9
- package/README.md +16 -3
- package/dep.dot +33 -0
- package/dep.svg +233 -0
- package/dist/es/customlayer/customlayer.d.ts +3 -0
- package/dist/es/index.d.ts +19 -13
- package/dist/es/index.js +6 -2
- package/dist/es/wxAPI/WxAPI.d.ts +3 -61
- package/dist/es/wxAPI/WxDataSetManager.d.ts +35 -123
- package/dist/es/wxsource/wxsource.d.ts +118 -51
- package/dist/es/wxsource/wxsourcetypes.d.ts +70 -10
- package/dist/web/index.js +6 -2
- package/docs/docs/assets/highlight.css +7 -0
- package/docs/docs/assets/search.js +1 -1
- package/docs/docs/classes/CustomWxTilesLayer.html +4 -1
- package/docs/docs/classes/DataIntegral.html +9 -9
- package/docs/docs/classes/QTree.html +41 -14
- package/docs/docs/classes/RawCLUT.html +9 -9
- package/docs/docs/classes/TilesCache.html +5 -5
- package/docs/docs/classes/WxAPI.html +109 -79
- package/docs/docs/classes/WxAPIControl.html +242 -0
- package/docs/docs/classes/WxDataSetManager.html +166 -118
- package/docs/docs/classes/WxInfoControl.html +172 -0
- package/docs/docs/classes/WxLegendControl.html +166 -0
- package/docs/docs/classes/WxStyleEditorControl.html +462 -0
- package/docs/docs/classes/WxTileSource.html +204 -108
- package/docs/docs/classes/WxTimeControl.html +219 -0
- package/docs/docs/enums/TileType.html +4 -4
- package/docs/docs/functions/WXLOG.html +10 -5
- package/docs/docs/functions/WxCreateLegend.html +14 -9
- package/docs/docs/functions/WxGetColorSchemes.html +10 -5
- package/docs/docs/functions/WxGetColorStyles.html +10 -5
- package/docs/docs/functions/WxTilesLogging.html +13 -5
- package/docs/docs/index.html +27 -7
- package/docs/docs/interfaces/CachedUriLoaderPromiseFunc.html +7 -5
- package/docs/docs/interfaces/ColorStylesIncomplete.html +10 -5
- package/docs/docs/interfaces/Converter.html +3 -5
- package/docs/docs/interfaces/DataPicture.html +5 -5
- package/docs/docs/interfaces/FrameworkOptions.html +12 -6
- package/docs/docs/interfaces/IntegralPare.html +3 -3
- package/docs/docs/interfaces/SLinePoint.html +4 -4
- package/docs/docs/interfaces/Tree.html +11 -7
- package/docs/docs/interfaces/WxAPIOptions.html +33 -24
- package/docs/docs/interfaces/WxAllBoundariesMeta.html +14 -9
- package/docs/docs/interfaces/WxAllDatasetsShortMetas.html +11 -6
- package/docs/docs/interfaces/WxBoundaryMeta.html +18 -10
- package/docs/docs/interfaces/WxColorSchemes.html +10 -5
- package/docs/docs/interfaces/WxColorStyleStrict.html +44 -26
- package/docs/docs/interfaces/WxColorStyleWeak.html +46 -26
- package/docs/docs/interfaces/WxColorStylesStrict.html +2 -2
- package/docs/docs/interfaces/WxColorStylesWeakMixed.html +10 -5
- package/docs/docs/interfaces/WxData.html +10 -6
- package/docs/docs/interfaces/WxDataSetManagerOptions.html +15 -15
- package/docs/docs/interfaces/WxDatasetMeta.html +20 -20
- package/docs/docs/interfaces/WxDatasetShortMeta.html +9 -8
- package/docs/docs/interfaces/WxLayerAPI.html +24 -28
- package/docs/docs/interfaces/WxLayerBaseAPI.html +18 -22
- package/docs/docs/interfaces/WxLayerOptions.html +18 -13
- package/docs/docs/interfaces/WxLegend.html +16 -15
- package/docs/docs/interfaces/WxLngLat.html +3 -3
- package/docs/docs/interfaces/WxRasterData.html +11 -8
- package/docs/docs/interfaces/WxRequestInit.html +2 -2
- package/docs/docs/interfaces/WxSourceLayerOptions.html +14 -12
- package/docs/docs/interfaces/WxTick.html +8 -7
- package/docs/docs/interfaces/WxTileInfo.html +10 -10
- package/docs/docs/interfaces/WxUnits.html +10 -5
- package/docs/docs/interfaces/WxVariableMeta.html +13 -12
- package/docs/docs/interfaces/WxVariablesMetas.html +11 -6
- package/docs/docs/interfaces/XYZ.html +4 -4
- package/docs/docs/modules.html +21 -8
- package/docs/docs/types/DataIntegrals.html +10 -5
- package/docs/docs/types/DataPictures.html +10 -5
- package/docs/docs/types/ListenerMethod.html +10 -5
- package/docs/docs/types/Loader.html +116 -0
- package/docs/docs/types/Painter.html +116 -0
- package/docs/docs/types/SLine.html +11 -6
- package/docs/docs/types/SubTrees.html +10 -5
- package/docs/docs/types/SubTreesN.html +12 -7
- package/docs/docs/types/TreeN.html +12 -7
- package/docs/docs/types/WxDate.html +10 -5
- package/docs/docs/types/WxEventType.html +10 -5
- package/docs/docs/types/WxInstances.html +13 -6
- package/docs/docs/types/WxLayer.html +116 -0
- package/docs/docs/types/WxLayerVarsNames.html +11 -6
- package/docs/docs/types/WxURIs.html +10 -5
- package/docs/docs/types/WxUnitTuple.html +10 -5
- package/docs/docs/variables/WxLayerBaseImplementation.html +116 -0
- package/docs/script/script.js +6 -6
- package/hooks/pre-commit +29 -0
- package/package.json +9 -2
- package/src_example/frwrkdeps.ts +57 -18
- package/src_example/index.ts +2 -2
- package/src_example/start.ts +101 -47
- package/watch-public.mjs +16 -12
- package/dist/es/controls/WxAPIControl.d.ts +0 -19
- package/dist/es/controls/WxInfoControl.d.ts +0 -16
- package/dist/es/controls/WxLegendControl.d.ts +0 -14
- package/dist/es/controls/WxStyleEditorControl.d.ts +0 -52
- package/dist/es/controls/WxTimeControl .d.ts +0 -18
- package/dist/es/defaults/colorschemes.d.ts +0 -2
- package/dist/es/defaults/styles.d.ts +0 -2
- package/dist/es/defaults/uconv.d.ts +0 -2
- package/dist/es/utils/RawCLUT.d.ts +0 -57
- package/dist/es/utils/mercator.d.ts +0 -4
- package/dist/es/utils/qtree.d.ts +0 -27
- package/dist/es/utils/tests_wxtools.d.ts +0 -1
- package/dist/es/utils/wxtools.d.ts +0 -357
- package/dist/es/wxAPI/WxAPItypes.d.ts +0 -152
- package/dist/es/wxlayer/WxImplementation.d.ts +0 -189
- package/dist/es/wxlayer/loader.d.ts +0 -54
- package/dist/es/wxlayer/loadertools.d.ts +0 -50
- package/dist/es/wxlayer/painter.d.ts +0 -58
- package/dist/es/wxlayer/wxlayer.d.ts +0 -186
- package/docs/docs/classes/Loader.html +0 -165
- package/docs/docs/classes/Painter.html +0 -161
- package/docs/docs/classes/WxLayer.html +0 -419
- package/docs/docs/classes/WxLayerBaseImplementation.html +0 -427
- package/docs/examples/interactive.html +0 -84
- package/docs/examples/res/icon.png +0 -0
- package/docs/examples/res/wxtiles-logo.png +0 -0
- package/docs/examples/seaMaskAndAnimatedBlur.html +0 -76
- package/docs/examples/simpleDemo.html +0 -70
|
@@ -15,18 +15,14 @@
|
|
|
15
15
|
<li><a href="../modules.html">@metoceanapi/wxtiles-leaflet</a></li>
|
|
16
16
|
<li><a href="WxAPI.html">WxAPI</a></li></ul>
|
|
17
17
|
<h1>Class WxAPI</h1></div>
|
|
18
|
-
<section class="tsd-panel tsd-comment">
|
|
19
|
-
<div class="tsd-comment tsd-typography"><p>WxAPI is an initialisation object for the library. See <a href="../interfaces/WxAPIOptions.html">WxAPIOptions</a> for options.</p>
|
|
20
|
-
|
|
21
|
-
<h3>Example</h3><pre><code class="language-typescript"><span class="hl-0">import</span><span class="hl-1"> { </span><span class="hl-3">WxAPI</span><span class="hl-1"> } </span><span class="hl-0">from</span><span class="hl-1"> </span><span class="hl-2">'wx-tiles'</span><span class="hl-1">;</span><br/><span class="hl-6">const</span><span class="hl-1"> </span><span class="hl-7">wxapi</span><span class="hl-1"> = </span><span class="hl-6">new</span><span class="hl-1"> </span><span class="hl-4">WxAPI</span><span class="hl-1">({</span><br/><span class="hl-1"> </span><span class="hl-3">dataServerURL:</span><span class="hl-1"> </span><span class="hl-2">'https://server.com/'</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-5">// other options</span><br/><span class="hl-1">});</span>
|
|
22
|
-
</code></pre>
|
|
23
|
-
</div></section>
|
|
24
18
|
<section class="tsd-panel tsd-hierarchy">
|
|
25
19
|
<h4>Hierarchy</h4>
|
|
26
20
|
<ul class="tsd-hierarchy">
|
|
27
|
-
<li><span class="
|
|
21
|
+
<li><span class="tsd-signature-type">WxAPI</span>
|
|
22
|
+
<ul class="tsd-hierarchy">
|
|
23
|
+
<li><span class="target">WxAPI</span></li></ul></li></ul></section><aside class="tsd-sources">
|
|
28
24
|
<ul>
|
|
29
|
-
<li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/wxAPI/WxAPI.ts#
|
|
25
|
+
<li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/wxAPI/WxAPI.ts#L4">wxtiles-leaflet/src/wxAPI/WxAPI.ts:4</a></li></ul></aside>
|
|
30
26
|
<section class="tsd-panel-group tsd-index-group">
|
|
31
27
|
<section class="tsd-panel tsd-index-panel">
|
|
32
28
|
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
|
@@ -34,60 +30,75 @@
|
|
|
34
30
|
<div class="tsd-accordion-details">
|
|
35
31
|
<section class="tsd-index-section">
|
|
36
32
|
<h3 class="tsd-index-heading">Constructors</h3>
|
|
37
|
-
<div class="tsd-index-list"><a href="WxAPI.html#constructor" class="tsd-index-link tsd-kind-constructor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#4D7FFF" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-512-path"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)" id="icon-512-text"></path></svg><span>constructor</span></a>
|
|
33
|
+
<div class="tsd-index-list"><a href="WxAPI.html#constructor" class="tsd-index-link tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#4D7FFF" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-512-path"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)" id="icon-512-text"></path></svg><span>constructor</span></a>
|
|
38
34
|
</div></section>
|
|
39
35
|
<section class="tsd-index-section">
|
|
40
36
|
<h3 class="tsd-index-heading">Properties</h3>
|
|
41
|
-
<div class="tsd-index-list"><a href="WxAPI.html#dataServerURL" class="tsd-index-link tsd-kind-property tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-1024-path"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)" id="icon-1024-text"></path></svg><span>data<wbr/>ServerURL</span></a>
|
|
42
|
-
<a href="WxAPI.html#
|
|
43
|
-
<a href="WxAPI.html#
|
|
44
|
-
<a href="WxAPI.html#
|
|
45
|
-
<a href="WxAPI.html#
|
|
46
|
-
<a href="WxAPI.html#
|
|
47
|
-
<a href="WxAPI.html#
|
|
48
|
-
<a href="WxAPI.html#
|
|
37
|
+
<div class="tsd-index-list"><a href="WxAPI.html#dataServerURL" class="tsd-index-link tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-1024-path"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)" id="icon-1024-text"></path></svg><span>data<wbr/>ServerURL</span></a>
|
|
38
|
+
<a href="WxAPI.html#ext" class="tsd-index-link tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>ext</span></a>
|
|
39
|
+
<a href="WxAPI.html#initDone" class="tsd-index-link tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>init<wbr/>Done</span></a>
|
|
40
|
+
<a href="WxAPI.html#loadMaskFunc" class="tsd-index-link tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>load<wbr/>Mask<wbr/>Func</span></a>
|
|
41
|
+
<a href="WxAPI.html#maskChannel" class="tsd-index-link tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>mask<wbr/>Channel</span></a>
|
|
42
|
+
<a href="WxAPI.html#maskDepth" class="tsd-index-link tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>mask<wbr/>Depth</span></a>
|
|
43
|
+
<a href="WxAPI.html#maskURL" class="tsd-index-link tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>maskURL</span></a>
|
|
44
|
+
<a href="WxAPI.html#qtree" class="tsd-index-link tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>qtree</span></a>
|
|
45
|
+
<a href="WxAPI.html#requestInit" class="tsd-index-link tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>request<wbr/>Init?</span></a>
|
|
49
46
|
</div></section>
|
|
50
47
|
<section class="tsd-index-section">
|
|
51
48
|
<h3 class="tsd-index-heading">Methods</h3>
|
|
52
49
|
<div class="tsd-index-list"><a href="WxAPI.html#createDatasetManager" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF4DB8" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-2048-path"></rect><path d="M9.162 16V7.24H10.578L11.514 10.072C11.602 10.328 11.674 10.584 11.73 10.84C11.794 11.088 11.842 11.28 11.874 11.416C11.906 11.28 11.954 11.088 12.018 10.84C12.082 10.584 12.154 10.324 12.234 10.06L13.122 7.24H14.538V16H13.482V12.82C13.482 12.468 13.49 12.068 13.506 11.62C13.53 11.172 13.558 10.716 13.59 10.252C13.622 9.78 13.654 9.332 13.686 8.908C13.726 8.476 13.762 8.1 13.794 7.78L12.366 12.16H11.334L9.894 7.78C9.934 8.092 9.97 8.456 10.002 8.872C10.042 9.28 10.078 9.716 10.11 10.18C10.142 10.636 10.166 11.092 10.182 11.548C10.206 12.004 10.218 12.428 10.218 12.82V16H9.162Z" fill="var(--color-text)" id="icon-2048-text"></path></svg><span>create<wbr/>Dataset<wbr/>Manager</span></a>
|
|
53
|
-
<a href="WxAPI.html#
|
|
54
|
-
<a href="WxAPI.html#
|
|
55
|
-
<a href="WxAPI.html#
|
|
50
|
+
<a href="WxAPI.html#createDatasetManagerOptions" class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>create<wbr/>Dataset<wbr/>Manager<wbr/>Options</span></a>
|
|
51
|
+
<a href="WxAPI.html#filterDatasetsByVariableName" class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>filter<wbr/>Datasets<wbr/>By<wbr/>Variable<wbr/>Name</span></a>
|
|
52
|
+
<a href="WxAPI.html#getAllDatasetsNames" class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>get<wbr/>All<wbr/>Datasets<wbr/>Names</span></a>
|
|
53
|
+
<a href="WxAPI.html#getDatasetAllVariables" class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>get<wbr/>Dataset<wbr/>All<wbr/>Variables</span></a>
|
|
56
54
|
</div></section></div></details></section></section>
|
|
57
55
|
<section class="tsd-panel-group tsd-member-group">
|
|
58
56
|
<h2>Constructors</h2>
|
|
59
|
-
<section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class"><a id="constructor" class="tsd-anchor"></a>
|
|
57
|
+
<section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited"><a id="constructor" class="tsd-anchor"></a>
|
|
60
58
|
<h3 class="tsd-anchor-link"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></h3>
|
|
61
|
-
<ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class">
|
|
59
|
+
<ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited">
|
|
62
60
|
<li class="tsd-signature tsd-anchor-link" id="constructor.new_WxAPI">new <wbr/>WxAPI<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">: </span><a href="../interfaces/WxAPIOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">WxAPIOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="WxAPI.html" class="tsd-signature-type" data-tsd-kind="Class">WxAPI</a><a href="#constructor.new_WxAPI" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
|
63
61
|
<li class="tsd-description">
|
|
62
|
+
<div class="tsd-comment tsd-typography"><p>Initializes a new instance of the <a href="WxAPI.html">WxAPI</a> class.</p>
|
|
63
|
+
</div>
|
|
64
64
|
<div class="tsd-parameters">
|
|
65
65
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
66
66
|
<ul class="tsd-parameter-list">
|
|
67
67
|
<li>
|
|
68
68
|
<h5>options: <a href="../interfaces/WxAPIOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">WxAPIOptions</a></h5>
|
|
69
|
-
<div class="tsd-comment tsd-typography"><p>
|
|
69
|
+
<div class="tsd-comment tsd-typography"><p>Configuration options for the WxAPI instance. See <a href="../interfaces/WxAPIOptions.html">WxAPIOptions</a>.</p>
|
|
70
70
|
</div></li></ul></div>
|
|
71
71
|
<h4 class="tsd-returns-title">Returns <a href="WxAPI.html" class="tsd-signature-type" data-tsd-kind="Class">WxAPI</a></h4><aside class="tsd-sources">
|
|
72
|
+
<p>Inherited from BaseWxAPI.constructor</p>
|
|
72
73
|
<ul>
|
|
73
|
-
<li>Defined in <a href="https://github.com/metoceanapi/wxtiles-
|
|
74
|
+
<li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/main/wxapi.ts#L80">wxtiles-common/wxapi.ts:80</a></li></ul></aside></li></ul></section></section>
|
|
74
75
|
<section class="tsd-panel-group tsd-member-group">
|
|
75
76
|
<h2>Properties</h2>
|
|
76
|
-
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="dataServerURL" class="tsd-anchor"></a>
|
|
77
|
+
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="dataServerURL" class="tsd-anchor"></a>
|
|
77
78
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>data<wbr/>ServerURL</span><a href="#dataServerURL" 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
79
|
<div class="tsd-signature">data<wbr/>ServerURL<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
|
80
|
+
<div class="tsd-comment tsd-typography"><p>The URL of the data server. See <a href="../interfaces/WxAPIOptions.html">WxAPIOptions</a> for configuration details.</p>
|
|
81
|
+
</div><aside class="tsd-sources">
|
|
82
|
+
<p>Inherited from BaseWxAPI.dataServerURL</p>
|
|
83
|
+
<ul>
|
|
84
|
+
<li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/main/wxapi.ts#L35">wxtiles-common/wxapi.ts:35</a></li></ul></aside></section>
|
|
85
|
+
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="ext" class="tsd-anchor"></a>
|
|
86
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>ext</span><a href="#ext" 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>
|
|
87
|
+
<div class="tsd-signature">ext<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
|
79
88
|
<div class="tsd-comment tsd-typography"><p>see <a href="../interfaces/WxAPIOptions.html">WxAPIOptions</a></p>
|
|
80
89
|
</div><aside class="tsd-sources">
|
|
90
|
+
<p>Inherited from BaseWxAPI.ext</p>
|
|
81
91
|
<ul>
|
|
82
|
-
<li>Defined in <a href="https://github.com/metoceanapi/wxtiles-
|
|
83
|
-
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="initDone" class="tsd-anchor"></a>
|
|
92
|
+
<li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/main/wxapi.ts#L38">wxtiles-common/wxapi.ts:38</a></li></ul></aside></section>
|
|
93
|
+
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="initDone" class="tsd-anchor"></a>
|
|
84
94
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>init<wbr/>Done</span><a href="#initDone" 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>
|
|
85
95
|
<div class="tsd-signature">init<wbr/>Done<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></div>
|
|
86
|
-
<div class="tsd-comment tsd-typography"><p>
|
|
96
|
+
<div class="tsd-comment tsd-typography"><p>A Promise that resolves when the <a href="WxAPI.html">WxAPI</a> instance is fully initialized and ready to be used.</p>
|
|
87
97
|
</div><aside class="tsd-sources">
|
|
98
|
+
<p>Inherited from BaseWxAPI.initDone</p>
|
|
88
99
|
<ul>
|
|
89
|
-
<li>Defined in <a href="https://github.com/metoceanapi/wxtiles-
|
|
90
|
-
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="loadMaskFunc" class="tsd-anchor"></a>
|
|
100
|
+
<li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/main/wxapi.ts#L32">wxtiles-common/wxapi.ts:32</a></li></ul></aside></section>
|
|
101
|
+
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="loadMaskFunc" class="tsd-anchor"></a>
|
|
91
102
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>load<wbr/>Mask<wbr/>Func</span><a href="#loadMaskFunc" 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>
|
|
92
103
|
<div class="tsd-signature">load<wbr/>Mask<wbr/>Func<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>__namedParameters<span class="tsd-signature-symbol">: </span><a href="../interfaces/XYZ.html" class="tsd-signature-type" data-tsd-kind="Interface">XYZ</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ImageData</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span></div>
|
|
93
104
|
<div class="tsd-type-declaration">
|
|
@@ -97,7 +108,9 @@
|
|
|
97
108
|
<ul class="tsd-signatures tsd-kind-type-literal tsd-parent-kind-property">
|
|
98
109
|
<li class="tsd-signature" id="loadMaskFunc.__type.__type-1"><span class="tsd-signature-symbol">(</span>__namedParameters<span class="tsd-signature-symbol">: </span><a href="../interfaces/XYZ.html" class="tsd-signature-type" data-tsd-kind="Interface">XYZ</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ImageData</span><span class="tsd-signature-symbol">></span></li>
|
|
99
110
|
<li class="tsd-description"><code class="tsd-tag ts-flagInternal">Internal</code>
|
|
100
|
-
<div class="tsd-comment tsd-typography"><p>function
|
|
111
|
+
<div class="tsd-comment tsd-typography"><p>A function that loads mask tiles asynchronously.</p>
|
|
112
|
+
|
|
113
|
+
<h3>Returns</h3><p>A Promise that resolves to the ImageData of the tile.</p>
|
|
101
114
|
</div>
|
|
102
115
|
<div class="tsd-parameters">
|
|
103
116
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
@@ -105,43 +118,49 @@
|
|
|
105
118
|
<li>
|
|
106
119
|
<h5>__namedParameters: <a href="../interfaces/XYZ.html" class="tsd-signature-type" data-tsd-kind="Interface">XYZ</a></h5></li></ul></div>
|
|
107
120
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ImageData</span><span class="tsd-signature-symbol">></span></h4></li></ul></li></ul></div><aside class="tsd-sources">
|
|
121
|
+
<p>Inherited from BaseWxAPI.loadMaskFunc</p>
|
|
108
122
|
<ul>
|
|
109
|
-
<li>Defined in <a href="https://github.com/metoceanapi/wxtiles-
|
|
110
|
-
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="maskChannel" class="tsd-anchor"></a>
|
|
123
|
+
<li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/main/wxapi.ts#L67">wxtiles-common/wxapi.ts:67</a></li></ul></aside></section>
|
|
124
|
+
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="maskChannel" class="tsd-anchor"></a>
|
|
111
125
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <code class="tsd-tag ts-flagInternal">Internal</code> <span>mask<wbr/>Channel</span><a href="#maskChannel" 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>
|
|
112
126
|
<div class="tsd-signature">mask<wbr/>Channel<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
|
|
113
|
-
<div class="tsd-comment tsd-typography"><p>
|
|
127
|
+
<div class="tsd-comment tsd-typography"><p>The channel used for mask tiles. See <a href="../interfaces/WxAPIOptions.html">WxAPIOptions</a> for details.</p>
|
|
114
128
|
</div><aside class="tsd-sources">
|
|
129
|
+
<p>Inherited from BaseWxAPI.maskChannel</p>
|
|
115
130
|
<ul>
|
|
116
|
-
<li>Defined in <a href="https://github.com/metoceanapi/wxtiles-
|
|
117
|
-
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="maskDepth" class="tsd-anchor"></a>
|
|
131
|
+
<li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/main/wxapi.ts#L51">wxtiles-common/wxapi.ts:51</a></li></ul></aside></section>
|
|
132
|
+
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="maskDepth" class="tsd-anchor"></a>
|
|
118
133
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <code class="tsd-tag ts-flagInternal">Internal</code> <span>mask<wbr/>Depth</span><a href="#maskDepth" 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>
|
|
119
134
|
<div class="tsd-signature">mask<wbr/>Depth<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
|
|
120
|
-
<div class="tsd-comment tsd-typography"><p>
|
|
135
|
+
<div class="tsd-comment tsd-typography"><p>The depth level used for mask tiles. See <a href="../interfaces/WxAPIOptions.html">WxAPIOptions</a> for more information.</p>
|
|
121
136
|
</div><aside class="tsd-sources">
|
|
137
|
+
<p>Inherited from BaseWxAPI.maskDepth</p>
|
|
122
138
|
<ul>
|
|
123
|
-
<li>Defined in <a href="https://github.com/metoceanapi/wxtiles-
|
|
124
|
-
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="maskURL" class="tsd-anchor"></a>
|
|
125
|
-
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <
|
|
139
|
+
<li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/main/wxapi.ts#L54">wxtiles-common/wxapi.ts:54</a></li></ul></aside></section>
|
|
140
|
+
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="maskURL" class="tsd-anchor"></a>
|
|
141
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>maskURL</span><a href="#maskURL" 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>
|
|
126
142
|
<div class="tsd-signature">maskURL<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
|
127
|
-
<div class="tsd-comment tsd-typography"><p>
|
|
143
|
+
<div class="tsd-comment tsd-typography"><p>The URL for the mask tiles. See <a href="../interfaces/WxAPIOptions.html">WxAPIOptions</a> for more information.</p>
|
|
128
144
|
</div><aside class="tsd-sources">
|
|
145
|
+
<p>Inherited from BaseWxAPI.maskURL</p>
|
|
129
146
|
<ul>
|
|
130
|
-
<li>Defined in <a href="https://github.com/metoceanapi/wxtiles-
|
|
131
|
-
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="qtree" class="tsd-anchor"></a>
|
|
147
|
+
<li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/main/wxapi.ts#L48">wxtiles-common/wxapi.ts:48</a></li></ul></aside></section>
|
|
148
|
+
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="qtree" class="tsd-anchor"></a>
|
|
132
149
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <code class="tsd-tag ts-flagInternal">Internal</code> <span>qtree</span><a href="#qtree" 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>
|
|
133
150
|
<div class="tsd-signature">qtree<span class="tsd-signature-symbol">:</span> <a href="QTree.html" class="tsd-signature-type" data-tsd-kind="Class">QTree</a></div>
|
|
134
|
-
<div class="tsd-comment tsd-typography"><p>instance of the
|
|
151
|
+
<div class="tsd-comment tsd-typography"><p>An instance of the QTree object, used internally for spatial indexing.</p>
|
|
135
152
|
</div><aside class="tsd-sources">
|
|
153
|
+
<p>Inherited from BaseWxAPI.qtree</p>
|
|
136
154
|
<ul>
|
|
137
|
-
<li>Defined in <a href="https://github.com/metoceanapi/wxtiles-
|
|
138
|
-
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="requestInit" class="tsd-anchor"></a>
|
|
155
|
+
<li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/main/wxapi.ts#L57">wxtiles-common/wxapi.ts:57</a></li></ul></aside></section>
|
|
156
|
+
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="requestInit" class="tsd-anchor"></a>
|
|
139
157
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>request<wbr/>Init</span><a href="#requestInit" 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>
|
|
140
158
|
<div class="tsd-signature">request<wbr/>Init<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">RequestInit</span></div>
|
|
141
|
-
<div class="tsd-comment tsd-typography"><p>
|
|
159
|
+
<div class="tsd-comment tsd-typography"><p>Optional configuration for HTTP requests. See <a href="../interfaces/WxAPIOptions.html">WxAPIOptions</a> for details.</p>
|
|
142
160
|
</div><aside class="tsd-sources">
|
|
161
|
+
<p>Inherited from BaseWxAPI.requestInit</p>
|
|
143
162
|
<ul>
|
|
144
|
-
<li>Defined in <a href="https://github.com/metoceanapi/wxtiles-
|
|
163
|
+
<li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/main/wxapi.ts#L41">wxtiles-common/wxapi.ts:41</a></li></ul></aside></section></section>
|
|
145
164
|
<section class="tsd-panel-group tsd-member-group">
|
|
146
165
|
<h2>Methods</h2>
|
|
147
166
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="createDatasetManager" class="tsd-anchor"></a>
|
|
@@ -149,25 +168,31 @@
|
|
|
149
168
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
150
169
|
<li class="tsd-signature tsd-anchor-link" id="createDatasetManager.createDatasetManager-1">create<wbr/>Dataset<wbr/>Manager<span class="tsd-signature-symbol">(</span>datasetName<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="WxDataSetManager.html" class="tsd-signature-type" data-tsd-kind="Class">WxDataSetManager</a><span class="tsd-signature-symbol">></span><a href="#createDatasetManager.createDatasetManager-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
|
151
170
|
<li class="tsd-description">
|
|
152
|
-
<div class="tsd-comment tsd-typography"><p>Create <a href="WxDataSetManager.html">WxDataSetManager</a> object for the given dataset name.</p>
|
|
153
|
-
|
|
154
|
-
<h3>Returns</h3><ul>
|
|
155
|
-
<li>WxDataSetManager object for the given dataset name</li>
|
|
156
|
-
</ul>
|
|
157
|
-
</div>
|
|
158
171
|
<div class="tsd-parameters">
|
|
159
172
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
160
173
|
<ul class="tsd-parameter-list">
|
|
161
174
|
<li>
|
|
162
|
-
<h5>datasetName: <span class="tsd-signature-type">string</span></h5>
|
|
163
|
-
<div class="tsd-comment tsd-typography"><p>dataset name</p>
|
|
164
|
-
</div></li></ul></div>
|
|
175
|
+
<h5>datasetName: <span class="tsd-signature-type">string</span></h5></li></ul></div>
|
|
165
176
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="WxDataSetManager.html" class="tsd-signature-type" data-tsd-kind="Class">WxDataSetManager</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
166
177
|
<ul>
|
|
167
|
-
<li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/wxAPI/WxAPI.ts#
|
|
168
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="
|
|
178
|
+
<li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/wxAPI/WxAPI.ts#L7">wxtiles-leaflet/src/wxAPI/WxAPI.ts:7</a></li></ul></aside></li></ul></section>
|
|
179
|
+
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="createDatasetManagerOptions" class="tsd-anchor"></a>
|
|
180
|
+
<h3 class="tsd-anchor-link"><span>create<wbr/>Dataset<wbr/>Manager<wbr/>Options</span><a href="#createDatasetManagerOptions" aria-label="Permalink" class="tsd-anchor-icon"><svg 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>
|
|
181
|
+
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
182
|
+
<li class="tsd-signature tsd-anchor-link" id="createDatasetManagerOptions.createDatasetManagerOptions-1">create<wbr/>Dataset<wbr/>Manager<wbr/>Options<span class="tsd-signature-symbol">(</span>datasetName<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/WxDataSetManagerOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">WxDataSetManagerOptions</a><span class="tsd-signature-symbol">></span><a href="#createDatasetManagerOptions.createDatasetManagerOptions-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
|
183
|
+
<li class="tsd-description">
|
|
184
|
+
<div class="tsd-parameters">
|
|
185
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
186
|
+
<ul class="tsd-parameter-list">
|
|
187
|
+
<li>
|
|
188
|
+
<h5>datasetName: <span class="tsd-signature-type">string</span></h5></li></ul></div>
|
|
189
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/WxDataSetManagerOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">WxDataSetManagerOptions</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
190
|
+
<p>Inherited from BaseWxAPI.createDatasetManagerOptions</p>
|
|
191
|
+
<ul>
|
|
192
|
+
<li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/main/wxapi.ts#L134">wxtiles-common/wxapi.ts:134</a></li></ul></aside></li></ul></section>
|
|
193
|
+
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="filterDatasetsByVariableName" class="tsd-anchor"></a>
|
|
169
194
|
<h3 class="tsd-anchor-link"><span>filter<wbr/>Datasets<wbr/>By<wbr/>Variable<wbr/>Name</span><a href="#filterDatasetsByVariableName" aria-label="Permalink" class="tsd-anchor-icon"><svg 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>
|
|
170
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
195
|
+
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
171
196
|
<li class="tsd-signature tsd-anchor-link" id="filterDatasetsByVariableName.filterDatasetsByVariableName-1">filter<wbr/>Datasets<wbr/>By<wbr/>Variable<wbr/>Name<span class="tsd-signature-symbol">(</span>varName<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span><a href="#filterDatasetsByVariableName.filterDatasetsByVariableName-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
|
172
197
|
<li class="tsd-description">
|
|
173
198
|
<div class="tsd-comment tsd-typography"><p>Returns datasets names which have given variable</p>
|
|
@@ -184,11 +209,12 @@
|
|
|
184
209
|
<li>
|
|
185
210
|
<h5>varName: <span class="tsd-signature-type">string</span></h5></li></ul></div>
|
|
186
211
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</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></h4><aside class="tsd-sources">
|
|
212
|
+
<p>Inherited from BaseWxAPI.filterDatasetsByVariableName</p>
|
|
187
213
|
<ul>
|
|
188
|
-
<li>Defined in <a href="https://github.com/metoceanapi/wxtiles-
|
|
189
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getAllDatasetsNames" class="tsd-anchor"></a>
|
|
214
|
+
<li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/main/wxapi.ts#L205">wxtiles-common/wxapi.ts:205</a></li></ul></aside></li></ul></section>
|
|
215
|
+
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="getAllDatasetsNames" class="tsd-anchor"></a>
|
|
190
216
|
<h3 class="tsd-anchor-link"><span>get<wbr/>All<wbr/>Datasets<wbr/>Names</span><a href="#getAllDatasetsNames" aria-label="Permalink" class="tsd-anchor-icon"><svg 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>
|
|
191
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
217
|
+
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
192
218
|
<li class="tsd-signature tsd-anchor-link" id="getAllDatasetsNames.getAllDatasetsNames-1">get<wbr/>All<wbr/>Datasets<wbr/>Names<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span><a href="#getAllDatasetsNames.getAllDatasetsNames-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
|
193
219
|
<li class="tsd-description">
|
|
194
220
|
<div class="tsd-comment tsd-typography"><p>Get the list of all available datasets' names</p>
|
|
@@ -198,11 +224,12 @@
|
|
|
198
224
|
</ul>
|
|
199
225
|
</div>
|
|
200
226
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</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></h4><aside class="tsd-sources">
|
|
227
|
+
<p>Inherited from BaseWxAPI.getAllDatasetsNames</p>
|
|
201
228
|
<ul>
|
|
202
|
-
<li>Defined in <a href="https://github.com/metoceanapi/wxtiles-
|
|
203
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getDatasetAllVariables" class="tsd-anchor"></a>
|
|
229
|
+
<li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/main/wxapi.ts#L218">wxtiles-common/wxapi.ts:218</a></li></ul></aside></li></ul></section>
|
|
230
|
+
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="getDatasetAllVariables" class="tsd-anchor"></a>
|
|
204
231
|
<h3 class="tsd-anchor-link"><span>get<wbr/>Dataset<wbr/>All<wbr/>Variables</span><a href="#getDatasetAllVariables" aria-label="Permalink" class="tsd-anchor-icon"><svg 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>
|
|
205
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
232
|
+
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
206
233
|
<li class="tsd-signature tsd-anchor-link" id="getDatasetAllVariables.getDatasetAllVariables-1">get<wbr/>Dataset<wbr/>All<wbr/>Variables<span class="tsd-signature-symbol">(</span>datasetName<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span><a href="#getDatasetAllVariables.getDatasetAllVariables-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
|
207
234
|
<li class="tsd-description">
|
|
208
235
|
<div class="tsd-comment tsd-typography"><p>Get all variables for the given dataset name.</p>
|
|
@@ -219,8 +246,9 @@
|
|
|
219
246
|
<div class="tsd-comment tsd-typography"><p>dataset name</p>
|
|
220
247
|
</div></li></ul></div>
|
|
221
248
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
249
|
+
<p>Inherited from BaseWxAPI.getDatasetAllVariables</p>
|
|
222
250
|
<ul>
|
|
223
|
-
<li>Defined in <a href="https://github.com/metoceanapi/wxtiles-
|
|
251
|
+
<li>Defined in <a href="https://github.com/metoceanapi/wxtiles-common/blob/main/wxapi.ts#L192">wxtiles-common/wxapi.ts:192</a></li></ul></aside></li></ul></section></section></div>
|
|
224
252
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
225
253
|
<div class="tsd-navigation settings">
|
|
226
254
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -245,19 +273,21 @@
|
|
|
245
273
|
<ul>
|
|
246
274
|
<li class="current tsd-kind-class"><a href="WxAPI.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-class)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-128-path"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)" id="icon-128-text"></path></svg><span>WxAPI</span></a>
|
|
247
275
|
<ul>
|
|
248
|
-
<li class="tsd-kind-constructor tsd-parent-kind-class"><a href="WxAPI.html#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-512-path"></use><use href="#icon-512-text"></use></svg>constructor</a></li>
|
|
249
|
-
<li class="tsd-kind-property tsd-parent-kind-class"><a href="WxAPI.html#dataServerURL" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>data<wbr/>ServerURL</a></li>
|
|
250
|
-
<li class="tsd-kind-property tsd-parent-kind-class"><a href="WxAPI.html#
|
|
251
|
-
<li class="tsd-kind-property tsd-parent-kind-class"><a href="WxAPI.html#
|
|
252
|
-
<li class="tsd-kind-property tsd-parent-kind-class"><a href="WxAPI.html#
|
|
253
|
-
<li class="tsd-kind-property tsd-parent-kind-class"><a href="WxAPI.html#
|
|
254
|
-
<li class="tsd-kind-property tsd-parent-kind-class"><a href="WxAPI.html#
|
|
255
|
-
<li class="tsd-kind-property tsd-parent-kind-class"><a href="WxAPI.html#
|
|
256
|
-
<li class="tsd-kind-property tsd-parent-kind-class"><a href="WxAPI.html#
|
|
276
|
+
<li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited"><a href="WxAPI.html#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-512-path"></use><use href="#icon-512-text"></use></svg>constructor</a></li>
|
|
277
|
+
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="WxAPI.html#dataServerURL" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>data<wbr/>ServerURL</a></li>
|
|
278
|
+
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="WxAPI.html#ext" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>ext</a></li>
|
|
279
|
+
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="WxAPI.html#initDone" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>init<wbr/>Done</a></li>
|
|
280
|
+
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="WxAPI.html#loadMaskFunc" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>load<wbr/>Mask<wbr/>Func</a></li>
|
|
281
|
+
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="WxAPI.html#maskChannel" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>mask<wbr/>Channel</a></li>
|
|
282
|
+
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="WxAPI.html#maskDepth" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>mask<wbr/>Depth</a></li>
|
|
283
|
+
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="WxAPI.html#maskURL" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>maskURL</a></li>
|
|
284
|
+
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="WxAPI.html#qtree" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>qtree</a></li>
|
|
285
|
+
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="WxAPI.html#requestInit" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>request<wbr/>Init?</a></li>
|
|
257
286
|
<li class="tsd-kind-method tsd-parent-kind-class"><a href="WxAPI.html#createDatasetManager" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>create<wbr/>Dataset<wbr/>Manager</a></li>
|
|
258
|
-
<li class="tsd-kind-method tsd-parent-kind-class"><a href="WxAPI.html#
|
|
259
|
-
<li class="tsd-kind-method tsd-parent-kind-class"><a href="WxAPI.html#
|
|
260
|
-
<li class="tsd-kind-method tsd-parent-kind-class"><a href="WxAPI.html#
|
|
287
|
+
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="WxAPI.html#createDatasetManagerOptions" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>create<wbr/>Dataset<wbr/>Manager<wbr/>Options</a></li>
|
|
288
|
+
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="WxAPI.html#filterDatasetsByVariableName" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>filter<wbr/>Datasets<wbr/>By<wbr/>Variable<wbr/>Name</a></li>
|
|
289
|
+
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="WxAPI.html#getAllDatasetsNames" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>get<wbr/>All<wbr/>Datasets<wbr/>Names</a></li>
|
|
290
|
+
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="WxAPI.html#getDatasetAllVariables" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>get<wbr/>Dataset<wbr/>All<wbr/>Variables</a></li></ul></li></ul></nav></div></div>
|
|
261
291
|
<div class="container tsd-generator">
|
|
262
292
|
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
|
263
293
|
<div class="overlay"></div><script src="../assets/main.js"></script></body></html>
|