From 4329551c3263ab56f73f874e258f5080c0ccdda5 Mon Sep 17 00:00:00 2001 From: 2912401452 <2912401452@qq.com> Date: Thu, 2 Sep 2021 14:44:53 +0800 Subject: [PATCH 1/5] style: update gitHead --- packages/component/package.json | 2 +- packages/core/package.json | 2 +- packages/l7/package.json | 2 +- packages/layers/package.json | 2 +- packages/map/package.json | 2 +- packages/maps/package.json | 2 +- packages/renderer/package.json | 2 +- packages/scene/package.json | 2 +- packages/source/package.json | 2 +- packages/three/package.json | 2 +- packages/utils/package.json | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/packages/component/package.json b/packages/component/package.json index 4cd5f70da3..d292c80f88 100644 --- a/packages/component/package.json +++ b/packages/component/package.json @@ -32,7 +32,7 @@ "inversify": "^5.0.1", "reflect-metadata": "^0.1.13" }, - "gitHead": "0cdffbe23137f4e7e0973e333d61923a22f7841e", + "gitHead": "39cfdc72b3d1e1c6d9469faabe5a52fcf83782fb", "publishConfig": { "access": "public" } diff --git a/packages/core/package.json b/packages/core/package.json index f87837b8e8..4b05e76331 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -46,7 +46,7 @@ "@types/lodash": "^4.14.138", "@types/viewport-mercator-project": "^6.1.0" }, - "gitHead": "0cdffbe23137f4e7e0973e333d61923a22f7841e", + "gitHead": "39cfdc72b3d1e1c6d9469faabe5a52fcf83782fb", "publishConfig": { "access": "public" } diff --git a/packages/l7/package.json b/packages/l7/package.json index 913d560907..e6f1fddae2 100644 --- a/packages/l7/package.json +++ b/packages/l7/package.json @@ -33,7 +33,7 @@ "@antv/l7-utils": "^2.5.12", "@babel/runtime": "^7.7.7" }, - "gitHead": "0cdffbe23137f4e7e0973e333d61923a22f7841e", + "gitHead": "39cfdc72b3d1e1c6d9469faabe5a52fcf83782fb", "publishConfig": { "access": "public" } diff --git a/packages/layers/package.json b/packages/layers/package.json index 4a2a66c6a8..58021d4c04 100644 --- a/packages/layers/package.json +++ b/packages/layers/package.json @@ -52,7 +52,7 @@ "@types/gl-matrix": "^2.4.5", "@types/lodash": "^4.14.138" }, - "gitHead": "0cdffbe23137f4e7e0973e333d61923a22f7841e", + "gitHead": "39cfdc72b3d1e1c6d9469faabe5a52fcf83782fb", "publishConfig": { "access": "public" } diff --git a/packages/map/package.json b/packages/map/package.json index f1d48d2900..a6b76623fe 100644 --- a/packages/map/package.json +++ b/packages/map/package.json @@ -44,5 +44,5 @@ "eventemitter3": "^4.0.4", "lodash": "^4.17.15" }, - "gitHead": "0cdffbe23137f4e7e0973e333d61923a22f7841e" + "gitHead": "39cfdc72b3d1e1c6d9469faabe5a52fcf83782fb" } diff --git a/packages/maps/package.json b/packages/maps/package.json index 12b1063231..b95db7a805 100644 --- a/packages/maps/package.json +++ b/packages/maps/package.json @@ -43,7 +43,7 @@ "@types/gl-matrix": "^2.4.5", "@types/viewport-mercator-project": "^6.1.0" }, - "gitHead": "0cdffbe23137f4e7e0973e333d61923a22f7841e", + "gitHead": "39cfdc72b3d1e1c6d9469faabe5a52fcf83782fb", "publishConfig": { "access": "public" } diff --git a/packages/renderer/package.json b/packages/renderer/package.json index 2d84cefb4c..5b4a7c6ac7 100644 --- a/packages/renderer/package.json +++ b/packages/renderer/package.json @@ -33,7 +33,7 @@ "lodash": "^4.17.15", "reflect-metadata": "^0.1.13" }, - "gitHead": "0cdffbe23137f4e7e0973e333d61923a22f7841e", + "gitHead": "39cfdc72b3d1e1c6d9469faabe5a52fcf83782fb", "publishConfig": { "access": "public" } diff --git a/packages/scene/package.json b/packages/scene/package.json index fb9409b1a1..b9245bf838 100644 --- a/packages/scene/package.json +++ b/packages/scene/package.json @@ -34,7 +34,7 @@ "mapbox-gl": "^1.2.1", "reflect-metadata": "^0.1.13" }, - "gitHead": "0cdffbe23137f4e7e0973e333d61923a22f7841e", + "gitHead": "39cfdc72b3d1e1c6d9469faabe5a52fcf83782fb", "publishConfig": { "access": "public" } diff --git a/packages/source/package.json b/packages/source/package.json index 85afbc3259..88d55bec84 100644 --- a/packages/source/package.json +++ b/packages/source/package.json @@ -46,7 +46,7 @@ "@types/d3-hexbin": "^0.2.3", "@types/lodash": "^4.14.138" }, - "gitHead": "0cdffbe23137f4e7e0973e333d61923a22f7841e", + "gitHead": "39cfdc72b3d1e1c6d9469faabe5a52fcf83782fb", "publishConfig": { "access": "public" } diff --git a/packages/three/package.json b/packages/three/package.json index 7977e47cd5..efb00e96be 100644 --- a/packages/three/package.json +++ b/packages/three/package.json @@ -54,7 +54,7 @@ "devDependencies": { "three": "^0.115.0" }, - "gitHead": "0cdffbe23137f4e7e0973e333d61923a22f7841e", + "gitHead": "39cfdc72b3d1e1c6d9469faabe5a52fcf83782fb", "publishConfig": { "access": "public" } diff --git a/packages/utils/package.json b/packages/utils/package.json index 2a599a7a8c..6128a5a91c 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -30,7 +30,7 @@ "devDependencies": { "@types/d3-color": "^1.2.2" }, - "gitHead": "0cdffbe23137f4e7e0973e333d61923a22f7841e", + "gitHead": "39cfdc72b3d1e1c6d9469faabe5a52fcf83782fb", "publishConfig": { "access": "public" } From 347dc9a3a502ae8837625c1347830b7e9a334545 Mon Sep 17 00:00:00 2001 From: 2912401452 <2912401452@qq.com> Date: Wed, 8 Sep 2021 17:42:55 +0800 Subject: [PATCH 2/5] chore: update version 2.5.12 -> 2.5.13 --- latest.sh | 22 +++++++++++----------- lerna.json | 2 +- packages/component/package.json | 6 +++--- packages/core/package.json | 4 ++-- packages/l7/package.json | 14 +++++++------- packages/l7/src/version.ts | 2 +- packages/layers/package.json | 8 ++++---- packages/map/package.json | 4 ++-- packages/maps/package.json | 8 ++++---- packages/renderer/package.json | 4 ++-- packages/scene/package.json | 14 +++++++------- packages/source/package.json | 6 +++--- packages/three/package.json | 4 ++-- packages/utils/package.json | 2 +- 14 files changed, 50 insertions(+), 50 deletions(-) diff --git a/latest.sh b/latest.sh index 50a24d830d..d89714f274 100644 --- a/latest.sh +++ b/latest.sh @@ -1,11 +1,11 @@ -npm dist-tag add @antv/l7-component@2.5.8 latest -npm dist-tag add @antv/l7-core@2.5.8 latest -npm dist-tag add @antv/l7@2.5.8 latest -npm dist-tag add @antv/l7-layers@2.5.8 latest -npm dist-tag add @antv/l7-map@2.5.8 latest -npm dist-tag add @antv/l7-maps@2.5.8 latest -npm dist-tag add @antv/l7-renderer@2.5.8 latest -npm dist-tag add @antv/l7-scene@2.5.8 latest -npm dist-tag add @antv/l7-source@2.5.8 latest -npm dist-tag add @antv/l7-three@2.5.8 latest -npm dist-tag add @antv/l7-utils@2.5.8 latest +npm dist-tag add @antv/l7-component@2.5.13 latest +npm dist-tag add @antv/l7-core@2.5.13 latest +npm dist-tag add @antv/l7@2.5.13 latest +npm dist-tag add @antv/l7-layers@2.5.13 latest +npm dist-tag add @antv/l7-map@2.5.13 latest +npm dist-tag add @antv/l7-maps@2.5.13 latest +npm dist-tag add @antv/l7-renderer@2.5.13 latest +npm dist-tag add @antv/l7-scene@2.5.13 latest +npm dist-tag add @antv/l7-source@2.5.13 latest +npm dist-tag add @antv/l7-three@2.5.13 latest +npm dist-tag add @antv/l7-utils@2.5.13 latest diff --git a/lerna.json b/lerna.json index ef537dc99a..e8dfedd42b 100644 --- a/lerna.json +++ b/lerna.json @@ -14,7 +14,7 @@ "message": "chore: publish" } }, - "version": "2.5.12", + "version": "2.5.13", "npmClient": "yarn", "useWorkspaces": true, "publishConfig": { diff --git a/packages/component/package.json b/packages/component/package.json index d292c80f88..ee2441805a 100644 --- a/packages/component/package.json +++ b/packages/component/package.json @@ -1,6 +1,6 @@ { "name": "@antv/l7-component", - "version": "2.5.12", + "version": "2.5.13", "description": "", "main": "lib/index.js", "module": "es/index.js", @@ -25,8 +25,8 @@ "author": "lzxue", "license": "ISC", "dependencies": { - "@antv/l7-core": "^2.5.12", - "@antv/l7-utils": "^2.5.12", + "@antv/l7-core": "^2.5.13", + "@antv/l7-utils": "^2.5.13", "@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 4b05e76331..aa777a2b9d 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@antv/l7-core", - "version": "2.5.12", + "version": "2.5.13", "description": "", "main": "lib/index.js", "module": "es/index.js", @@ -24,7 +24,7 @@ "license": "ISC", "dependencies": { "@antv/async-hook": "^2.1.0", - "@antv/l7-utils": "^2.5.12", + "@antv/l7-utils": "^2.5.13", "@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 e6f1fddae2..1b4a6e50af 100644 --- a/packages/l7/package.json +++ b/packages/l7/package.json @@ -1,6 +1,6 @@ { "name": "@antv/l7", - "version": "2.5.12", + "version": "2.5.13", "description": "A Large-scale WebGL-powered Geospatial Data Visualization", "main": "lib/index.js", "module": "es/index.js", @@ -25,12 +25,12 @@ "author": "antv", "license": "MIT", "dependencies": { - "@antv/l7-component": "^2.5.12", - "@antv/l7-core": "^2.5.12", - "@antv/l7-layers": "^2.5.12", - "@antv/l7-maps": "^2.5.12", - "@antv/l7-scene": "^2.5.12", - "@antv/l7-utils": "^2.5.12", + "@antv/l7-component": "^2.5.13", + "@antv/l7-core": "^2.5.13", + "@antv/l7-layers": "^2.5.13", + "@antv/l7-maps": "^2.5.13", + "@antv/l7-scene": "^2.5.13", + "@antv/l7-utils": "^2.5.13", "@babel/runtime": "^7.7.7" }, "gitHead": "39cfdc72b3d1e1c6d9469faabe5a52fcf83782fb", diff --git a/packages/l7/src/version.ts b/packages/l7/src/version.ts index c980831d56..82d7b52a16 100644 --- a/packages/l7/src/version.ts +++ b/packages/l7/src/version.ts @@ -1,2 +1,2 @@ -const version = '2.5.12'; +const version = '2.5.13'; export { version }; diff --git a/packages/layers/package.json b/packages/layers/package.json index 58021d4c04..5e9338ddab 100644 --- a/packages/layers/package.json +++ b/packages/layers/package.json @@ -1,6 +1,6 @@ { "name": "@antv/l7-layers", - "version": "2.5.12", + "version": "2.5.13", "description": "L7's collection of built-in layers", "main": "lib/index.js", "module": "es/index.js", @@ -24,9 +24,9 @@ "license": "ISC", "dependencies": { "@antv/async-hook": "^2.1.0", - "@antv/l7-core": "^2.5.12", - "@antv/l7-source": "^2.5.12", - "@antv/l7-utils": "^2.5.12", + "@antv/l7-core": "^2.5.13", + "@antv/l7-source": "^2.5.13", + "@antv/l7-utils": "^2.5.13", "@babel/runtime": "^7.7.7", "@mapbox/martini": "^0.2.0", "@turf/meta": "^6.0.2", diff --git a/packages/map/package.json b/packages/map/package.json index a6b76623fe..e52531b1ee 100644 --- a/packages/map/package.json +++ b/packages/map/package.json @@ -1,6 +1,6 @@ { "name": "@antv/l7-map", - "version": "2.5.12", + "version": "2.5.13", "description": "l7 map", "keywords": [], "author": "thinkinggis ", @@ -37,7 +37,7 @@ }, "homepage": "https://github.com/antvis/L7#readme", "dependencies": { - "@antv/l7-utils": "^2.5.12", + "@antv/l7-utils": "^2.5.13", "@babel/runtime": "^7.7.7", "@mapbox/point-geometry": "^0.1.0", "@mapbox/unitbezier": "^0.0.0", diff --git a/packages/maps/package.json b/packages/maps/package.json index b95db7a805..569c1c805b 100644 --- a/packages/maps/package.json +++ b/packages/maps/package.json @@ -1,6 +1,6 @@ { "name": "@antv/l7-maps", - "version": "2.5.12", + "version": "2.5.13", "description": "", "main": "lib/index.js", "module": "es/index.js", @@ -27,9 +27,9 @@ "license": "ISC", "dependencies": { "@amap/amap-jsapi-loader": "^0.0.3", - "@antv/l7-core": "^2.5.12", - "@antv/l7-map": "^2.5.12", - "@antv/l7-utils": "^2.5.12", + "@antv/l7-core": "^2.5.13", + "@antv/l7-map": "^2.5.13", + "@antv/l7-utils": "^2.5.13", "@babel/runtime": "^7.7.7", "@types/amap-js-api": "^1.4.6", "@types/mapbox-gl": "^1.11.2", diff --git a/packages/renderer/package.json b/packages/renderer/package.json index 5b4a7c6ac7..8f171fc131 100644 --- a/packages/renderer/package.json +++ b/packages/renderer/package.json @@ -1,6 +1,6 @@ { "name": "@antv/l7-renderer", - "version": "2.5.12", + "version": "2.5.13", "description": "", "main": "lib/index.js", "module": "es/index.js", @@ -26,7 +26,7 @@ "gl": "^4.4.0" }, "dependencies": { - "@antv/l7-core": "^2.5.12", + "@antv/l7-core": "^2.5.13", "@babel/runtime": "^7.7.7", "inversify": "^5.0.1", "l7regl": "^0.0.14", diff --git a/packages/scene/package.json b/packages/scene/package.json index b9245bf838..b72e64e9c0 100644 --- a/packages/scene/package.json +++ b/packages/scene/package.json @@ -1,6 +1,6 @@ { "name": "@antv/l7-scene", - "version": "2.5.12", + "version": "2.5.13", "description": "", "main": "lib/index.js", "module": "es/index.js", @@ -23,12 +23,12 @@ "author": "xiaoiver", "license": "ISC", "dependencies": { - "@antv/l7-component": "^2.5.12", - "@antv/l7-core": "^2.5.12", - "@antv/l7-layers": "^2.5.12", - "@antv/l7-maps": "^2.5.12", - "@antv/l7-renderer": "^2.5.12", - "@antv/l7-utils": "^2.5.12", + "@antv/l7-component": "^2.5.13", + "@antv/l7-core": "^2.5.13", + "@antv/l7-layers": "^2.5.13", + "@antv/l7-maps": "^2.5.13", + "@antv/l7-renderer": "^2.5.13", + "@antv/l7-utils": "^2.5.13", "@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 88d55bec84..4d3def9067 100644 --- a/packages/source/package.json +++ b/packages/source/package.json @@ -1,6 +1,6 @@ { "name": "@antv/l7-source", - "version": "2.5.12", + "version": "2.5.13", "description": "", "main": "lib/index.js", "module": "es/index.js", @@ -26,8 +26,8 @@ "license": "ISC", "dependencies": { "@antv/async-hook": "^2.1.0", - "@antv/l7-core": "^2.5.12", - "@antv/l7-utils": "^2.5.12", + "@antv/l7-core": "^2.5.13", + "@antv/l7-utils": "^2.5.13", "@babel/runtime": "^7.7.7", "@mapbox/geojson-rewind": "^0.4.0", "@turf/helpers": "^6.1.4", diff --git a/packages/three/package.json b/packages/three/package.json index efb00e96be..65743ad6a4 100644 --- a/packages/three/package.json +++ b/packages/three/package.json @@ -1,6 +1,6 @@ { "name": "@antv/l7-three", - "version": "2.5.12", + "version": "2.5.13", "description": "three for L7 ", "keywords": [ "3D", @@ -44,7 +44,7 @@ }, "homepage": "https://github.com/antvis/L7#readme", "dependencies": { - "@antv/l7": "^2.5.12", + "@antv/l7": "^2.5.13", "@babel/runtime": "^7.7.7", "inversify": "^5.0.1", "reflect-metadata": "^0.1.13", diff --git a/packages/utils/package.json b/packages/utils/package.json index 6128a5a91c..8e181e7052 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -1,6 +1,6 @@ { "name": "@antv/l7-utils", - "version": "2.5.12", + "version": "2.5.13", "description": "", "main": "lib/index.js", "module": "es/index.js", From 38e1a215df8753572cbfc7de3a34575fec105e99 Mon Sep 17 00:00:00 2001 From: 2912401452 <2912401452@qq.com> Date: Wed, 8 Sep 2021 17:55:55 +0800 Subject: [PATCH 3/5] style: update gitHead --- packages/component/package.json | 2 +- packages/core/package.json | 2 +- packages/l7/package.json | 2 +- packages/layers/package.json | 2 +- packages/map/package.json | 2 +- packages/maps/package.json | 2 +- packages/renderer/package.json | 2 +- packages/scene/package.json | 2 +- packages/source/package.json | 2 +- packages/three/package.json | 2 +- packages/utils/package.json | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/packages/component/package.json b/packages/component/package.json index ee2441805a..ad859deea5 100644 --- a/packages/component/package.json +++ b/packages/component/package.json @@ -32,7 +32,7 @@ "inversify": "^5.0.1", "reflect-metadata": "^0.1.13" }, - "gitHead": "39cfdc72b3d1e1c6d9469faabe5a52fcf83782fb", + "gitHead": "347dc9a3a502ae8837625c1347830b7e9a334545", "publishConfig": { "access": "public" } diff --git a/packages/core/package.json b/packages/core/package.json index aa777a2b9d..db13aa085a 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -46,7 +46,7 @@ "@types/lodash": "^4.14.138", "@types/viewport-mercator-project": "^6.1.0" }, - "gitHead": "39cfdc72b3d1e1c6d9469faabe5a52fcf83782fb", + "gitHead": "347dc9a3a502ae8837625c1347830b7e9a334545", "publishConfig": { "access": "public" } diff --git a/packages/l7/package.json b/packages/l7/package.json index 1b4a6e50af..e3eed134d6 100644 --- a/packages/l7/package.json +++ b/packages/l7/package.json @@ -33,7 +33,7 @@ "@antv/l7-utils": "^2.5.13", "@babel/runtime": "^7.7.7" }, - "gitHead": "39cfdc72b3d1e1c6d9469faabe5a52fcf83782fb", + "gitHead": "347dc9a3a502ae8837625c1347830b7e9a334545", "publishConfig": { "access": "public" } diff --git a/packages/layers/package.json b/packages/layers/package.json index 5e9338ddab..e5a8fcd34d 100644 --- a/packages/layers/package.json +++ b/packages/layers/package.json @@ -52,7 +52,7 @@ "@types/gl-matrix": "^2.4.5", "@types/lodash": "^4.14.138" }, - "gitHead": "39cfdc72b3d1e1c6d9469faabe5a52fcf83782fb", + "gitHead": "347dc9a3a502ae8837625c1347830b7e9a334545", "publishConfig": { "access": "public" } diff --git a/packages/map/package.json b/packages/map/package.json index e52531b1ee..8ff33f7240 100644 --- a/packages/map/package.json +++ b/packages/map/package.json @@ -44,5 +44,5 @@ "eventemitter3": "^4.0.4", "lodash": "^4.17.15" }, - "gitHead": "39cfdc72b3d1e1c6d9469faabe5a52fcf83782fb" + "gitHead": "347dc9a3a502ae8837625c1347830b7e9a334545" } diff --git a/packages/maps/package.json b/packages/maps/package.json index 569c1c805b..fc3b2bfafa 100644 --- a/packages/maps/package.json +++ b/packages/maps/package.json @@ -43,7 +43,7 @@ "@types/gl-matrix": "^2.4.5", "@types/viewport-mercator-project": "^6.1.0" }, - "gitHead": "39cfdc72b3d1e1c6d9469faabe5a52fcf83782fb", + "gitHead": "347dc9a3a502ae8837625c1347830b7e9a334545", "publishConfig": { "access": "public" } diff --git a/packages/renderer/package.json b/packages/renderer/package.json index 8f171fc131..6b865e2b20 100644 --- a/packages/renderer/package.json +++ b/packages/renderer/package.json @@ -33,7 +33,7 @@ "lodash": "^4.17.15", "reflect-metadata": "^0.1.13" }, - "gitHead": "39cfdc72b3d1e1c6d9469faabe5a52fcf83782fb", + "gitHead": "347dc9a3a502ae8837625c1347830b7e9a334545", "publishConfig": { "access": "public" } diff --git a/packages/scene/package.json b/packages/scene/package.json index b72e64e9c0..ac440c544f 100644 --- a/packages/scene/package.json +++ b/packages/scene/package.json @@ -34,7 +34,7 @@ "mapbox-gl": "^1.2.1", "reflect-metadata": "^0.1.13" }, - "gitHead": "39cfdc72b3d1e1c6d9469faabe5a52fcf83782fb", + "gitHead": "347dc9a3a502ae8837625c1347830b7e9a334545", "publishConfig": { "access": "public" } diff --git a/packages/source/package.json b/packages/source/package.json index 4d3def9067..0f19666cbe 100644 --- a/packages/source/package.json +++ b/packages/source/package.json @@ -46,7 +46,7 @@ "@types/d3-hexbin": "^0.2.3", "@types/lodash": "^4.14.138" }, - "gitHead": "39cfdc72b3d1e1c6d9469faabe5a52fcf83782fb", + "gitHead": "347dc9a3a502ae8837625c1347830b7e9a334545", "publishConfig": { "access": "public" } diff --git a/packages/three/package.json b/packages/three/package.json index 65743ad6a4..602078f3ab 100644 --- a/packages/three/package.json +++ b/packages/three/package.json @@ -54,7 +54,7 @@ "devDependencies": { "three": "^0.115.0" }, - "gitHead": "39cfdc72b3d1e1c6d9469faabe5a52fcf83782fb", + "gitHead": "347dc9a3a502ae8837625c1347830b7e9a334545", "publishConfig": { "access": "public" } diff --git a/packages/utils/package.json b/packages/utils/package.json index 8e181e7052..b5977d236e 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -30,7 +30,7 @@ "devDependencies": { "@types/d3-color": "^1.2.2" }, - "gitHead": "39cfdc72b3d1e1c6d9469faabe5a52fcf83782fb", + "gitHead": "347dc9a3a502ae8837625c1347830b7e9a334545", "publishConfig": { "access": "public" } From 5d916326e7b16ca01eb503a05539b55a6f68ff33 Mon Sep 17 00:00:00 2001 From: 2912401452 <2912401452@qq.com> Date: Tue, 14 Sep 2021 11:15:57 +0800 Subject: [PATCH 4/5] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E7=82=B9=E4=BD=8D?= =?UTF-8?q?=E5=9D=90=E6=A0=87=E8=A2=AB=E9=87=8D=E5=A4=8D=E7=9A=84=E8=AE=A1?= =?UTF-8?q?=E7=AE=97=E5=B8=A6=E6=9D=A5=E7=82=B9=E4=BD=8D=E5=81=8F=E7=A7=BB?= =?UTF-8?q?=EF=BC=88=E7=94=B1=E6=95=B0=E6=8D=AE=E6=98=A0=E5=B0=84=E5=BC=95?= =?UTF-8?q?=E5=8F=91=E7=9A=84=20updateStyleAttribute=20=E5=BC=95=E5=8F=91)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 3 ++- packages/layers/src/plugins/DataMappingPlugin.ts | 10 ++++++++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index c2635b1a06..b5950f886c 100644 --- a/.gitignore +++ b/.gitignore @@ -86,4 +86,5 @@ yarn.lock # npm command lines publish.sh latest.sh -beta.sh \ No newline at end of file +beta.sh +mini.sh \ No newline at end of file diff --git a/packages/layers/src/plugins/DataMappingPlugin.ts b/packages/layers/src/plugins/DataMappingPlugin.ts index 7809c20f55..28d00a0a3a 100644 --- a/packages/layers/src/plugins/DataMappingPlugin.ts +++ b/packages/layers/src/plugins/DataMappingPlugin.ts @@ -150,7 +150,10 @@ export default class DataMappingPlugin implements ILayerPlugin { if (typeof mappedData[0].coordinates[0] === 'number') { // 单个的点数据 // @ts-ignore - mappedData.map((d) => { + mappedData + // TODO: 避免经纬度被重复计算导致坐标位置偏移 + .filter((d) => !d.originCoordinates) + .map((d) => { d.version = 'GAODE2.x'; // @ts-ignore d.originCoordinates = cloneDeep(d.coordinates); // 为了兼容高德1.x 需要保存一份原始的经纬度坐标数据(许多上层逻辑依赖经纬度数据) @@ -161,7 +164,10 @@ export default class DataMappingPlugin implements ILayerPlugin { } else { // 连续的线、面数据 // @ts-ignore - mappedData.map((d) => { + mappedData + // TODO: 避免经纬度被重复计算导致坐标位置偏移 + .filter((d) => !d.originCoordinates) + .map((d) => { d.version = 'GAODE2.x'; // @ts-ignore d.originCoordinates = cloneDeep(d.coordinates); // 为了兼容高德1.x 需要保存一份原始的经纬度坐标数据(许多上层逻辑依赖经纬度数据) From 29a11b2196dc4b9b1171fc41b3897a2935323f5b Mon Sep 17 00:00:00 2001 From: 2912401452 <2912401452@qq.com> Date: Tue, 14 Sep 2021 11:16:59 +0800 Subject: [PATCH 5/5] style: lint style --- .../layers/src/plugins/DataMappingPlugin.ts | 38 +++++++++---------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/packages/layers/src/plugins/DataMappingPlugin.ts b/packages/layers/src/plugins/DataMappingPlugin.ts index 28d00a0a3a..006db926d9 100644 --- a/packages/layers/src/plugins/DataMappingPlugin.ts +++ b/packages/layers/src/plugins/DataMappingPlugin.ts @@ -151,29 +151,29 @@ export default class DataMappingPlugin implements ILayerPlugin { // 单个的点数据 // @ts-ignore mappedData - // TODO: 避免经纬度被重复计算导致坐标位置偏移 - .filter((d) => !d.originCoordinates) - .map((d) => { - d.version = 'GAODE2.x'; - // @ts-ignore - d.originCoordinates = cloneDeep(d.coordinates); // 为了兼容高德1.x 需要保存一份原始的经纬度坐标数据(许多上层逻辑依赖经纬度数据) - // @ts-ignore - d.coordinates = this.mapService.lngLatToCoord(d.coordinates); - // d.coordinates = this.mapService.lngLatToCoord(unProjectFlat(d.coordinates)); - }); + // TODO: 避免经纬度被重复计算导致坐标位置偏移 + .filter((d) => !d.originCoordinates) + .map((d) => { + d.version = 'GAODE2.x'; + // @ts-ignore + d.originCoordinates = cloneDeep(d.coordinates); // 为了兼容高德1.x 需要保存一份原始的经纬度坐标数据(许多上层逻辑依赖经纬度数据) + // @ts-ignore + d.coordinates = this.mapService.lngLatToCoord(d.coordinates); + // d.coordinates = this.mapService.lngLatToCoord(unProjectFlat(d.coordinates)); + }); } else { // 连续的线、面数据 // @ts-ignore mappedData - // TODO: 避免经纬度被重复计算导致坐标位置偏移 - .filter((d) => !d.originCoordinates) - .map((d) => { - d.version = 'GAODE2.x'; - // @ts-ignore - d.originCoordinates = cloneDeep(d.coordinates); // 为了兼容高德1.x 需要保存一份原始的经纬度坐标数据(许多上层逻辑依赖经纬度数据) - // @ts-ignore - d.coordinates = this.mapService.lngLatToCoords(d.coordinates); - }); + // TODO: 避免经纬度被重复计算导致坐标位置偏移 + .filter((d) => !d.originCoordinates) + .map((d) => { + d.version = 'GAODE2.x'; + // @ts-ignore + d.originCoordinates = cloneDeep(d.coordinates); // 为了兼容高德1.x 需要保存一份原始的经纬度坐标数据(许多上层逻辑依赖经纬度数据) + // @ts-ignore + d.coordinates = this.mapService.lngLatToCoords(d.coordinates); + }); } } // console.log('mappedData', mappedData)