bluestar-maplibre 1.1.2 → 1.1.3

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/dist/index.js CHANGED
@@ -2207,7 +2207,7 @@ class Jo {
2207
2207
  // ======================== 图层创建方法 ========================
2208
2208
  /** 创建数据源 */
2209
2209
  createSource(e) {
2210
- if (this.mainSource || (this.viewer.addSource(this.sourceId, { type: "grid" }), this.mainSource = this.viewer.getSource(this.sourceId)), (!this.valueDirectionSource && e.block.U || e.block.D) && (this.viewer.addSource(this.valueDirectionSourceId, { type: "grid" }), this.valueDirectionSource = this.viewer.getSource(this.valueDirectionSourceId)), !this.mainSource) throw new Error("source is null");
2210
+ if (this.mainSource || (this.viewer.addSource(this.sourceId, { type: "grid" }), this.mainSource = this.viewer.getSource(this.sourceId)), !this.valueDirectionSource && (e.block.U || e.block.D) && (this.viewer.addSource(this.valueDirectionSourceId, { type: "grid" }), this.valueDirectionSource = this.viewer.getSource(this.valueDirectionSourceId)), !this.mainSource) throw new Error("source is null");
2211
2211
  e.dtype === "uint8" || e.dtype === "uint16" ? this.mainSource.setData({
2212
2212
  lon: [e.west, e.east],
2213
2213
  lat: [e.north, e.south],
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bluestar-maplibre",
3
3
  "author": "awayel",
4
- "version": "1.1.2",
4
+ "version": "1.1.3",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
package/readme.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # bluestar-maplibre
2
2
 
3
+ ### 1.1.3
4
+ - 修复wegRender修改wegData的bug
5
+
3
6
  ### 1.1.2
4
7
  - 增加对grib数据的支持和解析渲染
5
8
  - 修复3D地图模式会崩溃的问题