From 8900aec8fc96ff5c4a97a1e56643ab39c6431162 Mon Sep 17 00:00:00 2001 From: thinkinggis Date: Thu, 20 Feb 2020 00:33:31 +0800 Subject: [PATCH] chore: update version 2.0.23 --- lerna.json | 2 +- packages/component/package.json | 6 +++--- packages/core/package.json | 4 ++-- packages/l7/package.json | 12 ++++++------ packages/layers/package.json | 8 ++++---- packages/layers/src/core/BaseLayer.ts | 5 ++++- packages/maps/package.json | 6 +++--- packages/react/package.json | 10 +++++----- packages/renderer/package.json | 4 ++-- packages/scene/package.json | 12 ++++++------ packages/source/package.json | 6 +++--- packages/utils/package.json | 2 +- 12 files changed, 40 insertions(+), 37 deletions(-) diff --git a/lerna.json b/lerna.json index 298f89b45d..c044e63b7d 100644 --- a/lerna.json +++ b/lerna.json @@ -14,7 +14,7 @@ "message": "chore: publish" } }, - "version": "2.0.23-alpha.0", + "version": "2.0.23", "npmClient": "yarn", "useWorkspaces": true, "publishConfig": { diff --git a/packages/component/package.json b/packages/component/package.json index 63f74b6536..6d02d1ce65 100644 --- a/packages/component/package.json +++ b/packages/component/package.json @@ -1,6 +1,6 @@ { "name": "@antv/l7-component", - "version": "2.0.23-alpha.0", + "version": "2.0.23", "description": "", "main": "lib/index.js", "module": "es/index.js", @@ -24,8 +24,8 @@ "author": "lzxue", "license": "ISC", "dependencies": { - "@antv/l7-core": "^2.0.23-alpha.0", - "@antv/l7-utils": "^2.0.23-alpha.0", + "@antv/l7-core": "^2.0.23", + "@antv/l7-utils": "^2.0.23", "@babel/runtime": "^7.7.7", "eventemitter3": "^4.0.0", "inversify": "^5.0.1", diff --git a/packages/core/package.json b/packages/core/package.json index 2e5ff0ee42..a414041297 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@antv/l7-core", - "version": "2.0.23-alpha.0", + "version": "2.0.23", "description": "", "main": "lib/index.js", "module": "es/index.js", @@ -22,7 +22,7 @@ "author": "xiaoiver", "license": "ISC", "dependencies": { - "@antv/l7-utils": "^2.0.23-alpha.0", + "@antv/l7-utils": "^2.0.23", "@babel/runtime": "^7.7.7", "@mapbox/tiny-sdf": "^1.1.1", "ajv": "^6.10.2", diff --git a/packages/l7/package.json b/packages/l7/package.json index 22c3501de7..1b2f4c4240 100644 --- a/packages/l7/package.json +++ b/packages/l7/package.json @@ -1,6 +1,6 @@ { "name": "@antv/l7", - "version": "2.0.23-alpha.0", + "version": "2.0.23", "description": "A Large-scale WebGL-powered Geospatial Data Visualization", "main": "lib/index.js", "module": "es/index.js", @@ -24,11 +24,11 @@ "author": "antv", "license": "MIT", "dependencies": { - "@antv/l7-component": "^2.0.23-alpha.0", - "@antv/l7-core": "^2.0.23-alpha.0", - "@antv/l7-layers": "^2.0.23-alpha.0", - "@antv/l7-maps": "^2.0.23-alpha.0", - "@antv/l7-scene": "^2.0.23-alpha.0", + "@antv/l7-component": "^2.0.23", + "@antv/l7-core": "^2.0.23", + "@antv/l7-layers": "^2.0.23", + "@antv/l7-maps": "^2.0.23", + "@antv/l7-scene": "^2.0.23", "@babel/runtime": "^7.7.7" }, "gitHead": "f2bd3c6473df79d815467b1677c6f985cf68800e", diff --git a/packages/layers/package.json b/packages/layers/package.json index 9f53da5f5d..91b458e8c4 100644 --- a/packages/layers/package.json +++ b/packages/layers/package.json @@ -1,6 +1,6 @@ { "name": "@antv/l7-layers", - "version": "2.0.23-alpha.0", + "version": "2.0.23", "description": "L7's collection of built-in layers", "main": "lib/index.js", "module": "es/index.js", @@ -22,9 +22,9 @@ "author": "xiaoiver", "license": "ISC", "dependencies": { - "@antv/l7-core": "^2.0.23-alpha.0", - "@antv/l7-source": "^2.0.23-alpha.0", - "@antv/l7-utils": "^2.0.23-alpha.0", + "@antv/l7-core": "^2.0.23", + "@antv/l7-source": "^2.0.23", + "@antv/l7-utils": "^2.0.23", "@babel/runtime": "^7.7.7", "@mapbox/martini": "^0.1.0", "@turf/meta": "^6.0.2", diff --git a/packages/layers/src/core/BaseLayer.ts b/packages/layers/src/core/BaseLayer.ts index 3b4024e900..96d198cbc6 100644 --- a/packages/layers/src/core/BaseLayer.ts +++ b/packages/layers/src/core/BaseLayer.ts @@ -837,7 +837,9 @@ export default class BaseLayer extends EventEmitter enableSelect = true, } = this.getLayerConfig(); const eventNames = this.eventNames().filter((name) => { - return name !== 'inited' && name !== 'add' && name !== 'remove'; + return ( + name !== 'inited' && name !== 'add' && name !== 'remove' && 'dataupdate' // 非拾取事件排除 + ); }); return eventNames.length > 0 || enableHighlight || enableSelect; } @@ -873,6 +875,7 @@ export default class BaseLayer extends EventEmitter private sourceEvent = () => { this.dataState.dataSourceNeedUpdate = true; + this.emit('dataUpdate'); this.reRender(); }; diff --git a/packages/maps/package.json b/packages/maps/package.json index 394c244ec9..a2343297ce 100644 --- a/packages/maps/package.json +++ b/packages/maps/package.json @@ -1,6 +1,6 @@ { "name": "@antv/l7-maps", - "version": "2.0.23-alpha.0", + "version": "2.0.23", "description": "", "main": "lib/index.js", "module": "es/index.js", @@ -23,8 +23,8 @@ "author": "xiaoiver", "license": "ISC", "dependencies": { - "@antv/l7-core": "^2.0.23-alpha.0", - "@antv/l7-utils": "^2.0.23-alpha.0", + "@antv/l7-core": "^2.0.23", + "@antv/l7-utils": "^2.0.23", "@babel/runtime": "^7.7.7", "gl-matrix": "^3.1.0", "inversify": "^5.0.1", diff --git a/packages/react/package.json b/packages/react/package.json index 89edb13bf7..070c3a9555 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@antv/l7-react", - "version": "2.0.23-alpha.0", + "version": "2.0.23", "description": "", "main": "lib/index.js", "module": "es/index.js", @@ -24,12 +24,12 @@ "author": "lzxue", "license": "ISC", "dependencies": { - "@antv/l7": "^2.0.23-alpha.0", - "@antv/l7-maps": "^2.0.23-alpha.0", + "@antv/l7": "^2.0.23", + "@antv/l7-maps": "^2.0.23", "@babel/runtime": "^7.7.7", + "load-styles": "^2.0.0", "react": "^16.8.6", - "react-dom": "^16.10.2", - "load-styles": "^2.0.0" + "react-dom": "^16.10.2" }, "gitHead": "f2bd3c6473df79d815467b1677c6f985cf68800e", "publishConfig": { diff --git a/packages/renderer/package.json b/packages/renderer/package.json index d17435637b..9688284c79 100644 --- a/packages/renderer/package.json +++ b/packages/renderer/package.json @@ -1,6 +1,6 @@ { "name": "@antv/l7-renderer", - "version": "2.0.23-alpha.0", + "version": "2.0.23", "description": "", "main": "lib/index.js", "module": "es/index.js", @@ -25,7 +25,7 @@ "gl": "^4.4.0" }, "dependencies": { - "@antv/l7-core": "^2.0.23-alpha.0", + "@antv/l7-core": "^2.0.23", "@babel/runtime": "^7.7.7", "inversify": "^5.0.1", "lodash": "^4.17.15", diff --git a/packages/scene/package.json b/packages/scene/package.json index cc80310ad8..a2882b97c9 100644 --- a/packages/scene/package.json +++ b/packages/scene/package.json @@ -1,6 +1,6 @@ { "name": "@antv/l7-scene", - "version": "2.0.23-alpha.0", + "version": "2.0.23", "description": "", "main": "lib/index.js", "module": "es/index.js", @@ -22,11 +22,11 @@ "author": "xiaoiver", "license": "ISC", "dependencies": { - "@antv/l7-component": "^2.0.23-alpha.0", - "@antv/l7-core": "^2.0.23-alpha.0", - "@antv/l7-maps": "^2.0.23-alpha.0", - "@antv/l7-renderer": "^2.0.23-alpha.0", - "@antv/l7-utils": "^2.0.23-alpha.0", + "@antv/l7-component": "^2.0.23", + "@antv/l7-core": "^2.0.23", + "@antv/l7-maps": "^2.0.23", + "@antv/l7-renderer": "^2.0.23", + "@antv/l7-utils": "^2.0.23", "@babel/runtime": "^7.7.7", "inversify": "^5.0.1", "mapbox-gl": "^1.2.1", diff --git a/packages/source/package.json b/packages/source/package.json index 52d7c33247..8f5feb1889 100644 --- a/packages/source/package.json +++ b/packages/source/package.json @@ -1,6 +1,6 @@ { "name": "@antv/l7-source", - "version": "2.0.23-alpha.0", + "version": "2.0.23", "description": "", "main": "lib/index.js", "module": "es/index.js", @@ -24,8 +24,8 @@ "author": "lzxue", "license": "ISC", "dependencies": { - "@antv/l7-core": "^2.0.23-alpha.0", - "@antv/l7-utils": "^2.0.23-alpha.0", + "@antv/l7-core": "^2.0.23", + "@antv/l7-utils": "^2.0.23", "@babel/runtime": "^7.7.7", "@mapbox/geojson-rewind": "^0.4.0", "@turf/helpers": "^6.1.4", diff --git a/packages/utils/package.json b/packages/utils/package.json index 80c1d0e759..aa52bc3e71 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -1,6 +1,6 @@ { "name": "@antv/l7-utils", - "version": "2.0.23-alpha.0", + "version": "2.0.23", "description": "", "main": "lib/index.js", "module": "es/index.js",