@metoceanapi/wxtiles-leaflet 1.0.6-15 → 1.0.6-18
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 +19 -0
- package/dist/es/qtree.d.ts +2 -1
- package/dist/es/tilesLayer.d.ts +3 -2
- package/dist/es/wxtiles.d.ts +1 -0
- package/dist/es/wxtiles.js +1 -1
- package/dist/es/wxtools.d.ts +7 -6
- package/dist/web/wxtiles.js +1 -1
- package/package.json +1 -1
- package/dist/es/defaults/seamask.d.ts +0 -2
package/CHANGELOG.md
CHANGED
|
@@ -9,9 +9,28 @@ Write your changes below this section. `npm version [major|minor|patch]` will au
|
|
|
9
9
|
|
|
10
10
|
## [Unreleased]
|
|
11
11
|
|
|
12
|
+
## [1.0.6-18] - 2021-11-11
|
|
13
|
+
|
|
14
|
+
## [1.0.6-17] - 2021-11-11
|
|
15
|
+
|
|
16
|
+
### Fixed
|
|
17
|
+
|
|
18
|
+
- default: mask = none
|
|
19
|
+
|
|
20
|
+
## [1.0.6-16] - 2021-11-11
|
|
21
|
+
|
|
22
|
+
### Added
|
|
23
|
+
|
|
24
|
+
- LoadQTree
|
|
25
|
+
|
|
26
|
+
### Fixed
|
|
27
|
+
|
|
28
|
+
- QTreeCheckCoord at level > level of the loaded qtree
|
|
29
|
+
|
|
12
30
|
## [1.0.6-15] - 2021-11-10
|
|
13
31
|
|
|
14
32
|
### added
|
|
33
|
+
|
|
15
34
|
- qtree, mask ('sea' | 'land' | 'none'), maskServerURI in DataSource
|
|
16
35
|
- loadImage, imageToData,loadImageData
|
|
17
36
|
|
package/dist/es/qtree.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Coords } from './tile';
|
|
2
|
+
export declare function LoadQTree(input: RequestInfo, init?: RequestInit | undefined): Promise<void>;
|
|
2
3
|
export declare enum TileType {
|
|
3
4
|
Land = "land",
|
|
4
5
|
Mixed = "mixed",
|
|
5
6
|
Sea = "sea"
|
|
6
7
|
}
|
|
7
|
-
export declare function QTreeCheckCoord(
|
|
8
|
+
export declare function QTreeCheckCoord(coord: Coords): TileType;
|
package/dist/es/tilesLayer.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import L from 'leaflet';
|
|
2
2
|
import { RawCLUT } from './RawCLUT';
|
|
3
3
|
import { WxTile } from './tile';
|
|
4
|
-
import { ColorStylesStrict, ColorStyleStrict, AbortableCacheableFunc } from './wxtools';
|
|
4
|
+
import { ColorStylesStrict, ColorStyleStrict, AbortableCacheableFunc, DataIntegral } from './wxtools';
|
|
5
5
|
export interface VariableMeta {
|
|
6
6
|
[name: string]: {
|
|
7
7
|
units: string;
|
|
@@ -57,7 +57,8 @@ export declare class WxTilesLayer extends L.GridLayer {
|
|
|
57
57
|
protected styles: ColorStylesStrict;
|
|
58
58
|
dataSource: DataSource;
|
|
59
59
|
style: ColorStyleStrict;
|
|
60
|
-
loadData: AbortableCacheableFunc
|
|
60
|
+
loadData: AbortableCacheableFunc<Promise<DataIntegral>>;
|
|
61
|
+
loadMask: AbortableCacheableFunc<Promise<ImageData>>;
|
|
61
62
|
error: string | null;
|
|
62
63
|
vector: boolean;
|
|
63
64
|
clut: RawCLUT;
|
package/dist/es/wxtiles.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import L from 'leaflet';
|
|
|
3
3
|
import { WxTilesLayer, WxTilesLayerSettings } from './tilesLayer';
|
|
4
4
|
export { WxTilesLogging, WxTilesLibSetup, WxGetColorStyles, ColorStylesWeakMixed, Units, ColorSchemes, LibSetupObject } from './wxtools';
|
|
5
5
|
export { WxTilesLayer, WxTilesLayerSettings, DataSource } from './tilesLayer';
|
|
6
|
+
export { LoadQTree } from './qtree';
|
|
6
7
|
export declare function CreateWxTilesLayer(settings: WxTilesLayerSettings): WxTilesLayer;
|
|
7
8
|
export declare class WxWatermark extends L.Control {
|
|
8
9
|
URI: string;
|