diff --git a/lerna.json b/lerna.json index 472f41be03..b0c5bbc9e4 100644 --- a/lerna.json +++ b/lerna.json @@ -14,7 +14,7 @@ "message": "chore: publish" } }, - "version": "2.1.8", + "version": "2.1.9", "npmClient": "yarn", "useWorkspaces": true, "publishConfig": { diff --git a/packages/component/package.json b/packages/component/package.json index a687f01684..13c1ecc25c 100644 --- a/packages/component/package.json +++ b/packages/component/package.json @@ -1,6 +1,6 @@ { "name": "@antv/l7-component", - "version": "2.1.8", + "version": "2.1.9", "description": "", "main": "lib/index.js", "module": "es/index.js", @@ -24,8 +24,8 @@ "author": "lzxue", "license": "ISC", "dependencies": { - "@antv/l7-core": "^2.1.8", - "@antv/l7-utils": "^2.1.8", + "@antv/l7-core": "^2.1.9", + "@antv/l7-utils": "^2.1.9", "@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 68ebf82247..2e161d75b0 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@antv/l7-core", - "version": "2.1.8", + "version": "2.1.9", "description": "", "main": "lib/index.js", "module": "es/index.js", @@ -23,7 +23,7 @@ "license": "ISC", "dependencies": { "@antv/async-hook": "^2.1.0", - "@antv/l7-utils": "^2.1.8", + "@antv/l7-utils": "^2.1.9", "@babel/runtime": "^7.7.7", "@mapbox/tiny-sdf": "^1.1.1", "ajv": "^6.10.2", diff --git a/packages/core/src/services/map/IMapService.ts b/packages/core/src/services/map/IMapService.ts index 0bbed1820a..c353576c22 100644 --- a/packages/core/src/services/map/IMapService.ts +++ b/packages/core/src/services/map/IMapService.ts @@ -65,7 +65,7 @@ export interface IMapService { setPitch(pitch: number): void; setZoom(zoom: number): void; setMapStyle(style: any): void; - setStatus(option: Partial): void; + setMapStatus(option: Partial): void; // coordinates methods pixelToLngLat(pixel: Point): ILngLat; diff --git a/packages/draw/package.json b/packages/draw/package.json index e887049d5d..538300f2c1 100644 --- a/packages/draw/package.json +++ b/packages/draw/package.json @@ -1,6 +1,6 @@ { "name": "@antv/l7-draw", - "version": "2.1.8", + "version": "2.1.9", "description": "L7 Draw moudules", "keywords": [], "author": "thinkinggis ", @@ -34,8 +34,8 @@ }, "dependencies": { "@turf/midpoint": "^5.1.5", - "@antv/l7": "^2.1.8", - "@antv/l7-component": "^2.1.8", + "@antv/l7-component": "^2.1.9", + "@antv/l7": "^2.1.9", "@babel/runtime": "^7.7.7", "@turf/circle": "^6.0.1", "@turf/distance": "^6.0.1", diff --git a/packages/l7/package.json b/packages/l7/package.json index 6326bc7145..981011c97d 100644 --- a/packages/l7/package.json +++ b/packages/l7/package.json @@ -1,6 +1,6 @@ { "name": "@antv/l7", - "version": "2.1.8", + "version": "2.1.9", "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.1.8", - "@antv/l7-core": "^2.1.8", - "@antv/l7-layers": "^2.1.8", - "@antv/l7-maps": "^2.1.8", - "@antv/l7-scene": "^2.1.8", + "@antv/l7-component": "^2.1.9", + "@antv/l7-core": "^2.1.9", + "@antv/l7-layers": "^2.1.9", + "@antv/l7-maps": "^2.1.9", + "@antv/l7-scene": "^2.1.9", "@babel/runtime": "^7.7.7" }, "gitHead": "a5d354b66873f700730248d015c5e539c54b34b7", diff --git a/packages/l7/src/index.ts b/packages/l7/src/index.ts index 7a6ae4533d..10972a5410 100644 --- a/packages/l7/src/index.ts +++ b/packages/l7/src/index.ts @@ -3,4 +3,4 @@ export * from '@antv/l7-scene'; export * from '@antv/l7-maps'; export * from '@antv/l7-layers'; export * from '@antv/l7-component'; -export const version = '2.1.8'; +export const version = '2.1.9'; diff --git a/packages/layers/package.json b/packages/layers/package.json index 2c876ba984..17eb85b397 100644 --- a/packages/layers/package.json +++ b/packages/layers/package.json @@ -1,6 +1,6 @@ { "name": "@antv/l7-layers", - "version": "2.1.8", + "version": "2.1.9", "description": "L7's collection of built-in layers", "main": "lib/index.js", "module": "es/index.js", @@ -23,9 +23,9 @@ "license": "ISC", "dependencies": { "@antv/async-hook": "^2.1.0", - "@antv/l7-core": "^2.1.8", - "@antv/l7-source": "^2.1.8", - "@antv/l7-utils": "^2.1.8", + "@antv/l7-core": "^2.1.9", + "@antv/l7-source": "^2.1.9", + "@antv/l7-utils": "^2.1.9", "@babel/runtime": "^7.7.7", "@mapbox/martini": "^0.1.0", "@turf/meta": "^6.0.2", diff --git a/packages/maps/package.json b/packages/maps/package.json index f554633540..9f188db252 100644 --- a/packages/maps/package.json +++ b/packages/maps/package.json @@ -1,6 +1,6 @@ { "name": "@antv/l7-maps", - "version": "2.1.8", + "version": "2.1.9", "description": "", "main": "lib/index.js", "module": "es/index.js", @@ -25,8 +25,8 @@ "author": "xiaoiver", "license": "ISC", "dependencies": { - "@antv/l7-core": "^2.1.8", - "@antv/l7-utils": "^2.1.8", + "@antv/l7-core": "^2.1.9", + "@antv/l7-utils": "^2.1.9", "@babel/runtime": "^7.7.7", "@types/amap-js-api": "^1.4.6", "gl-matrix": "^3.1.0", diff --git a/packages/maps/src/amap/map.ts b/packages/maps/src/amap/map.ts index d28ff9bc3b..0bdfc7ef5d 100644 --- a/packages/maps/src/amap/map.ts +++ b/packages/maps/src/amap/map.ts @@ -203,7 +203,7 @@ export default class AMapService this.map.setMapStyle(this.getMapStyle(style)); } - public setStatus(option: Partial) { + public setMapStatus(option: Partial): void { this.map.setStatus(option); } public pixelToLngLat(pixel: [number, number]): ILngLat { diff --git a/packages/maps/src/mapbox/map.ts b/packages/maps/src/mapbox/map.ts index 8db2ed07da..08ec152edc 100644 --- a/packages/maps/src/mapbox/map.ts +++ b/packages/maps/src/mapbox/map.ts @@ -167,7 +167,7 @@ export default class MapboxService public setMinZoom(min: number): void { this.map.setMinZoom(min); } - public setStatus(option: Partial) { + public setMapStatus(option: Partial): void { if (option.doubleClickZoom === true) { this.map.doubleClickZoom.enable(); } diff --git a/packages/react/package.json b/packages/react/package.json index 6234e6fc48..b22d37038a 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@antv/l7-react", - "version": "2.1.8", + "version": "2.1.9", "description": "", "main": "lib/index.js", "module": "es/index.js", @@ -24,8 +24,8 @@ "author": "lzxue", "license": "ISC", "dependencies": { - "@antv/l7": "^2.1.8", - "@antv/l7-maps": "^2.1.8", + "@antv/l7": "^2.1.9", + "@antv/l7-maps": "^2.1.9", "@babel/runtime": "^7.7.7", "load-styles": "^2.0.0" }, diff --git a/packages/renderer/package.json b/packages/renderer/package.json index 2379da1b7f..0c701b587e 100644 --- a/packages/renderer/package.json +++ b/packages/renderer/package.json @@ -1,6 +1,6 @@ { "name": "@antv/l7-renderer", - "version": "2.1.8", + "version": "2.1.9", "description": "", "main": "lib/index.js", "module": "es/index.js", @@ -25,7 +25,7 @@ "gl": "^4.4.0" }, "dependencies": { - "@antv/l7-core": "^2.1.8", + "@antv/l7-core": "^2.1.9", "@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 0e42df8cfe..b4a306bc9f 100644 --- a/packages/scene/package.json +++ b/packages/scene/package.json @@ -1,6 +1,6 @@ { "name": "@antv/l7-scene", - "version": "2.1.8", + "version": "2.1.9", "description": "", "main": "lib/index.js", "module": "es/index.js", @@ -22,11 +22,11 @@ "author": "xiaoiver", "license": "ISC", "dependencies": { - "@antv/l7-component": "^2.1.8", - "@antv/l7-core": "^2.1.8", - "@antv/l7-maps": "^2.1.8", - "@antv/l7-renderer": "^2.1.8", - "@antv/l7-utils": "^2.1.8", + "@antv/l7-component": "^2.1.9", + "@antv/l7-core": "^2.1.9", + "@antv/l7-maps": "^2.1.9", + "@antv/l7-renderer": "^2.1.9", + "@antv/l7-utils": "^2.1.9", "@babel/runtime": "^7.7.7", "inversify": "^5.0.1", "mapbox-gl": "^1.2.1", diff --git a/packages/scene/src/IMapController.ts b/packages/scene/src/IMapController.ts index b38f9de3ed..fe223f09ba 100644 --- a/packages/scene/src/IMapController.ts +++ b/packages/scene/src/IMapController.ts @@ -67,7 +67,7 @@ export default interface IMapController { setPitch(pitch: number): void; setZoom(zoom: number): void; setMapStyle(style: any): void; - setStatus(option: Partial): void; + setMapStatus(option: Partial): void; // coordinates methods pixelToLngLat(pixel: Point): ILngLat; diff --git a/packages/scene/src/index.ts b/packages/scene/src/index.ts index b26c9cb8b6..73d97942ab 100644 --- a/packages/scene/src/index.ts +++ b/packages/scene/src/index.ts @@ -305,8 +305,8 @@ class Scene this.mapService.setMapStyle(style); } - public setStatus(options: IStatusOptions) { - this.mapService.setStatus(options); + public setMapStatus(options: IStatusOptions) { + this.mapService.setMapStatus(options); } // conversion Method diff --git a/packages/source/package.json b/packages/source/package.json index 149cb66a36..00b3e9e456 100644 --- a/packages/source/package.json +++ b/packages/source/package.json @@ -1,6 +1,6 @@ { "name": "@antv/l7-source", - "version": "2.1.8", + "version": "2.1.9", "description": "", "main": "lib/index.js", "module": "es/index.js", @@ -25,8 +25,8 @@ "license": "ISC", "dependencies": { "@antv/async-hook": "^2.1.0", - "@antv/l7-core": "^2.1.8", - "@antv/l7-utils": "^2.1.8", + "@antv/l7-core": "^2.1.9", + "@antv/l7-utils": "^2.1.9", "@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 c29b1afec3..fbd99df91f 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -1,6 +1,6 @@ { "name": "@antv/l7-utils", - "version": "2.1.8", + "version": "2.1.9", "description": "", "main": "lib/index.js", "module": "es/index.js",