@metoceanapi/wxtiles-leaflet 2.0.7 → 2.0.9
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/LICENSE.txt +12 -0
- package/dist/es/controls/WxAPIControl.d.ts +1 -1
- package/dist/es/index.js +2 -2
- package/dist/es/utils/wxtools.d.ts +9 -4
- package/dist/web/index.js +2 -2
- package/docs/docs/assets/search.js +1 -1
- package/docs/docs/classes/DataIntegral.html +154 -0
- package/docs/docs/classes/Loader.html +1 -1
- package/docs/docs/classes/QTree.html +6 -6
- package/docs/docs/enums/TileType.html +4 -4
- package/docs/docs/functions/WXLOG.html +3 -3
- package/docs/docs/functions/WxCreateLegend.html +2 -2
- package/docs/docs/functions/WxGetColorSchemes.html +2 -2
- package/docs/docs/functions/WxGetColorStyles.html +2 -2
- package/docs/docs/functions/WxTilesLogging.html +3 -3
- package/docs/docs/index.html +2 -2
- package/docs/docs/interfaces/ColorStylesIncomplete.html +2 -2
- package/docs/docs/interfaces/DataPicture.html +4 -2
- package/docs/docs/interfaces/Tree.html +2 -2
- package/docs/docs/interfaces/WxColorSchemes.html +2 -2
- package/docs/docs/interfaces/WxColorStylesWeakMixed.html +2 -2
- package/docs/docs/interfaces/WxUnits.html +2 -2
- package/docs/docs/interfaces/WxVariablesMetas.html +2 -2
- package/docs/docs/modules.html +3 -3
- package/docs/docs/types/DataIntegrals.html +5 -5
- package/docs/docs/types/DataPictures.html +2 -2
- package/docs/docs/types/SLine.html +2 -2
- package/docs/docs/types/SubTrees.html +3 -3
- package/docs/docs/types/SubTreesN.html +3 -3
- package/docs/docs/types/TreeN.html +3 -3
- package/docs/docs/types/UriLoaderPromiseFunc.html +2 -2
- package/docs/docs/types/WxDate.html +2 -2
- package/docs/docs/types/WxURIs.html +2 -2
- package/docs/docs/types/WxUnitTuple.html +2 -2
- package/docs/docs/types/WxVars.html +2 -2
- package/docs/examples/res/icon.png +0 -0
- package/docs/examples/res/wxtiles-logo.png +0 -0
- package/docs/examples/seaMaskAndAnimatedBlur.html +68 -0
- package/docs/examples/simpleDemo.html +59 -0
- package/docs/script/script.js +4 -4
- package/package.json +1 -1
- package/src_example/frwrkdeps.ts +69 -0
- package/src_example/index.ts +7 -279
- package/src_example/start.ts +232 -0
- package/build-for-docs.js +0 -23
- package/docs/docs/interfaces/DataIntegral.html +0 -112
|
@@ -43,7 +43,8 @@
|
|
|
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/
|
|
46
|
+
<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"><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>Data<wbr/>Integral</a></li>
|
|
47
|
+
<li class="tsd-kind-class"><a href="../classes/FrameworkParentClass.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>Framework<wbr/>Parent<wbr/>Class</a></li>
|
|
47
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>
|
|
48
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>
|
|
49
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>
|
|
@@ -55,7 +56,6 @@
|
|
|
55
56
|
<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>
|
|
56
57
|
<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"><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>Color<wbr/>Styles<wbr/>Incomplete</a></li>
|
|
57
58
|
<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>
|
|
58
|
-
<li class="tsd-kind-interface"><a href="../interfaces/DataIntegral.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/>Integral</a></li>
|
|
59
59
|
<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
60
|
<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>
|
|
61
61
|
<li class="tsd-kind-interface"><a href="../interfaces/IntegralPare.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>Integral<wbr/>Pare</a></li>
|
|
@@ -43,7 +43,8 @@
|
|
|
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/
|
|
46
|
+
<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"><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>Data<wbr/>Integral</a></li>
|
|
47
|
+
<li class="tsd-kind-class"><a href="../classes/FrameworkParentClass.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>Framework<wbr/>Parent<wbr/>Class</a></li>
|
|
47
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>
|
|
48
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>
|
|
49
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>
|
|
@@ -55,7 +56,6 @@
|
|
|
55
56
|
<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>
|
|
56
57
|
<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"><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>Color<wbr/>Styles<wbr/>Incomplete</a></li>
|
|
57
58
|
<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>
|
|
58
|
-
<li class="tsd-kind-interface"><a href="../interfaces/DataIntegral.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/>Integral</a></li>
|
|
59
59
|
<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
60
|
<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>
|
|
61
61
|
<li class="tsd-kind-interface"><a href="../interfaces/IntegralPare.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>Integral<wbr/>Pare</a></li>
|
|
@@ -43,7 +43,8 @@
|
|
|
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/
|
|
46
|
+
<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"><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>Data<wbr/>Integral</a></li>
|
|
47
|
+
<li class="tsd-kind-class"><a href="../classes/FrameworkParentClass.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>Framework<wbr/>Parent<wbr/>Class</a></li>
|
|
47
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>
|
|
48
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>
|
|
49
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>
|
|
@@ -55,7 +56,6 @@
|
|
|
55
56
|
<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>
|
|
56
57
|
<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"><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>Color<wbr/>Styles<wbr/>Incomplete</a></li>
|
|
57
58
|
<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>
|
|
58
|
-
<li class="tsd-kind-interface"><a href="../interfaces/DataIntegral.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/>Integral</a></li>
|
|
59
59
|
<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
60
|
<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>
|
|
61
61
|
<li class="tsd-kind-interface"><a href="../interfaces/IntegralPare.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>Integral<wbr/>Pare</a></li>
|
|
@@ -43,7 +43,8 @@
|
|
|
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/
|
|
46
|
+
<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"><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>Data<wbr/>Integral</a></li>
|
|
47
|
+
<li class="tsd-kind-class"><a href="../classes/FrameworkParentClass.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>Framework<wbr/>Parent<wbr/>Class</a></li>
|
|
47
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>
|
|
48
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>
|
|
49
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>
|
|
@@ -55,7 +56,6 @@
|
|
|
55
56
|
<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>
|
|
56
57
|
<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"><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>Color<wbr/>Styles<wbr/>Incomplete</a></li>
|
|
57
58
|
<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>
|
|
58
|
-
<li class="tsd-kind-interface"><a href="../interfaces/DataIntegral.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/>Integral</a></li>
|
|
59
59
|
<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
60
|
<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>
|
|
61
61
|
<li class="tsd-kind-interface"><a href="../interfaces/IntegralPare.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>Integral<wbr/>Pare</a></li>
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,68 @@
|
|
|
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.0.8/dist/web/index.js"></script>
|
|
15
|
+
<link rel="stylesheet" href="https://unpkg.com/@metoceanapi/wxtiles-leaflet@2.0.8/dist/web/index.css" />
|
|
16
|
+
</head>
|
|
17
|
+
|
|
18
|
+
<body style="margin: 0">
|
|
19
|
+
<div id="map" style="height: 100vh; width: 100vw"></div>
|
|
20
|
+
|
|
21
|
+
<script>
|
|
22
|
+
('use strict');
|
|
23
|
+
simpleDemo();
|
|
24
|
+
async function simpleDemo() {
|
|
25
|
+
const { WxTilesLogging, WxAPI } = window.wxtilesleaflet;
|
|
26
|
+
|
|
27
|
+
const map = L.map('map', { center: [0, 0], zoom: 2, zoomControl: true });
|
|
28
|
+
|
|
29
|
+
const dataServerURL = 'https://tilestest.metoceanapi.com/data/';
|
|
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
|
|
35
|
+
|
|
36
|
+
// Get the API ready - should be ONE per application
|
|
37
|
+
WxTilesLogging(true); // If needed
|
|
38
|
+
const wxapi = new WxAPI({ dataServerURL, maskURL: 'auto', qtreeURL: 'auto', requestInit });
|
|
39
|
+
|
|
40
|
+
const datasetName = 'gfs.global';
|
|
41
|
+
const variable = 'air.temperature.at-2m'; // Scalar example
|
|
42
|
+
// const variable = 'wind.speed.eastward.at-10m'; // Vector example
|
|
43
|
+
|
|
44
|
+
// Create a dataset manager (may be used for many layers from this dataset)
|
|
45
|
+
const wxdatasetManager = await wxapi.createDatasetManager(datasetName);
|
|
46
|
+
|
|
47
|
+
// create a layer
|
|
48
|
+
const leafletOptions = { id: 'wxsource', opacity: 1, attribution: 'WxTiles' };
|
|
49
|
+
const wxsource = wxdatasetManager.createSourceLayer({ variable }, leafletOptions);
|
|
50
|
+
|
|
51
|
+
// add the layer to the map
|
|
52
|
+
map.addLayer(wxsource);
|
|
53
|
+
|
|
54
|
+
// await for the first load
|
|
55
|
+
await new Promise((done) => wxsource.once('load', done)); // highly recommended to await for the first load
|
|
56
|
+
|
|
57
|
+
// update the style: mask sea
|
|
58
|
+
await wxsource.updateCurrentStyleObject({ mask: 'sea' });
|
|
59
|
+
|
|
60
|
+
// start the blur animation
|
|
61
|
+
(async function step(n = 0) {
|
|
62
|
+
await wxsource.updateCurrentStyleObject({ isolineText: false, blurRadius: ~~(10 * Math.sin(n / 500) + 10) });
|
|
63
|
+
requestAnimationFrame(step);
|
|
64
|
+
})();
|
|
65
|
+
}
|
|
66
|
+
</script>
|
|
67
|
+
</body>
|
|
68
|
+
</html>
|
|
@@ -0,0 +1,59 @@
|
|
|
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.0.8/dist/web/index.js"></script>
|
|
15
|
+
<link rel="stylesheet" href="https://unpkg.com/@metoceanapi/wxtiles-leaflet@2.0.8/dist/web/index.css" />
|
|
16
|
+
</head>
|
|
17
|
+
|
|
18
|
+
<body style="margin: 0">
|
|
19
|
+
<div id="map" style="height: 100vh; width: 100vw"></div>
|
|
20
|
+
|
|
21
|
+
<script>
|
|
22
|
+
('use strict');
|
|
23
|
+
simpleDemo();
|
|
24
|
+
async function simpleDemo() {
|
|
25
|
+
const { WxTilesLogging, WxAPI } = window.wxtilesleaflet;
|
|
26
|
+
|
|
27
|
+
const map = L.map('map', { center: [0, 0], zoom: 2, zoomControl: true });
|
|
28
|
+
|
|
29
|
+
const dataServerURL = 'https://tilestest.metoceanapi.com/data/';
|
|
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
|
|
35
|
+
|
|
36
|
+
// Get the API ready - should be ONE per application
|
|
37
|
+
WxTilesLogging(true); // If needed
|
|
38
|
+
const wxapi = new WxAPI({ dataServerURL, maskURL: 'auto', qtreeURL: 'auto', requestInit });
|
|
39
|
+
|
|
40
|
+
const datasetName = 'gfs.global';
|
|
41
|
+
const variable = 'air.temperature.at-2m'; // Scalar example
|
|
42
|
+
// const variable = 'wind.speed.eastward.at-10m'; // Vector example
|
|
43
|
+
|
|
44
|
+
// Create a dataset manager (may be used for many layers from this dataset)
|
|
45
|
+
const wxdatasetManager = await wxapi.createDatasetManager(datasetName);
|
|
46
|
+
|
|
47
|
+
// create a layer
|
|
48
|
+
const leafletOptions = { id: 'wxsource', opacity: 1, attribution: 'WxTiles' };
|
|
49
|
+
const wxsource = wxdatasetManager.createSourceLayer({ variable }, leafletOptions);
|
|
50
|
+
|
|
51
|
+
// add the layer to the map
|
|
52
|
+
map.addLayer(wxsource);
|
|
53
|
+
|
|
54
|
+
// await for the first load
|
|
55
|
+
await new Promise((done) => wxsource.once('load', done)); // highly recommended to await for the first load
|
|
56
|
+
}
|
|
57
|
+
</script>
|
|
58
|
+
</body>
|
|
59
|
+
</html>
|