mirror of https://gitee.com/antv-l7/antv-l7
parent
ef1d867ba7
commit
30868cb2d5
|
@ -14,7 +14,7 @@
|
|||
"message": "chore: publish"
|
||||
}
|
||||
},
|
||||
"version": "2.7.7",
|
||||
"version": "2.7.8",
|
||||
"npmClient": "yarn",
|
||||
"useWorkspaces": true,
|
||||
"publishConfig": {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@antv/l7-component",
|
||||
"version": "2.7.7",
|
||||
"version": "2.7.8",
|
||||
"description": "",
|
||||
"main": "lib/index.js",
|
||||
"module": "es/index.js",
|
||||
|
@ -25,8 +25,8 @@
|
|||
"author": "lzxue",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"@antv/l7-core": "^2.7.7",
|
||||
"@antv/l7-utils": "^2.7.7",
|
||||
"@antv/l7-core": "^2.7.8",
|
||||
"@antv/l7-utils": "^2.7.8",
|
||||
"@babel/runtime": "^7.7.7",
|
||||
"eventemitter3": "^4.0.0",
|
||||
"inversify": "^5.0.1",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@antv/l7-core",
|
||||
"version": "2.7.7",
|
||||
"version": "2.7.8",
|
||||
"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.7.7",
|
||||
"@antv/l7-utils": "^2.7.8",
|
||||
"@babel/runtime": "^7.7.7",
|
||||
"ajv": "^6.10.2",
|
||||
"element-resize-event": "^3.0.3",
|
||||
|
|
|
@ -121,6 +121,8 @@ export default class IconService extends EventEmitter implements IIconService {
|
|||
}
|
||||
}
|
||||
public destroy(): void {
|
||||
// 在销毁的时候清除所有注册的监听
|
||||
this.removeAllListeners('imageUpdate');
|
||||
this.iconData = [];
|
||||
this.iconMap = {};
|
||||
}
|
||||
|
|
|
@ -131,6 +131,7 @@ export default class Scene extends EventEmitter implements ISceneService {
|
|||
|
||||
// 初始化资源管理 图片
|
||||
this.iconService.init();
|
||||
this.iconService.on('imageUpdate', () => this.render());
|
||||
// 字体资源
|
||||
this.fontService.init();
|
||||
|
||||
|
@ -236,6 +237,7 @@ export default class Scene extends EventEmitter implements ISceneService {
|
|||
|
||||
// 初始化资源管理 图片
|
||||
this.iconService.init();
|
||||
this.iconService.on('imageUpdate', () => this.render());
|
||||
// 字体资源
|
||||
this.fontService.init();
|
||||
|
||||
|
@ -415,6 +417,8 @@ export default class Scene extends EventEmitter implements ISceneService {
|
|||
this.interactionService.destroy();
|
||||
this.controlService.destroy();
|
||||
this.markerService.destroy();
|
||||
this.fontService.destroy();
|
||||
this.iconService.destroy();
|
||||
|
||||
// TODO: 销毁 container 容器
|
||||
this.$container?.parentNode?.removeChild(this.$container);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@antv/l7",
|
||||
"version": "2.7.7",
|
||||
"version": "2.7.8",
|
||||
"description": "A Large-scale WebGL-powered Geospatial Data Visualization",
|
||||
"main": "lib/index.js",
|
||||
"module": "es/index.js",
|
||||
|
@ -25,13 +25,13 @@
|
|||
"author": "antv",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@antv/l7-component": "^2.7.7",
|
||||
"@antv/l7-core": "^2.7.7",
|
||||
"@antv/l7-layers": "^2.7.7",
|
||||
"@antv/l7-maps": "^2.7.7",
|
||||
"@antv/l7-scene": "^2.7.7",
|
||||
"@antv/l7-source": "^2.7.7",
|
||||
"@antv/l7-utils": "^2.7.7",
|
||||
"@antv/l7-component": "^2.7.8",
|
||||
"@antv/l7-core": "^2.7.8",
|
||||
"@antv/l7-layers": "^2.7.8",
|
||||
"@antv/l7-maps": "^2.7.8",
|
||||
"@antv/l7-scene": "^2.7.8",
|
||||
"@antv/l7-source": "^2.7.8",
|
||||
"@antv/l7-utils": "^2.7.8",
|
||||
"@babel/runtime": "^7.7.7"
|
||||
},
|
||||
"gitHead": "684ba4eb806a798713496d3fc0b4d1e17517dc31",
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
const version = '2.7.7';
|
||||
const version = '2.7.8';
|
||||
export { version };
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@antv/l7-layers",
|
||||
"version": "2.7.7",
|
||||
"version": "2.7.8",
|
||||
"description": "L7's collection of built-in layers",
|
||||
"main": "lib/index.js",
|
||||
"module": "es/index.js",
|
||||
|
@ -24,9 +24,9 @@
|
|||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"@antv/geo-coord": "^1.0.8",
|
||||
"@antv/l7-core": "^2.7.7",
|
||||
"@antv/l7-source": "^2.7.7",
|
||||
"@antv/l7-utils": "^2.7.7",
|
||||
"@antv/l7-core": "^2.7.8",
|
||||
"@antv/l7-source": "^2.7.8",
|
||||
"@antv/l7-utils": "^2.7.8",
|
||||
"@babel/runtime": "^7.7.7",
|
||||
"@mapbox/martini": "^0.2.0",
|
||||
"@turf/meta": "^6.0.2",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@antv/l7-map",
|
||||
"version": "2.7.7",
|
||||
"version": "2.7.8",
|
||||
"description": "l7 map",
|
||||
"keywords": [],
|
||||
"author": "thinkinggis <lzx199065@gmail.com>",
|
||||
|
@ -37,7 +37,7 @@
|
|||
},
|
||||
"homepage": "https://github.com/antvis/L7#readme",
|
||||
"dependencies": {
|
||||
"@antv/l7-utils": "^2.7.7",
|
||||
"@antv/l7-utils": "^2.7.8",
|
||||
"@babel/runtime": "^7.7.7",
|
||||
"@mapbox/point-geometry": "^0.1.0",
|
||||
"@mapbox/unitbezier": "^0.0.0",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@antv/l7-maps",
|
||||
"version": "2.7.7",
|
||||
"version": "2.7.8",
|
||||
"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.7.7",
|
||||
"@antv/l7-map": "^2.7.7",
|
||||
"@antv/l7-utils": "^2.7.7",
|
||||
"@antv/l7-core": "^2.7.8",
|
||||
"@antv/l7-map": "^2.7.8",
|
||||
"@antv/l7-utils": "^2.7.8",
|
||||
"@babel/runtime": "^7.7.7",
|
||||
"@types/amap-js-api": "^1.4.6",
|
||||
"@types/mapbox-gl": "^1.11.2",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@antv/l7-mini",
|
||||
"version": "2.7.7",
|
||||
"version": "2.7.8",
|
||||
"description": "A Large-scale WebGL-powered Geospatial Data Visualization",
|
||||
"main": "lib/index.js",
|
||||
"module": "es/index.js",
|
||||
|
@ -25,11 +25,11 @@
|
|||
"author": "antv",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@antv/l7-core": "^2.7.7",
|
||||
"@antv/l7-layers": "^2.7.7",
|
||||
"@antv/l7-maps": "^2.7.7",
|
||||
"@antv/l7-scene": "^2.7.7",
|
||||
"@antv/l7-utils": "^2.7.7",
|
||||
"@antv/l7-core": "^2.7.8",
|
||||
"@antv/l7-layers": "^2.7.8",
|
||||
"@antv/l7-maps": "^2.7.8",
|
||||
"@antv/l7-scene": "^2.7.8",
|
||||
"@antv/l7-utils": "^2.7.8",
|
||||
"@babel/runtime": "^7.7.7"
|
||||
},
|
||||
"gitHead": "684ba4eb806a798713496d3fc0b4d1e17517dc31",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@antv/l7-renderer",
|
||||
"version": "2.7.7",
|
||||
"version": "2.7.8",
|
||||
"description": "",
|
||||
"main": "lib/index.js",
|
||||
"module": "es/index.js",
|
||||
|
@ -26,7 +26,7 @@
|
|||
"gl": "^4.4.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@antv/l7-core": "^2.7.7",
|
||||
"@antv/l7-core": "^2.7.8",
|
||||
"@babel/runtime": "^7.7.7",
|
||||
"inversify": "^5.0.1",
|
||||
"l7regl": "^0.0.16",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@antv/l7-scene",
|
||||
"version": "2.7.7",
|
||||
"version": "2.7.8",
|
||||
"description": "",
|
||||
"main": "lib/index.js",
|
||||
"module": "es/index.js",
|
||||
|
@ -23,12 +23,12 @@
|
|||
"author": "xiaoiver",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"@antv/l7-component": "^2.7.7",
|
||||
"@antv/l7-core": "^2.7.7",
|
||||
"@antv/l7-layers": "^2.7.7",
|
||||
"@antv/l7-maps": "^2.7.7",
|
||||
"@antv/l7-renderer": "^2.7.7",
|
||||
"@antv/l7-utils": "^2.7.7",
|
||||
"@antv/l7-component": "^2.7.8",
|
||||
"@antv/l7-core": "^2.7.8",
|
||||
"@antv/l7-layers": "^2.7.8",
|
||||
"@antv/l7-maps": "^2.7.8",
|
||||
"@antv/l7-renderer": "^2.7.8",
|
||||
"@antv/l7-utils": "^2.7.8",
|
||||
"@babel/runtime": "^7.7.7",
|
||||
"inversify": "^5.0.1",
|
||||
"mapbox-gl": "^1.2.1",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@antv/l7-source",
|
||||
"version": "2.7.7",
|
||||
"version": "2.7.8",
|
||||
"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.7.7",
|
||||
"@antv/l7-utils": "^2.7.7",
|
||||
"@antv/l7-core": "^2.7.8",
|
||||
"@antv/l7-utils": "^2.7.8",
|
||||
"@babel/runtime": "^7.7.7",
|
||||
"@mapbox/geojson-rewind": "^0.4.0",
|
||||
"@turf/helpers": "^6.1.4",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@antv/l7-three",
|
||||
"version": "2.7.7",
|
||||
"version": "2.7.8",
|
||||
"description": "three for L7 ",
|
||||
"keywords": [
|
||||
"3D",
|
||||
|
@ -44,9 +44,9 @@
|
|||
},
|
||||
"homepage": "https://github.com/antvis/L7#readme",
|
||||
"dependencies": {
|
||||
"@antv/l7-core": "^2.7.7",
|
||||
"@antv/l7-layers": "^2.7.7",
|
||||
"@antv/l7-scene": "^2.7.7",
|
||||
"@antv/l7-core": "^2.7.8",
|
||||
"@antv/l7-layers": "^2.7.8",
|
||||
"@antv/l7-scene": "^2.7.8",
|
||||
"@babel/runtime": "^7.7.7",
|
||||
"inversify": "^5.0.1",
|
||||
"reflect-metadata": "^0.1.13",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@antv/l7-utils",
|
||||
"version": "2.7.7",
|
||||
"version": "2.7.8",
|
||||
"description": "",
|
||||
"main": "lib/index.js",
|
||||
"module": "es/index.js",
|
||||
|
|
Loading…
Reference in New Issue