@metoceanapi/wxtiles-leaflet 2.1.1 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/README.md +10 -32
- package/dist/es/controls/WxAPIControl.d.ts +4 -2
- package/dist/es/controls/WxStyleEditorControl.d.ts +5 -0
- package/dist/es/controls/WxTimeControl .d.ts +1 -1
- package/dist/es/customlayer/customlayer.d.ts +2 -0
- package/dist/es/index.d.ts +14 -17
- package/dist/es/index.js +2 -2
- package/dist/es/utils/RawCLUT.d.ts +9 -8
- package/dist/es/utils/qtree.d.ts +6 -4
- package/dist/es/utils/tests_wxtools.d.ts +1 -0
- package/dist/es/utils/wxtools.d.ts +32 -5
- package/dist/es/wxAPI/WxAPI.d.ts +63 -0
- package/dist/es/wxAPI/WxAPItypes.d.ts +152 -0
- package/dist/es/wxAPI/WxDataSetManager.d.ts +67 -90
- package/dist/es/wxlayer/WxImplementation.d.ts +36 -16
- package/dist/es/wxlayer/loader.d.ts +3 -5
- package/dist/es/wxlayer/loadertools.d.ts +1 -1
- package/dist/es/wxlayer/painter.d.ts +1 -1
- package/dist/es/wxlayer/wxlayer.d.ts +51 -26
- package/dist/es/wxsource/wxsource.d.ts +3 -1
- package/dist/es/wxsource/wxsourcetypes.d.ts +2 -1
- package/dist/web/index.js +2 -2
- package/docs/docs/assets/highlight.css +4 -4
- package/docs/docs/assets/main.js +56 -52
- package/docs/docs/assets/search.js +1 -1
- package/docs/docs/assets/style.css +27 -5
- package/docs/docs/{interfaces/WxDataSetsMetasJSON.html → classes/CustomWxTilesLayer.html} +16 -23
- package/docs/docs/classes/DataIntegral.html +13 -13
- package/docs/docs/classes/Loader.html +17 -24
- package/docs/docs/classes/Painter.html +11 -11
- package/docs/docs/classes/QTree.html +63 -34
- package/docs/docs/classes/RawCLUT.html +8 -8
- package/docs/docs/classes/TilesCache.html +108 -0
- package/docs/docs/classes/WxAPI.html +33 -106
- package/docs/docs/classes/WxDataSetManager.html +115 -181
- package/docs/docs/classes/WxLayer.html +95 -58
- package/docs/docs/classes/WxLayerBaseImplementation.html +52 -43
- package/docs/docs/classes/WxTileSource.html +63 -47
- package/docs/docs/enums/TileType.html +4 -4
- package/docs/docs/functions/WXLOG.html +11 -8
- package/docs/docs/functions/WxCreateLegend.html +13 -10
- package/docs/docs/functions/WxGetColorSchemes.html +11 -8
- package/docs/docs/functions/WxGetColorStyles.html +11 -8
- package/docs/docs/functions/WxTilesLogging.html +11 -8
- package/docs/docs/index.html +23 -21
- package/docs/docs/interfaces/CachedUriLoaderPromiseFunc.html +106 -0
- package/docs/docs/interfaces/ColorStylesIncomplete.html +11 -8
- package/docs/docs/interfaces/Converter.html +5 -3
- package/docs/docs/interfaces/DataPicture.html +5 -5
- package/docs/docs/interfaces/FrameworkOptions.html +5 -4
- 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 +15 -15
- package/docs/docs/interfaces/WxAllBoundariesMeta.html +4 -4
- package/docs/docs/interfaces/WxAllDatasetsShortMetas.html +120 -0
- package/docs/docs/interfaces/WxBoundaryMeta.html +5 -5
- package/docs/docs/interfaces/WxColorSchemes.html +11 -8
- package/docs/docs/interfaces/WxColorStyleStrict.html +47 -25
- package/docs/docs/interfaces/WxColorStyleWeak.html +48 -25
- package/docs/docs/interfaces/WxColorStylesStrict.html +2 -2
- package/docs/docs/interfaces/WxColorStylesWeakMixed.html +11 -8
- package/docs/docs/interfaces/WxData.html +3 -3
- package/docs/docs/interfaces/WxDataSetManagerOptions.html +12 -12
- package/docs/docs/interfaces/WxDatasetMeta.html +18 -9
- package/docs/docs/interfaces/WxDatasetShortMeta.html +5 -5
- package/docs/docs/interfaces/WxLayerAPI.html +92 -26
- package/docs/docs/interfaces/WxLayerBaseAPI.html +21 -21
- package/docs/docs/interfaces/WxLayerOptions.html +9 -10
- package/docs/docs/interfaces/WxLegend.html +7 -7
- package/docs/docs/interfaces/WxLngLat.html +3 -3
- package/docs/docs/interfaces/WxRasterData.html +6 -6
- package/docs/docs/interfaces/WxRequestInit.html +2 -2
- package/docs/docs/interfaces/WxSourceLayerOptions.html +8 -5
- package/docs/docs/interfaces/WxTick.html +5 -5
- package/docs/docs/interfaces/WxTileInfo.html +9 -9
- package/docs/docs/interfaces/WxUnits.html +11 -8
- package/docs/docs/interfaces/WxVariableMeta.html +6 -6
- package/docs/docs/interfaces/WxVariablesMetas.html +11 -8
- package/docs/docs/interfaces/XYZ.html +4 -4
- package/docs/docs/modules.html +20 -14
- package/docs/docs/types/DataIntegrals.html +11 -8
- package/docs/docs/types/DataPictures.html +11 -8
- package/docs/docs/types/ListenerMethod.html +129 -0
- package/docs/docs/types/SLine.html +11 -8
- package/docs/docs/types/SubTrees.html +11 -8
- package/docs/docs/types/SubTreesN.html +11 -8
- package/docs/docs/types/TreeN.html +11 -8
- package/docs/docs/types/WxDate.html +19 -9
- package/docs/docs/types/{UriLoaderPromiseFunc.html → WxEventType.html} +17 -31
- package/docs/docs/types/{WxVars.html → WxInstances.html} +15 -14
- package/docs/docs/types/WxLayerVarsNames.html +113 -0
- package/docs/docs/types/WxURIs.html +11 -8
- package/docs/docs/types/WxUnitTuple.html +11 -8
- package/docs/examples/interactive.html +84 -0
- package/docs/examples/seaMaskAndAnimatedBlur.html +30 -22
- package/docs/examples/simpleDemo.html +32 -21
- package/docs/script/script.js +13 -9
- package/package.json +6 -7
- package/src_example/frwrkdeps.ts +6 -3
- package/src_example/index.ts +31 -54
- package/src_example/start.ts +39 -18
- package/watch-public.mjs +93 -0
- package/dist/es/wxAPI/wxAPI.d.ts +0 -192
- package/docs/docs/classes/FrameworkParentClass.html +0 -98
- package/docs/docs/interfaces/WxTilesLibOptions.html +0 -92
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
<div class="tsd-comment tsd-typography"><p>Array of URIs to request tiles</p>
|
|
20
20
|
</div><aside class="tsd-sources">
|
|
21
21
|
<ul>
|
|
22
|
-
<li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/wxlayer/wxlayer.ts#
|
|
22
|
+
<li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/wxlayer/wxlayer.ts#L56">src/wxlayer/wxlayer.ts:56</a></li></ul></aside></div>
|
|
23
23
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
24
24
|
<div class="tsd-navigation settings">
|
|
25
25
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -43,18 +43,20 @@
|
|
|
43
43
|
<nav class="tsd-navigation secondary menu-sticky">
|
|
44
44
|
<ul>
|
|
45
45
|
<li class="tsd-kind-enum"><a href="../enums/TileType.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-enum)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-8-path"></rect><path d="M9.45 16V7.24H14.49V8.224H10.518V10.936H14.07V11.908H10.518V15.016H14.49V16H9.45Z" fill="var(--color-text)" id="icon-8-text"></path></svg>Tile<wbr/>Type</a></li>
|
|
46
|
-
<li class="tsd-kind-class"><a href="../classes/
|
|
47
|
-
<li class="tsd-kind-class"><a href="../classes/
|
|
46
|
+
<li class="tsd-kind-class"><a href="../classes/CustomWxTilesLayer.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>Custom<wbr/>Wx<wbr/>Tiles<wbr/>Layer</a></li>
|
|
47
|
+
<li class="tsd-kind-class"><a href="../classes/DataIntegral.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>Data<wbr/>Integral</a></li>
|
|
48
48
|
<li class="tsd-kind-class"><a href="../classes/Loader.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>Loader</a></li>
|
|
49
49
|
<li class="tsd-kind-class"><a href="../classes/Painter.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>Painter</a></li>
|
|
50
50
|
<li class="tsd-kind-class"><a href="../classes/QTree.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>QTree</a></li>
|
|
51
51
|
<li class="tsd-kind-class"><a href="../classes/RawCLUT.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>RawCLUT</a></li>
|
|
52
|
+
<li class="tsd-kind-class"><a href="../classes/TilesCache.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>Tiles<wbr/>Cache</a></li>
|
|
52
53
|
<li class="tsd-kind-class"><a href="../classes/WxAPI.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>WxAPI</a></li>
|
|
53
54
|
<li class="tsd-kind-class"><a href="../classes/WxDataSetManager.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>Wx<wbr/>Data<wbr/>Set<wbr/>Manager</a></li>
|
|
54
55
|
<li class="tsd-kind-class"><a href="../classes/WxLayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>Wx<wbr/>Layer</a></li>
|
|
55
56
|
<li class="tsd-kind-class"><a href="../classes/WxLayerBaseImplementation.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>Wx<wbr/>Layer<wbr/>Base<wbr/>Implementation</a></li>
|
|
56
57
|
<li class="tsd-kind-class"><a href="../classes/WxTileSource.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>Wx<wbr/>Tile<wbr/>Source</a></li>
|
|
57
|
-
<li class="tsd-kind-interface"><a href="../interfaces/
|
|
58
|
+
<li class="tsd-kind-interface"><a href="../interfaces/CachedUriLoaderPromiseFunc.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-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-256-path"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)" id="icon-256-text"></path></svg>Cached<wbr/>Uri<wbr/>Loader<wbr/>Promise<wbr/>Func</a></li>
|
|
59
|
+
<li class="tsd-kind-interface"><a href="../interfaces/ColorStylesIncomplete.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Color<wbr/>Styles<wbr/>Incomplete</a></li>
|
|
58
60
|
<li class="tsd-kind-interface"><a href="../interfaces/Converter.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Converter</a></li>
|
|
59
61
|
<li class="tsd-kind-interface"><a href="../interfaces/DataPicture.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Data<wbr/>Picture</a></li>
|
|
60
62
|
<li class="tsd-kind-interface"><a href="../interfaces/FrameworkOptions.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Framework<wbr/>Options</a></li>
|
|
@@ -63,6 +65,7 @@
|
|
|
63
65
|
<li class="tsd-kind-interface"><a href="../interfaces/Tree.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Tree</a></li>
|
|
64
66
|
<li class="tsd-kind-interface"><a href="../interfaces/WxAPIOptions.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>WxAPIOptions</a></li>
|
|
65
67
|
<li class="tsd-kind-interface"><a href="../interfaces/WxAllBoundariesMeta.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>All<wbr/>Boundaries<wbr/>Meta</a></li>
|
|
68
|
+
<li class="tsd-kind-interface"><a href="../interfaces/WxAllDatasetsShortMetas.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>All<wbr/>Datasets<wbr/>Short<wbr/>Metas</a></li>
|
|
66
69
|
<li class="tsd-kind-interface"><a href="../interfaces/WxBoundaryMeta.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Boundary<wbr/>Meta</a></li>
|
|
67
70
|
<li class="tsd-kind-interface"><a href="../interfaces/WxColorSchemes.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Color<wbr/>Schemes</a></li>
|
|
68
71
|
<li class="tsd-kind-interface"><a href="../interfaces/WxColorStyleStrict.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Color<wbr/>Style<wbr/>Strict</a></li>
|
|
@@ -71,7 +74,6 @@
|
|
|
71
74
|
<li class="tsd-kind-interface"><a href="../interfaces/WxColorStylesWeakMixed.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Color<wbr/>Styles<wbr/>Weak<wbr/>Mixed</a></li>
|
|
72
75
|
<li class="tsd-kind-interface"><a href="../interfaces/WxData.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Data</a></li>
|
|
73
76
|
<li class="tsd-kind-interface"><a href="../interfaces/WxDataSetManagerOptions.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Data<wbr/>Set<wbr/>Manager<wbr/>Options</a></li>
|
|
74
|
-
<li class="tsd-kind-interface"><a href="../interfaces/WxDataSetsMetasJSON.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Data<wbr/>Sets<wbr/>MetasJSON</a></li>
|
|
75
77
|
<li class="tsd-kind-interface"><a href="../interfaces/WxDatasetMeta.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Dataset<wbr/>Meta</a></li>
|
|
76
78
|
<li class="tsd-kind-interface"><a href="../interfaces/WxDatasetShortMeta.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Dataset<wbr/>Short<wbr/>Meta</a></li>
|
|
77
79
|
<li class="tsd-kind-interface"><a href="../interfaces/WxLayerAPI.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>LayerAPI</a></li>
|
|
@@ -84,22 +86,23 @@
|
|
|
84
86
|
<li class="tsd-kind-interface"><a href="../interfaces/WxSourceLayerOptions.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Source<wbr/>Layer<wbr/>Options</a></li>
|
|
85
87
|
<li class="tsd-kind-interface"><a href="../interfaces/WxTick.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Tick</a></li>
|
|
86
88
|
<li class="tsd-kind-interface"><a href="../interfaces/WxTileInfo.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Tile<wbr/>Info</a></li>
|
|
87
|
-
<li class="tsd-kind-interface"><a href="../interfaces/WxTilesLibOptions.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Tiles<wbr/>Lib<wbr/>Options</a></li>
|
|
88
89
|
<li class="tsd-kind-interface"><a href="../interfaces/WxUnits.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Units</a></li>
|
|
89
90
|
<li class="tsd-kind-interface"><a href="../interfaces/WxVariableMeta.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Variable<wbr/>Meta</a></li>
|
|
90
91
|
<li class="tsd-kind-interface"><a href="../interfaces/WxVariablesMetas.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Variables<wbr/>Metas</a></li>
|
|
91
92
|
<li class="tsd-kind-interface"><a href="../interfaces/XYZ.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>XYZ</a></li>
|
|
92
93
|
<li class="tsd-kind-type-alias"><a href="DataIntegrals.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)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-4194304-path"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)" id="icon-4194304-text"></path></svg>Data<wbr/>Integrals</a></li>
|
|
93
94
|
<li class="tsd-kind-type-alias"><a href="DataPictures.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Data<wbr/>Pictures</a></li>
|
|
95
|
+
<li class="tsd-kind-type-alias"><a href="ListenerMethod.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Listener<wbr/>Method</a></li>
|
|
94
96
|
<li class="tsd-kind-type-alias"><a href="SLine.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>SLine</a></li>
|
|
95
97
|
<li class="tsd-kind-type-alias"><a href="SubTrees.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Sub<wbr/>Trees</a></li>
|
|
96
98
|
<li class="tsd-kind-type-alias"><a href="SubTreesN.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Sub<wbr/>TreesN</a></li>
|
|
97
99
|
<li class="tsd-kind-type-alias"><a href="TreeN.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>TreeN</a></li>
|
|
98
|
-
<li class="tsd-kind-type-alias"><a href="UriLoaderPromiseFunc.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Uri<wbr/>Loader<wbr/>Promise<wbr/>Func</a></li>
|
|
99
100
|
<li class="tsd-kind-type-alias"><a href="WxDate.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Wx<wbr/>Date</a></li>
|
|
101
|
+
<li class="tsd-kind-type-alias"><a href="WxEventType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Wx<wbr/>Event<wbr/>Type</a></li>
|
|
102
|
+
<li class="tsd-kind-type-alias"><a href="WxInstances.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Wx<wbr/>Instances</a></li>
|
|
103
|
+
<li class="tsd-kind-type-alias"><a href="WxLayerVarsNames.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Wx<wbr/>Layer<wbr/>Vars<wbr/>Names</a></li>
|
|
100
104
|
<li class="current tsd-kind-type-alias"><a href="WxURIs.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>WxURIs</a></li>
|
|
101
105
|
<li class="tsd-kind-type-alias"><a href="WxUnitTuple.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Wx<wbr/>Unit<wbr/>Tuple</a></li>
|
|
102
|
-
<li class="tsd-kind-type-alias"><a href="WxVars.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Wx<wbr/>Vars</a></li>
|
|
103
106
|
<li class="tsd-kind-function"><a href="../functions/WXLOG.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-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-64-path"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)" id="icon-64-text"></path></svg>WXLOG</a></li>
|
|
104
107
|
<li class="tsd-kind-function"><a href="../functions/WxCreateLegend.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>Wx<wbr/>Create<wbr/>Legend</a></li>
|
|
105
108
|
<li class="tsd-kind-function"><a href="../functions/WxGetColorSchemes.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>Wx<wbr/>Get<wbr/>Color<wbr/>Schemes</a></li>
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
<div class="tsd-comment tsd-typography"><p>type for unit converter</p>
|
|
20
20
|
</div><aside class="tsd-sources">
|
|
21
21
|
<ul>
|
|
22
|
-
<li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/utils/wxtools.ts#L13">utils/wxtools.ts:13</a></li></ul></aside></div>
|
|
22
|
+
<li>Defined in <a href="https://github.com/metoceanapi/wxtiles-leaflet/blob/main/src/utils/wxtools.ts#L13">src/utils/wxtools.ts:13</a></li></ul></aside></div>
|
|
23
23
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
24
24
|
<div class="tsd-navigation settings">
|
|
25
25
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -43,18 +43,20 @@
|
|
|
43
43
|
<nav class="tsd-navigation secondary menu-sticky">
|
|
44
44
|
<ul>
|
|
45
45
|
<li class="tsd-kind-enum"><a href="../enums/TileType.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-enum)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-8-path"></rect><path d="M9.45 16V7.24H14.49V8.224H10.518V10.936H14.07V11.908H10.518V15.016H14.49V16H9.45Z" fill="var(--color-text)" id="icon-8-text"></path></svg>Tile<wbr/>Type</a></li>
|
|
46
|
-
<li class="tsd-kind-class"><a href="../classes/
|
|
47
|
-
<li class="tsd-kind-class"><a href="../classes/
|
|
46
|
+
<li class="tsd-kind-class"><a href="../classes/CustomWxTilesLayer.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>Custom<wbr/>Wx<wbr/>Tiles<wbr/>Layer</a></li>
|
|
47
|
+
<li class="tsd-kind-class"><a href="../classes/DataIntegral.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>Data<wbr/>Integral</a></li>
|
|
48
48
|
<li class="tsd-kind-class"><a href="../classes/Loader.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>Loader</a></li>
|
|
49
49
|
<li class="tsd-kind-class"><a href="../classes/Painter.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>Painter</a></li>
|
|
50
50
|
<li class="tsd-kind-class"><a href="../classes/QTree.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>QTree</a></li>
|
|
51
51
|
<li class="tsd-kind-class"><a href="../classes/RawCLUT.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>RawCLUT</a></li>
|
|
52
|
+
<li class="tsd-kind-class"><a href="../classes/TilesCache.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>Tiles<wbr/>Cache</a></li>
|
|
52
53
|
<li class="tsd-kind-class"><a href="../classes/WxAPI.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>WxAPI</a></li>
|
|
53
54
|
<li class="tsd-kind-class"><a href="../classes/WxDataSetManager.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>Wx<wbr/>Data<wbr/>Set<wbr/>Manager</a></li>
|
|
54
55
|
<li class="tsd-kind-class"><a href="../classes/WxLayer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>Wx<wbr/>Layer</a></li>
|
|
55
56
|
<li class="tsd-kind-class"><a href="../classes/WxLayerBaseImplementation.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>Wx<wbr/>Layer<wbr/>Base<wbr/>Implementation</a></li>
|
|
56
57
|
<li class="tsd-kind-class"><a href="../classes/WxTileSource.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>Wx<wbr/>Tile<wbr/>Source</a></li>
|
|
57
|
-
<li class="tsd-kind-interface"><a href="../interfaces/
|
|
58
|
+
<li class="tsd-kind-interface"><a href="../interfaces/CachedUriLoaderPromiseFunc.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-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-256-path"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)" id="icon-256-text"></path></svg>Cached<wbr/>Uri<wbr/>Loader<wbr/>Promise<wbr/>Func</a></li>
|
|
59
|
+
<li class="tsd-kind-interface"><a href="../interfaces/ColorStylesIncomplete.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Color<wbr/>Styles<wbr/>Incomplete</a></li>
|
|
58
60
|
<li class="tsd-kind-interface"><a href="../interfaces/Converter.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Converter</a></li>
|
|
59
61
|
<li class="tsd-kind-interface"><a href="../interfaces/DataPicture.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Data<wbr/>Picture</a></li>
|
|
60
62
|
<li class="tsd-kind-interface"><a href="../interfaces/FrameworkOptions.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Framework<wbr/>Options</a></li>
|
|
@@ -63,6 +65,7 @@
|
|
|
63
65
|
<li class="tsd-kind-interface"><a href="../interfaces/Tree.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Tree</a></li>
|
|
64
66
|
<li class="tsd-kind-interface"><a href="../interfaces/WxAPIOptions.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>WxAPIOptions</a></li>
|
|
65
67
|
<li class="tsd-kind-interface"><a href="../interfaces/WxAllBoundariesMeta.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>All<wbr/>Boundaries<wbr/>Meta</a></li>
|
|
68
|
+
<li class="tsd-kind-interface"><a href="../interfaces/WxAllDatasetsShortMetas.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>All<wbr/>Datasets<wbr/>Short<wbr/>Metas</a></li>
|
|
66
69
|
<li class="tsd-kind-interface"><a href="../interfaces/WxBoundaryMeta.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Boundary<wbr/>Meta</a></li>
|
|
67
70
|
<li class="tsd-kind-interface"><a href="../interfaces/WxColorSchemes.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Color<wbr/>Schemes</a></li>
|
|
68
71
|
<li class="tsd-kind-interface"><a href="../interfaces/WxColorStyleStrict.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Color<wbr/>Style<wbr/>Strict</a></li>
|
|
@@ -71,7 +74,6 @@
|
|
|
71
74
|
<li class="tsd-kind-interface"><a href="../interfaces/WxColorStylesWeakMixed.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Color<wbr/>Styles<wbr/>Weak<wbr/>Mixed</a></li>
|
|
72
75
|
<li class="tsd-kind-interface"><a href="../interfaces/WxData.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Data</a></li>
|
|
73
76
|
<li class="tsd-kind-interface"><a href="../interfaces/WxDataSetManagerOptions.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Data<wbr/>Set<wbr/>Manager<wbr/>Options</a></li>
|
|
74
|
-
<li class="tsd-kind-interface"><a href="../interfaces/WxDataSetsMetasJSON.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Data<wbr/>Sets<wbr/>MetasJSON</a></li>
|
|
75
77
|
<li class="tsd-kind-interface"><a href="../interfaces/WxDatasetMeta.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Dataset<wbr/>Meta</a></li>
|
|
76
78
|
<li class="tsd-kind-interface"><a href="../interfaces/WxDatasetShortMeta.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Dataset<wbr/>Short<wbr/>Meta</a></li>
|
|
77
79
|
<li class="tsd-kind-interface"><a href="../interfaces/WxLayerAPI.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>LayerAPI</a></li>
|
|
@@ -84,22 +86,23 @@
|
|
|
84
86
|
<li class="tsd-kind-interface"><a href="../interfaces/WxSourceLayerOptions.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Source<wbr/>Layer<wbr/>Options</a></li>
|
|
85
87
|
<li class="tsd-kind-interface"><a href="../interfaces/WxTick.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Tick</a></li>
|
|
86
88
|
<li class="tsd-kind-interface"><a href="../interfaces/WxTileInfo.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Tile<wbr/>Info</a></li>
|
|
87
|
-
<li class="tsd-kind-interface"><a href="../interfaces/WxTilesLibOptions.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Tiles<wbr/>Lib<wbr/>Options</a></li>
|
|
88
89
|
<li class="tsd-kind-interface"><a href="../interfaces/WxUnits.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Units</a></li>
|
|
89
90
|
<li class="tsd-kind-interface"><a href="../interfaces/WxVariableMeta.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Variable<wbr/>Meta</a></li>
|
|
90
91
|
<li class="tsd-kind-interface"><a href="../interfaces/WxVariablesMetas.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Wx<wbr/>Variables<wbr/>Metas</a></li>
|
|
91
92
|
<li class="tsd-kind-interface"><a href="../interfaces/XYZ.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>XYZ</a></li>
|
|
92
93
|
<li class="tsd-kind-type-alias"><a href="DataIntegrals.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)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-4194304-path"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)" id="icon-4194304-text"></path></svg>Data<wbr/>Integrals</a></li>
|
|
93
94
|
<li class="tsd-kind-type-alias"><a href="DataPictures.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Data<wbr/>Pictures</a></li>
|
|
95
|
+
<li class="tsd-kind-type-alias"><a href="ListenerMethod.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Listener<wbr/>Method</a></li>
|
|
94
96
|
<li class="tsd-kind-type-alias"><a href="SLine.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>SLine</a></li>
|
|
95
97
|
<li class="tsd-kind-type-alias"><a href="SubTrees.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Sub<wbr/>Trees</a></li>
|
|
96
98
|
<li class="tsd-kind-type-alias"><a href="SubTreesN.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Sub<wbr/>TreesN</a></li>
|
|
97
99
|
<li class="tsd-kind-type-alias"><a href="TreeN.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>TreeN</a></li>
|
|
98
|
-
<li class="tsd-kind-type-alias"><a href="UriLoaderPromiseFunc.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Uri<wbr/>Loader<wbr/>Promise<wbr/>Func</a></li>
|
|
99
100
|
<li class="tsd-kind-type-alias"><a href="WxDate.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Wx<wbr/>Date</a></li>
|
|
101
|
+
<li class="tsd-kind-type-alias"><a href="WxEventType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Wx<wbr/>Event<wbr/>Type</a></li>
|
|
102
|
+
<li class="tsd-kind-type-alias"><a href="WxInstances.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Wx<wbr/>Instances</a></li>
|
|
103
|
+
<li class="tsd-kind-type-alias"><a href="WxLayerVarsNames.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Wx<wbr/>Layer<wbr/>Vars<wbr/>Names</a></li>
|
|
100
104
|
<li class="tsd-kind-type-alias"><a href="WxURIs.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>WxURIs</a></li>
|
|
101
105
|
<li class="current tsd-kind-type-alias"><a href="WxUnitTuple.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Wx<wbr/>Unit<wbr/>Tuple</a></li>
|
|
102
|
-
<li class="tsd-kind-type-alias"><a href="WxVars.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Wx<wbr/>Vars</a></li>
|
|
103
106
|
<li class="tsd-kind-function"><a href="../functions/WXLOG.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-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-64-path"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)" id="icon-64-text"></path></svg>WXLOG</a></li>
|
|
104
107
|
<li class="tsd-kind-function"><a href="../functions/WxCreateLegend.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>Wx<wbr/>Create<wbr/>Legend</a></li>
|
|
105
108
|
<li class="tsd-kind-function"><a href="../functions/WxGetColorSchemes.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>Wx<wbr/>Get<wbr/>Color<wbr/>Schemes</a></li>
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<title>WxTiles v2.0</title>
|
|
5
|
+
<meta charset="utf-8" />
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
|
+
<link rel="shortcut icon" href="res/icon.png" type="image/x-icon" />
|
|
8
|
+
|
|
9
|
+
<!-- LEAFLET lib goes first -->
|
|
10
|
+
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.9.3/dist/leaflet.css" crossorigin="" />
|
|
11
|
+
<script src="https://unpkg.com/leaflet@1.9.3/dist/leaflet.js" crossorigin=""></script>
|
|
12
|
+
|
|
13
|
+
<!-- WxTile lib goes here -->
|
|
14
|
+
<script src="https://unpkg.com/@metoceanapi/wxtiles-leaflet@2.1.3/dist/web/index.js"></script>
|
|
15
|
+
<link rel="stylesheet" href="https://unpkg.com/@metoceanapi/wxtiles-leaflet@2.1.3/dist/web/index.css" />
|
|
16
|
+
</head>
|
|
17
|
+
|
|
18
|
+
<body style="margin: 0">
|
|
19
|
+
<div id="map" style="height: 100vh; width: 100vw"></div>
|
|
20
|
+
<script>
|
|
21
|
+
('use strict');
|
|
22
|
+
start();
|
|
23
|
+
async function start() {
|
|
24
|
+
//// Leaflet initialization START
|
|
25
|
+
const map = L.map('map', { center: [0, 0], zoom: 2, zoomControl: true });
|
|
26
|
+
// add navigation controls
|
|
27
|
+
L.control.zoom({ position: 'bottomright' }).addTo(map);
|
|
28
|
+
//// Leaflet initialization END
|
|
29
|
+
|
|
30
|
+
//// Helper
|
|
31
|
+
const addWxLayer = async (wxsource) => {
|
|
32
|
+
map.addLayer(wxsource);
|
|
33
|
+
await new Promise((done) => wxsource.once('load', done)); // highly recommended to await for the first load
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
const getCoords = (e) => e.latlng.wrap();
|
|
37
|
+
//// Helpers END
|
|
38
|
+
|
|
39
|
+
//// WXTILES START
|
|
40
|
+
// grab the WxTiles API
|
|
41
|
+
const { WxTilesLogging, WxAPI } = window.wxtilesleaflet;
|
|
42
|
+
|
|
43
|
+
WxTilesLogging(true); // log WxTiles info to console if needed
|
|
44
|
+
|
|
45
|
+
const dataServerURL = 'https://tiles.metoceanapi.com/data/';
|
|
46
|
+
// Get the API ready - should be ONE per application
|
|
47
|
+
const wxapi = new WxAPI({ dataServerURL, maskURL: 'auto', qtreeURL: 'auto' });
|
|
48
|
+
|
|
49
|
+
// Define the dataset and variable
|
|
50
|
+
const datasetName = 'gfs.global';
|
|
51
|
+
const variable = 'air.temperature.at-2m'; // Scalar example
|
|
52
|
+
// const variable = 'wind.speed.eastward.at-10m'; // Vector example
|
|
53
|
+
|
|
54
|
+
// Create a dataset manager (may be used for many layers from this dataset)
|
|
55
|
+
const wxdatasetManager = await wxapi.createDatasetManager(datasetName);
|
|
56
|
+
|
|
57
|
+
// create a layer
|
|
58
|
+
const layerFrameworkOptions = { id: 'wxsource', opacity: 1, attribution: 'WxTiles' };
|
|
59
|
+
const wxsource = wxdatasetManager.createSourceLayer({ variable }, layerFrameworkOptions);
|
|
60
|
+
|
|
61
|
+
// add the layer to the map
|
|
62
|
+
await addWxLayer(wxsource);
|
|
63
|
+
|
|
64
|
+
// extra magic
|
|
65
|
+
// on mouse movement, add a new color to the color map and re-render the layer
|
|
66
|
+
await wxsource.updateCurrentStyleObject({ levels: undefined, mask: 'land' }); // reset levels if existing in the style
|
|
67
|
+
|
|
68
|
+
const levels = wxsource.getCurrentStyleObjectCopy().levels || []; // get current/default/any levels
|
|
69
|
+
// generate a new color map from the existing levels
|
|
70
|
+
const colMap = levels.map((level) => [level, '#' + Math.random().toString(16).slice(2, 8) + 'ff']);
|
|
71
|
+
let busy = false;
|
|
72
|
+
map.on('mousemove', async (e) => {
|
|
73
|
+
if (!wxsource || busy) return;
|
|
74
|
+
busy = true;
|
|
75
|
+
const tileInfo = wxsource.getLayerInfoAtLatLon(getCoords(e), map);
|
|
76
|
+
if (tileInfo) {
|
|
77
|
+
await wxsource.updateCurrentStyleObject({ colorMap: [...colMap, [tileInfo.inStyleUnits[0], '#ff000000']] });
|
|
78
|
+
}
|
|
79
|
+
busy = false;
|
|
80
|
+
});
|
|
81
|
+
}
|
|
82
|
+
</script>
|
|
83
|
+
</body>
|
|
84
|
+
</html>
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
<script src="https://unpkg.com/leaflet@1.9.3/dist/leaflet.js" crossorigin=""></script>
|
|
12
12
|
|
|
13
13
|
<!-- WxTile lib goes here -->
|
|
14
|
-
<script src="https://unpkg.com/@metoceanapi/wxtiles-leaflet@2.
|
|
15
|
-
<link rel="stylesheet" href="https://unpkg.com/@metoceanapi/wxtiles-leaflet@2.
|
|
14
|
+
<script src="https://unpkg.com/@metoceanapi/wxtiles-leaflet@2.1.3/dist/web/index.js"></script>
|
|
15
|
+
<link rel="stylesheet" href="https://unpkg.com/@metoceanapi/wxtiles-leaflet@2.1.3/dist/web/index.css" />
|
|
16
16
|
</head>
|
|
17
17
|
|
|
18
18
|
<body style="margin: 0">
|
|
@@ -20,23 +20,34 @@
|
|
|
20
20
|
|
|
21
21
|
<script>
|
|
22
22
|
('use strict');
|
|
23
|
-
|
|
24
|
-
async function
|
|
25
|
-
|
|
26
|
-
|
|
23
|
+
start();
|
|
24
|
+
async function start() {
|
|
25
|
+
//// Leaflet initialization START
|
|
27
26
|
const map = L.map('map', { center: [0, 0], zoom: 2, zoomControl: true });
|
|
27
|
+
// add navigation controls
|
|
28
|
+
L.control.zoom({ position: 'bottomright' }).addTo(map);
|
|
29
|
+
//// Leaflet initialization END
|
|
30
|
+
|
|
31
|
+
//// Helper
|
|
32
|
+
const addWxLayer = async (wxsource) => {
|
|
33
|
+
map.addLayer(wxsource);
|
|
34
|
+
await new Promise((done) => wxsource.once('load', done)); // highly recommended to await for the first load
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
const getCoords = (e) => e.latlng.wrap();
|
|
38
|
+
//// Helpers END
|
|
28
39
|
|
|
29
|
-
|
|
30
|
-
//
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
}; // add more options if needed such as headers, mode, credentials, etc
|
|
40
|
+
//// WXTILES START
|
|
41
|
+
// grab the WxTiles API
|
|
42
|
+
const { WxTilesLogging, WxAPI } = window.wxtilesleaflet;
|
|
43
|
+
|
|
44
|
+
WxTilesLogging(true); // log WxTiles info to console if needed
|
|
35
45
|
|
|
46
|
+
const dataServerURL = 'https://tiles.metoceanapi.com/data/';
|
|
36
47
|
// Get the API ready - should be ONE per application
|
|
37
|
-
|
|
38
|
-
const wxapi = new WxAPI({ dataServerURL, maskURL: 'auto', qtreeURL: 'auto', requestInit });
|
|
48
|
+
const wxapi = new WxAPI({ dataServerURL, maskURL: 'auto', qtreeURL: 'auto' });
|
|
39
49
|
|
|
50
|
+
// Define the dataset and variable
|
|
40
51
|
const datasetName = 'gfs.global';
|
|
41
52
|
const variable = 'air.temperature.at-2m'; // Scalar example
|
|
42
53
|
// const variable = 'wind.speed.eastward.at-10m'; // Vector example
|
|
@@ -45,18 +56,15 @@
|
|
|
45
56
|
const wxdatasetManager = await wxapi.createDatasetManager(datasetName);
|
|
46
57
|
|
|
47
58
|
// create a layer
|
|
48
|
-
const
|
|
49
|
-
const wxsource = wxdatasetManager.createSourceLayer({ variable },
|
|
59
|
+
const layerFrameworkOptions = { id: 'wxsource', opacity: 1, attribution: 'WxTiles' };
|
|
60
|
+
const wxsource = wxdatasetManager.createSourceLayer({ variable }, layerFrameworkOptions);
|
|
50
61
|
|
|
51
62
|
// add the layer to the map
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
// await for the first load
|
|
55
|
-
await new Promise((done) => wxsource.once('load', done)); // highly recommended to await for the first load
|
|
63
|
+
await addWxLayer(wxsource);
|
|
56
64
|
|
|
65
|
+
// extra magic
|
|
57
66
|
// update the style: mask sea
|
|
58
|
-
await wxsource.updateCurrentStyleObject({ mask: '
|
|
59
|
-
|
|
67
|
+
await wxsource.updateCurrentStyleObject({ mask: 'land' });
|
|
60
68
|
// start the blur animation
|
|
61
69
|
(async function step(n = 0) {
|
|
62
70
|
await wxsource.updateCurrentStyleObject({ isolineText: false, blurRadius: ~~(10 * Math.sin(n / 500) + 10) });
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
<script src="https://unpkg.com/leaflet@1.9.3/dist/leaflet.js" crossorigin=""></script>
|
|
12
12
|
|
|
13
13
|
<!-- WxTile lib goes here -->
|
|
14
|
-
<script src="https://unpkg.com/@metoceanapi/wxtiles-leaflet@2.
|
|
15
|
-
<link rel="stylesheet" href="https://unpkg.com/@metoceanapi/wxtiles-leaflet@2.
|
|
14
|
+
<script src="https://unpkg.com/@metoceanapi/wxtiles-leaflet@2.1.3/dist/web/index.js"></script>
|
|
15
|
+
<link rel="stylesheet" href="https://unpkg.com/@metoceanapi/wxtiles-leaflet@2.1.3/dist/web/index.css" />
|
|
16
16
|
</head>
|
|
17
17
|
|
|
18
18
|
<body style="margin: 0">
|
|
@@ -20,39 +20,50 @@
|
|
|
20
20
|
|
|
21
21
|
<script>
|
|
22
22
|
('use strict');
|
|
23
|
-
|
|
24
|
-
async function
|
|
25
|
-
|
|
26
|
-
|
|
23
|
+
start();
|
|
24
|
+
async function start() {
|
|
25
|
+
//// Leaflet initialization START
|
|
27
26
|
const map = L.map('map', { center: [0, 0], zoom: 2, zoomControl: true });
|
|
27
|
+
// add navigation controls
|
|
28
|
+
L.control.zoom({ position: 'bottomright' }).addTo(map);
|
|
29
|
+
//// Leaflet initialization END
|
|
30
|
+
|
|
31
|
+
//// Helper
|
|
32
|
+
const addWxLayer = async (wxsource) => {
|
|
33
|
+
map.addLayer(wxsource);
|
|
34
|
+
await new Promise((done) => wxsource.once('load', done)); // highly recommended to await for the first load
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
const getCoords = (e) => e.latlng.wrap();
|
|
38
|
+
//// Helpers END
|
|
39
|
+
|
|
40
|
+
//// WXTILES START
|
|
41
|
+
// grab the WxTiles API
|
|
42
|
+
const { WxTilesLogging, WxAPI } = window.wxtilesleaflet;
|
|
28
43
|
|
|
29
|
-
|
|
30
|
-
// const headers = new Headers();
|
|
31
|
-
// headers.append('x-api-key', '--proper-key-value--'); // If needed in the future
|
|
32
|
-
const requestInit = {
|
|
33
|
-
/* headers */
|
|
34
|
-
}; // add more options if needed such as headers, mode, credentials, etc
|
|
44
|
+
WxTilesLogging(true); // log WxTiles info to console if needed
|
|
35
45
|
|
|
46
|
+
const dataServerURL = 'https://tiles.metoceanapi.com/data/';
|
|
36
47
|
// Get the API ready - should be ONE per application
|
|
37
|
-
|
|
38
|
-
const wxapi = new WxAPI({ dataServerURL, maskURL: 'auto', qtreeURL: 'auto', requestInit });
|
|
48
|
+
const wxapi = new WxAPI({ dataServerURL, maskURL: 'auto', qtreeURL: 'auto' });
|
|
39
49
|
|
|
50
|
+
// Define the dataset and variable
|
|
40
51
|
const datasetName = 'gfs.global';
|
|
41
|
-
const variable = 'air.temperature.at-2m'; // Scalar example
|
|
42
|
-
|
|
52
|
+
// const variable = 'air.temperature.at-2m'; // Scalar example
|
|
53
|
+
const variable = 'wind.speed.eastward.at-10m'; // Vector example
|
|
43
54
|
|
|
44
55
|
// Create a dataset manager (may be used for many layers from this dataset)
|
|
45
56
|
const wxdatasetManager = await wxapi.createDatasetManager(datasetName);
|
|
46
57
|
|
|
47
58
|
// create a layer
|
|
48
|
-
const
|
|
49
|
-
const wxsource = wxdatasetManager.createSourceLayer({ variable },
|
|
59
|
+
const layerFrameworkOptions = { id: 'wxsource', opacity: 1, attribution: 'WxTiles' };
|
|
60
|
+
const wxsource = wxdatasetManager.createSourceLayer({ variable }, layerFrameworkOptions);
|
|
50
61
|
|
|
51
62
|
// add the layer to the map
|
|
52
|
-
|
|
63
|
+
await addWxLayer(wxsource);
|
|
53
64
|
|
|
54
|
-
//
|
|
55
|
-
await
|
|
65
|
+
// extra magic
|
|
66
|
+
await wxsource.updateCurrentStyleObject({ streamLineColor: 'inverted' });
|
|
56
67
|
}
|
|
57
68
|
</script>
|
|
58
69
|
</body>
|