tds-map-methods 0.1.10 → 0.1.12
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 +8 -0
- package/index.cjs +17 -17
- package/index.js +1709 -1677
- package/package.json +1 -1
- package/types/components/map/methods/createMic.d.ts +9 -0
package/README.md
CHANGED
|
@@ -576,6 +576,14 @@ await createMicContour(map, {
|
|
|
576
576
|
removeMicContour(map, "micaps-weather");
|
|
577
577
|
~~~
|
|
578
578
|
|
|
579
|
+
冻雨无需额外配置。包内通过 `MIC_FREEZING_RAIN_DEFAULTS` 默认识别符号 `28`,
|
|
580
|
+
冻雨区域不参与普通降水的层级切割,填色保持透明,并绘制橙色边界和冻雨图标。
|
|
581
|
+
可以导入该常量查看当前内置规则:
|
|
582
|
+
|
|
583
|
+
~~~ts
|
|
584
|
+
import { MIC_FREEZING_RAIN_DEFAULTS } from "tds-map-methods";
|
|
585
|
+
~~~
|
|
586
|
+
|
|
579
587
|
## TDS 数据请求
|
|
580
588
|
|
|
581
589
|
包内请求方法基于浏览器 `fetch`,支持 Authorization、超时和 `AbortSignal`。
|