chore: update version 2.0.7

This commit is contained in:
thinkinggis 2020-01-21 12:40:46 +08:00
parent b9b7e6c086
commit dff9b32289
18 changed files with 53 additions and 51 deletions

View File

@ -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

View File

@ -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

View File

@ -18,7 +18,7 @@ order: 0
2.0版本在L7内部动态引入了高德地图JS API因此不再需要单独引入高德JS API只需设置 type 为 ```amap``` 并且传入token
```html
<script src="https://gw.alipayobjects.com/os/antv/pkg/_antv.l7-2.0.6/dist/l7.js"></script>
<script src="https://gw.alipayobjects.com/os/antv/pkg/_antv.l7-2.0.7/dist/l7.js"></script>
```
### 添加div 标签指定地图容器
@ -106,7 +106,7 @@ fetch('https://gw.alipayobjects.com/os/rmsportal/oVTMqfzuuRFKiDwhPSFL.json')
</head>
<body>
<div id="map"></div>
<script src="https://gw.alipayobjects.com/os/antv/pkg/_antv.l7-2.0.6/dist/l7.js"></script>
<script src="https://gw.alipayobjects.com/os/antv/pkg/_antv.l7-2.0.7/dist/l7.js"></script>
<script>
const scene = new L7.Scene({

View File

@ -18,7 +18,7 @@ order: 0
2.0版本在L7内部动态引入了高德地图JS API因此不再需要单独引入高德JS API只需设置 type 为 ```amap``` 并且传入token
```html
<script src="https://gw.alipayobjects.com/os/antv/pkg/_antv.l7-2.0.6/dist/l7.js"></script>
<script src="https://gw.alipayobjects.com/os/antv/pkg/_antv.l7-2.0.7/dist/l7.js"></script>
```
### 添加div 标签指定地图容器
@ -106,7 +106,7 @@ fetch('https://gw.alipayobjects.com/os/rmsportal/oVTMqfzuuRFKiDwhPSFL.json')
</head>
<body>
<div id="map"></div>
<script src="https://gw.alipayobjects.com/os/antv/pkg/_antv.l7-2.0.6/dist/l7.js"></script>
<script src="https://gw.alipayobjects.com/os/antv/pkg/_antv.l7-2.0.7/dist/l7.js"></script>
<script>
const scene = new L7.Scene({

View File

@ -24,7 +24,7 @@ order: 0
```html
<script src="https://gw.alipayobjects.com/os/antv/pkg/_antv.l7-2.0.6/dist/l7.js"></script>
<script src="https://gw.alipayobjects.com/os/antv/pkg/_antv.l7-2.0.7/dist/l7.js"></script>
```
@ -118,7 +118,7 @@ fetch('https://gw.alipayobjects.com/os/rmsportal/oVTMqfzuuRFKiDwhPSFL.json')
<link href='https://api.tiles.mapbox.com/mapbox-gl-js/v1.5.0/mapbox-gl.css' rel='stylesheet' />
<script src='https://api.tiles.mapbox.com/mapbox-gl-js/v1.5.0/mapbox-gl.js'></script>
<script src="https://gw.alipayobjects.com/os/antv/pkg/_antv.l7-2.0.6/dist/l7.js"></script>
<script src="https://gw.alipayobjects.com/os/antv/pkg/_antv.l7-2.0.7/dist/l7.js"></script>
<script>
const scene = new L7.Scene({
id: 'map',

View File

@ -24,7 +24,7 @@ order: 0
```html
<script src="https://gw.alipayobjects.com/os/antv/pkg/_antv.l7-2.0.6/dist/l7.js"></script>
<script src="https://gw.alipayobjects.com/os/antv/pkg/_antv.l7-2.0.7/dist/l7.js"></script>
```
@ -116,7 +116,7 @@ fetch('https://gw.alipayobjects.com/os/rmsportal/oVTMqfzuuRFKiDwhPSFL.json')
<link href='https://api.tiles.mapbox.com/mapbox-gl-js/v1.5.0/mapbox-gl.css' rel='stylesheet' />
<script src='https://api.tiles.mapbox.com/mapbox-gl-js/v1.5.0/mapbox-gl.js'></script>
<script src="https://gw.alipayobjects.com/os/antv/pkg/_antv.l7-2.0.6/dist/l7.js"></script>
<script src="https://gw.alipayobjects.com/os/antv/pkg/_antv.l7-2.0.7/dist/l7.js"></script>
<script>
const scene = new L7.Scene({
id: 'map',

View File

@ -18,7 +18,7 @@ Include the L7 JS JavaScript <head> of your HTML file.
```html
<head>
<script src='https://gw.alipayobjects.com/os/antv/pkg/_antv.l7-2.0.6/dist/l7.js'>
<script src='https://gw.alipayobjects.com/os/antv/pkg/_antv.l7-2.0.7/dist/l7.js'>
</script>
</head>
```

View File

@ -20,7 +20,7 @@ Include the L7 JS JavaScript <head> of your HTML file.
```html
<head>
<! --引入第三方地图JSAPI-->
<script src='https://gw.alipayobjects.com/os/antv/pkg/_antv.l7-2.0.6/dist/l7.js'>
<script src='https://gw.alipayobjects.com/os/antv/pkg/_antv.l7-2.0.7/dist/l7.js'>
</script>
</head>
```

View File

@ -14,7 +14,7 @@
"message": "chore: publish"
}
},
"version": "2.0.6",
"version": "2.0.7",
"npmClient": "yarn",
"useWorkspaces": true,
"publishConfig": {

View File

@ -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",

View File

@ -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",

View File

@ -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",

View File

@ -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",

View File

@ -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",

View File

@ -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",

View File

@ -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",

View File

@ -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",

View File

@ -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",