diff --git a/docs/api/component/popup.en.md b/docs/api/component/popup.en.md index 9cf83f3b3f..6138548e64 100644 --- a/docs/api/component/popup.en.md +++ b/docs/api/component/popup.en.md @@ -75,16 +75,18 @@ popup.setHtml(html); ```javascript popup.setText('hello world'); ``` + #### open -显示popup + +显示 popup ```javascript - popup.open(); - ``` + #### close -显示popup + +显示 popup ```javascript popup.close(); @@ -128,7 +130,6 @@ popup.on('open', () => {}); popup.on('close', () => {}); ``` - ## 示例代码 #### 添加 popup diff --git a/docs/api/component/popup.zh.md b/docs/api/component/popup.zh.md index 9cf83f3b3f..6138548e64 100644 --- a/docs/api/component/popup.zh.md +++ b/docs/api/component/popup.zh.md @@ -75,16 +75,18 @@ popup.setHtml(html); ```javascript popup.setText('hello world'); ``` + #### open -显示popup + +显示 popup ```javascript - popup.open(); - ``` + #### close -显示popup + +显示 popup ```javascript popup.close(); @@ -128,7 +130,6 @@ popup.on('open', () => {}); popup.on('close', () => {}); ``` - ## 示例代码 #### 添加 popup diff --git a/docs/tutorial/map/amap.en.md b/docs/tutorial/map/amap.en.md index 7abf042f12..3538723f55 100644 --- a/docs/tutorial/map/amap.en.md +++ b/docs/tutorial/map/amap.en.md @@ -18,7 +18,7 @@ order: 0 2.0版本在L7内部动态引入了高德地图JS API,因此不再需要单独引入高德JS API,只需设置 type 为 ```amap``` 并且传入token ```html - + ``` ### 添加div 标签指定地图容器 @@ -106,7 +106,7 @@ fetch('https://gw.alipayobjects.com/os/rmsportal/oVTMqfzuuRFKiDwhPSFL.json')
- + + ``` ### 添加div 标签指定地图容器 @@ -106,7 +106,7 @@ fetch('https://gw.alipayobjects.com/os/rmsportal/oVTMqfzuuRFKiDwhPSFL.json') - + + ``` @@ -118,7 +118,7 @@ fetch('https://gw.alipayobjects.com/os/rmsportal/oVTMqfzuuRFKiDwhPSFL.json') - + + ``` @@ -116,7 +116,7 @@ fetch('https://gw.alipayobjects.com/os/rmsportal/oVTMqfzuuRFKiDwhPSFL.json') - + ``` diff --git a/docs/tutorial/quickstart.zh.md b/docs/tutorial/quickstart.zh.md index 2951d7105e..d2ddad114c 100644 --- a/docs/tutorial/quickstart.zh.md +++ b/docs/tutorial/quickstart.zh.md @@ -20,7 +20,7 @@ Include the L7 JS JavaScript of your HTML file. ```html - ``` diff --git a/lerna.json b/lerna.json index 67f391a639..cde11b31f8 100644 --- a/lerna.json +++ b/lerna.json @@ -14,7 +14,7 @@ "message": "chore: publish" } }, - "version": "2.0.6", + "version": "2.0.7", "npmClient": "yarn", "useWorkspaces": true, "publishConfig": { diff --git a/packages/component/package.json b/packages/component/package.json index 0bf32c3a17..f0531effbc 100644 --- a/packages/component/package.json +++ b/packages/component/package.json @@ -1,6 +1,6 @@ { "name": "@antv/l7-component", - "version": "2.0.6", + "version": "2.0.7", "description": "", "main": "lib/index.js", "module": "es/index.js", @@ -24,8 +24,8 @@ "author": "lzxue", "license": "ISC", "dependencies": { - "@antv/l7-core": "^2.0.6", - "@antv/l7-utils": "^2.0.6", + "@antv/l7-core": "^2.0.7", + "@antv/l7-utils": "^2.0.7", "@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 03ba44c2ae..85e9b97054 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@antv/l7-core", - "version": "2.0.6", + "version": "2.0.7", "description": "", "main": "lib/index.js", "module": "es/index.js", @@ -22,7 +22,7 @@ "author": "xiaoiver", "license": "ISC", "dependencies": { - "@antv/l7-utils": "^2.0.6", + "@antv/l7-utils": "^2.0.7", "@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 5d9afedf81..b0873aba87 100644 --- a/packages/l7/package.json +++ b/packages/l7/package.json @@ -1,6 +1,6 @@ { "name": "@antv/l7", - "version": "2.0.6", + "version": "2.0.7", "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.6", - "@antv/l7-core": "^2.0.6", - "@antv/l7-layers": "^2.0.6", - "@antv/l7-maps": "^2.0.6", - "@antv/l7-scene": "^2.0.6", + "@antv/l7-component": "^2.0.7", + "@antv/l7-core": "^2.0.7", + "@antv/l7-layers": "^2.0.7", + "@antv/l7-maps": "^2.0.7", + "@antv/l7-scene": "^2.0.7", "@babel/runtime": "^7.7.7" }, "gitHead": "9fabb78790428d2025b89fb6146fc555cb1d987d", diff --git a/packages/layers/package.json b/packages/layers/package.json index 15be25acd9..eae5c9f166 100644 --- a/packages/layers/package.json +++ b/packages/layers/package.json @@ -1,6 +1,6 @@ { "name": "@antv/l7-layers", - "version": "2.0.6", + "version": "2.0.7", "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.6", - "@antv/l7-source": "^2.0.6", - "@antv/l7-utils": "^2.0.6", + "@antv/l7-core": "^2.0.7", + "@antv/l7-source": "^2.0.7", + "@antv/l7-utils": "^2.0.7", "@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 f1058bf15d..6b52b7861d 100644 --- a/packages/maps/package.json +++ b/packages/maps/package.json @@ -1,6 +1,6 @@ { "name": "@antv/l7-maps", - "version": "2.0.6", + "version": "2.0.7", "description": "", "main": "lib/index.js", "module": "es/index.js", @@ -23,8 +23,8 @@ "author": "xiaoiver", "license": "ISC", "dependencies": { - "@antv/l7-core": "^2.0.6", - "@antv/l7-utils": "^2.0.6", + "@antv/l7-core": "^2.0.7", + "@antv/l7-utils": "^2.0.7", "@babel/runtime": "^7.7.7", "gl-matrix": "^3.1.0", "inversify": "^5.0.1", diff --git a/packages/renderer/package.json b/packages/renderer/package.json index 779bcaa971..63a3c865e6 100644 --- a/packages/renderer/package.json +++ b/packages/renderer/package.json @@ -1,6 +1,6 @@ { "name": "@antv/l7-renderer", - "version": "2.0.6", + "version": "2.0.7", "description": "", "main": "lib/index.js", "module": "es/index.js", @@ -25,7 +25,7 @@ "gl": "^4.4.0" }, "dependencies": { - "@antv/l7-core": "^2.0.6", + "@antv/l7-core": "^2.0.7", "@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 d3dd66b53c..1fc0d2cff2 100644 --- a/packages/scene/package.json +++ b/packages/scene/package.json @@ -1,6 +1,6 @@ { "name": "@antv/l7-scene", - "version": "2.0.6", + "version": "2.0.7", "description": "", "main": "lib/index.js", "module": "es/index.js", @@ -22,11 +22,11 @@ "author": "xiaoiver", "license": "ISC", "dependencies": { - "@antv/l7-component": "^2.0.6", - "@antv/l7-core": "^2.0.6", - "@antv/l7-maps": "^2.0.6", - "@antv/l7-renderer": "^2.0.6", - "@antv/l7-utils": "^2.0.6", + "@antv/l7-component": "^2.0.7", + "@antv/l7-core": "^2.0.7", + "@antv/l7-maps": "^2.0.7", + "@antv/l7-renderer": "^2.0.7", + "@antv/l7-utils": "^2.0.7", "@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 91d02abb84..a24e667e97 100644 --- a/packages/source/package.json +++ b/packages/source/package.json @@ -1,6 +1,6 @@ { "name": "@antv/l7-source", - "version": "2.0.6", + "version": "2.0.7", "description": "", "main": "lib/index.js", "module": "es/index.js", @@ -24,8 +24,8 @@ "author": "lzxue", "license": "ISC", "dependencies": { - "@antv/l7-core": "^2.0.6", - "@antv/l7-utils": "^2.0.6", + "@antv/l7-core": "^2.0.7", + "@antv/l7-utils": "^2.0.7", "@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 39874c2d62..7798e152e8 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -1,6 +1,6 @@ { "name": "@antv/l7-utils", - "version": "2.0.6", + "version": "2.0.7", "description": "", "main": "lib/index.js", "module": "es/index.js",