mirror of https://gitee.com/antv-l7/antv-l7
feat: 更新Control position 文档
This commit is contained in:
parent
69ab7b2233
commit
a6d3cee71e
|
@ -21,8 +21,12 @@ position: `string` 控件位置支持是个方位
|
|||
|
||||
- bottomright
|
||||
- topright
|
||||
- bottomleft,
|
||||
- topleft`
|
||||
- bottomleft
|
||||
- topleft
|
||||
- topcenter
|
||||
- bottomcenter
|
||||
- leftcenter
|
||||
- rightcenter
|
||||
|
||||
### 组件介绍
|
||||
|
||||
|
|
|
@ -21,8 +21,12 @@ position: `string` 控件位置支持是个方位
|
|||
|
||||
- bottomright
|
||||
- topright
|
||||
- bottomleft,
|
||||
- topleft`
|
||||
- bottomleft
|
||||
- topleft
|
||||
- topcenter
|
||||
- bottomcenter
|
||||
- leftcenter
|
||||
- rightcenter
|
||||
|
||||
### 组件介绍
|
||||
|
||||
|
|
|
@ -45,7 +45,7 @@ control 配置项
|
|||
|
||||
| name | Type | Default | Description |
|
||||
| -------- | --------------------------------------------- | ---------- | ------------------------------- |
|
||||
| position | `bottomright、topright、 bottomleft’ topleft` | `topright` | 组件位置 |
|
||||
| position | `bottomright、topright、 bottomleft 、topleft、 topcenter、bottomcenter、leftcenter、rightcenter` | `topright` | 组件位置 |
|
||||
| layout | `horizontal、 vertical` | `vertical` | 组件布局 支持水平和垂直两种布局 |
|
||||
| controls | `controlOptions` | | 设置 UI 组件添加哪些绘制工具 |
|
||||
| style | | | 地图绘制样式 |
|
||||
|
|
|
@ -78,7 +78,7 @@ Mapbox Map 地图配置项 [配置项](https://docs.mapbox.com/mapbox-gl-js/api/
|
|||
|
||||
| option | Type | Default | Description |
|
||||
| --------------------- | --------- | ------------ | --------------------------------------------------------- |
|
||||
| logoPosition | string | `bottomleft` | logo 位置 `bottomright | topright | bottomleft | topleft` |
|
||||
| logoPosition | string | `bottomleft` | logo 位置 `bottomright | topright | bottomleft | topleft | topcenter | bottomcenter | leftcenter | rightcenter` |
|
||||
| logoVisible | `boolean` | `true` | 是否显示 logo |
|
||||
| antialias | `boolean` | `true` | 是否开启抗锯齿 |
|
||||
| preserveDrawingBuffer | `boolean` | `false` | 是否保留缓冲区数据 |
|
||||
|
|
|
@ -78,7 +78,7 @@ Mapbox Map 地图配置项 [配置项](https://docs.mapbox.com/mapbox-gl-js/api/
|
|||
|
||||
| option | Type | Default | Description |
|
||||
| --------------------- | --------- | ------------ | --------------------------------------------------------- |
|
||||
| logoPosition | string | `bottomleft` | logo 位置 `bottomright | topright | bottomleft | topleft` |
|
||||
| logoPosition | string | `bottomleft` | logo 位置 `bottomright | topright | bottomleft | topleft | topcenter | bottomcenter | leftcenter | rightcenter` |
|
||||
| logoVisible | `boolean` | `true` | 是否显示 logo |
|
||||
| antialias | `boolean` | `true` | 是否开启抗锯齿 |
|
||||
| preserveDrawingBuffer | `boolean` | `false` | 是否保留缓冲区数据 |
|
||||
|
|
|
@ -84,8 +84,12 @@ L7 Logo 的显示位置 默认左下角
|
|||
|
||||
- bottomright
|
||||
- topright
|
||||
- bottomleft,
|
||||
- topleft`
|
||||
- bottomleft
|
||||
- topleft
|
||||
- topcenter
|
||||
- bottomcenter
|
||||
- leftcenter
|
||||
- rightcenter
|
||||
|
||||
### logoVisible
|
||||
|
||||
|
|
|
@ -86,8 +86,12 @@ L7 Logo 的显示位置 默认左下角
|
|||
|
||||
- bottomright
|
||||
- topright
|
||||
- bottomleft,
|
||||
- topleft`
|
||||
- bottomleft
|
||||
- topleft
|
||||
- topcenter
|
||||
- bottomcenter
|
||||
- leftcenter
|
||||
- rightcenter
|
||||
|
||||
### logoVisible logo 是否可见
|
||||
|
||||
|
|
Loading…
Reference in New Issue