m4-w-fast 1.0.5 → 1.0.6
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 +3 -0
- package/dist/index.js +1 -1
- package/dist/intersect.worker.js +2 -2
- package/dist/isoBands.worker.js +1 -1
- package/dist/readFile.d.ts +11 -1
- package/dist/readFile.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -18,6 +18,8 @@
|
|
|
18
18
|
- v1.0.5:
|
|
19
19
|
- `.start()`方法提供了一个Promise.reject的错误回调, 用于捕获文件读取错误
|
|
20
20
|
- 优化了在少数情况下, 绘图会出现有值但没有被绘制的问题
|
|
21
|
+
- v1.0.6:
|
|
22
|
+
- 优化`getIsoBandsFast()`的绘图效果, 基于面积排序的结果存在一些未达预期的效果, 后续可能会撤销`getIsoBandsFastByWorker()`方法
|
|
21
23
|
### 类型参照
|
|
22
24
|
> ReadConfig
|
|
23
25
|
|
|
@@ -96,6 +98,7 @@ const init = async() => {
|
|
|
96
98
|
```
|
|
97
99
|
|
|
98
100
|
3. webWorker使用示例 (worker主要用来裁切文件)
|
|
101
|
+
- **注意!`getIsoBandsFastByWorker()`即将弃用!, 请使用`getIsoBandsFast()`**
|
|
99
102
|
```vue
|
|
100
103
|
<script lang="ts" setup>
|
|
101
104
|
import * as L from 'leaflet'
|