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/README.md +11 -4
- package/index.cjs +12 -12
- package/index.js +1422 -1410
- package/package.json +1 -1
- package/types/components/map/methods/createMic.d.ts +3 -0
- package/types/components/map/methods/micLayer.d.ts +3 -0
- package/types/typings/layer.d.ts +7 -1
package/package.json
CHANGED
|
@@ -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. */
|
package/types/typings/layer.d.ts
CHANGED
|
@@ -96,8 +96,14 @@ declare namespace Layer {
|
|
|
96
96
|
showPointMarkers?: boolean;
|
|
97
97
|
/** MICAPS 是否显示霜冻线,默认 true */
|
|
98
98
|
showFrostLine?: boolean;
|
|
99
|
-
/** MICAPS
|
|
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:显示渐变色带 */
|