tds-map-methods 0.1.13 → 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 +2098 -2042
- package/package.json +1 -1
- package/types/components/map/methods/createMic.d.ts +7 -0
package/README.md
CHANGED
|
@@ -584,6 +584,13 @@ removeMicContour(map, "micaps-weather");
|
|
|
584
584
|
import { MIC_FREEZING_RAIN_DEFAULTS } from "tds-map-methods";
|
|
585
585
|
~~~
|
|
586
586
|
|
|
587
|
+
霜冻线同样无需额外配置:自动读取 `LINES_SYMBOL` 中编码为 `38` 的线段,
|
|
588
|
+
按照 MIC 原始坐标点依次连接为红色折线,并沿原始点序的一侧等距绘制短垂线。
|
|
589
|
+
主线使用文件线宽,默认线宽为 `3`;默认短线间距为 `22px`、长度为 `16px`。
|
|
590
|
+
霜冻线为独立图层,不参与降水区域切割,不受 `showIsoline`、`showFillcolor`
|
|
591
|
+
或 `showPointMarkers` 控制;通过 `loadLayer` 创建时会随数据集一起显隐、更新和删除。
|
|
592
|
+
可导入 `MIC_FROST_LINE_DEFAULTS` 查看内置颜色、默认线宽及短线尺寸。
|
|
593
|
+
|
|
587
594
|
## TDS 数据请求
|
|
588
595
|
|
|
589
596
|
包内请求方法基于浏览器 `fetch`,支持 Authorization、超时和 `AbortSignal`。
|