tds-map-methods 0.1.12 → 0.1.14
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/README.md +7 -0
- package/index.cjs +17 -17
- package/index.js +2532 -2360
- package/package.json +1 -1
- package/types/components/map/methods/createMic.d.ts +13 -0
package/package.json
CHANGED
|
@@ -10,11 +10,23 @@ export declare const MIC_FREEZING_RAIN_DEFAULTS: Readonly<{
|
|
|
10
10
|
showMarker: true;
|
|
11
11
|
iconScale: 0.16;
|
|
12
12
|
}>;
|
|
13
|
+
export declare const MIC_FROST_LINE_DEFAULTS: Readonly<{
|
|
14
|
+
symbolId: "38";
|
|
15
|
+
color: "#ff0000";
|
|
16
|
+
width: 3;
|
|
17
|
+
tickSpacing: 22;
|
|
18
|
+
tickLength: 16;
|
|
19
|
+
}>;
|
|
13
20
|
type LegendItem = {
|
|
14
21
|
name?: string;
|
|
15
22
|
scope?: number[];
|
|
16
23
|
color: string;
|
|
17
24
|
};
|
|
25
|
+
export type MicTimeRange = {
|
|
26
|
+
timeRange: string;
|
|
27
|
+
timeTotal: number;
|
|
28
|
+
publicTime: string;
|
|
29
|
+
};
|
|
18
30
|
export type MicContourOptions = {
|
|
19
31
|
className: string;
|
|
20
32
|
filePath: string;
|
|
@@ -30,6 +42,7 @@ export type MicContourOptions = {
|
|
|
30
42
|
showIsoline?: boolean;
|
|
31
43
|
showPointMarkers?: boolean;
|
|
32
44
|
};
|
|
45
|
+
export declare function preloadMicContours(urls: string[], className: string): Promise<void>;
|
|
33
46
|
/** Parse a MICAPS file and atomically replace its related vector layers. */
|
|
34
47
|
export declare function createMicContour(map: Map, options: MicContourOptions): Promise<VectorLayer<VectorSource<any>, any>>;
|
|
35
48
|
/** Remove all layers created for a MICAPS dataset and invalidate pending renders. */
|