tds-map-methods 0.1.11 → 0.1.13

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tds-map-methods",
3
- "version": "0.1.11",
3
+ "version": "0.1.13",
4
4
  "type": "module",
5
5
  "description": "Map methods extracted from tds demo.",
6
6
  "publishConfig": {
@@ -1,11 +1,25 @@
1
1
  import type Map from "ol/Map.js";
2
2
  import VectorLayer from "ol/layer/Vector.js";
3
3
  import VectorSource from "ol/source/Vector.js";
4
+ export declare const MIC_FREEZING_RAIN_DEFAULTS: Readonly<{
5
+ symbolId: "28";
6
+ participatesInPrecipitationCut: false;
7
+ transparentFill: true;
8
+ boundaryColor: "#ffa809";
9
+ boundaryWidth: 3;
10
+ showMarker: true;
11
+ iconScale: 0.16;
12
+ }>;
4
13
  type LegendItem = {
5
14
  name?: string;
6
15
  scope?: number[];
7
16
  color: string;
8
17
  };
18
+ export type MicTimeRange = {
19
+ timeRange: string;
20
+ timeTotal: number;
21
+ publicTime: string;
22
+ };
9
23
  export type MicContourOptions = {
10
24
  className: string;
11
25
  filePath: string;
@@ -21,6 +35,7 @@ export type MicContourOptions = {
21
35
  showIsoline?: boolean;
22
36
  showPointMarkers?: boolean;
23
37
  };
38
+ export declare function preloadMicContours(urls: string[], className: string): Promise<void>;
24
39
  /** Parse a MICAPS file and atomically replace its related vector layers. */
25
40
  export declare function createMicContour(map: Map, options: MicContourOptions): Promise<VectorLayer<VectorSource<any>, any>>;
26
41
  /** Remove all layers created for a MICAPS dataset and invalidate pending renders. */