tds-map-methods 0.1.15 → 0.1.16

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.15",
3
+ "version": "0.1.16",
4
4
  "type": "module",
5
5
  "description": "Map methods extracted from tds demo.",
6
6
  "publishConfig": {
@@ -43,6 +43,9 @@ export type MicContourOptions = {
43
43
  showPointMarkers?: boolean;
44
44
  showFrostLine?: boolean;
45
45
  frostLineColor?: string;
46
+ frostLineWidth?: number;
47
+ frostLineTickSpacing?: number;
48
+ frostLineTickLength?: number;
46
49
  };
47
50
  export declare function preloadMicContours(urls: string[], className: string): Promise<void>;
48
51
  /** Parse a MICAPS file and atomically replace its related vector layers. */
@@ -21,6 +21,9 @@ export declare class MicLayer {
21
21
  showPointMarkers: any;
22
22
  showFrostLine: any;
23
23
  frostLineColor: any;
24
+ frostLineWidth: any;
25
+ frostLineTickSpacing: any;
26
+ frostLineTickLength: any;
24
27
  };
25
28
  add(): Promise<void>;
26
29
  delete(): void;
@@ -96,8 +96,14 @@ declare namespace Layer {
96
96
  showPointMarkers?: boolean;
97
97
  /** MICAPS 是否显示霜冻线,默认 true */
98
98
  showFrostLine?: boolean;
99
- /** MICAPS frost line color. Defaults to #ff0000. */
99
+ /** MICAPS 霜冻线颜色,默认 #ff0000 */
100
100
  frostLineColor?: string;
101
+ /** MICAPS 霜冻线线条粗细;未配置时优先使用文件线宽,默认 3 */
102
+ frostLineWidth?: number;
103
+ /** MICAPS 霜冻线锯齿间隔(像素),默认 22 */
104
+ frostLineTickSpacing?: number;
105
+ /** MICAPS 霜冻线锯齿大小(像素),默认 16 */
106
+ frostLineTickLength?: number;
101
107
  /** 图例色带范围 */
102
108
  legend: Legend;
103
109
  /** 图例色带类型 visible:不显示色带 legend: 显示色块文字 grid:显示网格色带 gradual:显示渐变色带 */