Merge pull request #169 from antvis/fix_data

docs: update layer docs
This commit is contained in:
@thinkinggis 2020-01-19 21:24:14 +08:00 committed by GitHub
commit c91309a709
5 changed files with 26 additions and 17 deletions

View File

@ -118,5 +118,7 @@ new L7.Marker({
```javascript
marker.on('click', (e) => {});
```
## demo 地址
[demo1](../../../examples/tutorial/marker)

View File

@ -94,5 +94,6 @@ popup.on('close', () => {});
```
## demo 地址
[demo1](../../../examples/point/column)
[demo2](../../../examples/line/path)

View File

@ -94,6 +94,6 @@ popup.on('close', () => {});
```
## demo 地址
[demo1](../../../examples/point/column)
[demo2](../../../examples/line/path)

View File

@ -494,25 +494,28 @@ layer.on('unpick', (ev) => {}); // 图层外的操作的所有事件
## 图层事件
### inited
option
- target ILayer 当前 layer
- type 事件类型
图层初始化完成后触发
### add
图层添加到 scene
option
- target ILayer 当前 layer
- type 事件类型
### remove
图层移除时触发
option
- target ILayer 当前 layer
- type 事件类型

View File

@ -494,25 +494,28 @@ layer.on('unpick', (ev) => {}); // 图层外的操作的所有事件
## 图层事件
### inited
option
- target ILayer 当前 layer
- type 事件类型
图层初始化完成后触发
### add
图层添加到 scene
option
- target ILayer 当前 layer
- type 事件类型
### remove
图层移除时触发
option
- target ILayer 当前 layer
- type 事件类型