mirror of https://gitee.com/antv-l7/antv-l7
docs: scene add getContainer method
This commit is contained in:
parent
e9892a2f7c
commit
ad60db0855
|
@ -323,6 +323,14 @@ scene.setPitch(pitch);
|
|||
scene.fitBounds([112, 32, 114, 35]);
|
||||
```
|
||||
|
||||
### getContainer
|
||||
|
||||
获取地图容器 return htmlElement
|
||||
|
||||
```javascript
|
||||
scene.getContainer();
|
||||
```
|
||||
|
||||
### removeLayer
|
||||
|
||||
移除 layer
|
||||
|
|
|
@ -208,6 +208,14 @@ scene.getPitch();
|
|||
|
||||
return {number} pitch
|
||||
|
||||
### getContainer
|
||||
|
||||
获取地图容器 return htmlElement
|
||||
|
||||
```javascript
|
||||
scene.getContainer();
|
||||
```
|
||||
|
||||
### setMapStyle
|
||||
|
||||
参数:`style` {string} 地图样式 具体样式格式和各底图设置方法一致
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
{
|
||||
"filename": "covid_grid.tsx",
|
||||
"title": "世界地图网格背景",
|
||||
"screenshot": "https://gw.alipayobjects.com/mdn/rms_855bab/afts/img/A*YYNtRZpxH_4AAAAAAAAAAABkARQnAQ"
|
||||
"screenshot": "https://gw.alipayobjects.com/mdn/rms_23a451/afts/img/A*CSUXTIYXXFwAAAAAAAAAAABkARQnAQ"
|
||||
},
|
||||
{
|
||||
"filename": "covid_animate.tsx",
|
||||
|
|
|
@ -175,7 +175,7 @@
|
|||
}
|
||||
},
|
||||
"resolutions": {
|
||||
"../core-js": "3",
|
||||
"core-js": "3",
|
||||
"d3-array": "1"
|
||||
},
|
||||
"tnpm": {
|
||||
|
|
Loading…
Reference in New Issue