Skip to content

Commit

Permalink
chore: visible 属性支持版本更改
Browse files Browse the repository at this point in the history
  • Loading branch information
yue1123 committed Jun 19, 2023
1 parent 79d390a commit 1ba6f87
Show file tree
Hide file tree
Showing 20 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion docs/zh-CN/components/context-menu/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ context-menu/index
| 属性 | 说明 | 类型 | 可选值 | 默认值 | 版本 |
| --------- | --------------------- | --------------------------------------------------- | ------ | ------ | ---------------------------------- |
| menuItems | 菜单项,`-`添加分割线 | ([`ContextMenuItem`](#contextmenuitem) \| `-`) `[]` | - | - | - |
| visible | 是否显示 | `boolean` | - | `true` | <Badge type="tip" text="^2.1.4" /> |
| visible | 是否显示 | `boolean` | - | `true` | <Badge type="tip" text="^2.2.0" /> |

## ContextMenuItem

Expand Down
2 changes: 1 addition & 1 deletion docs/zh-CN/components/control/citylist.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ https://lbs.baidu.com/jsdemo.htm#cCityList

| 属性 | 说明 | 类型 | 可选值 | 默认值 | 版本 |
| ------- | -------- | --------- | ------ | ------ | ---------------------------------- |
| visible | 是否显示 | `boolean` | - | `true` | <Badge type="tip" text="^2.1.4" /> |
| visible | 是否显示 | `boolean` | - | `true` | <Badge type="tip" text="^2.2.0" /> |

## anchor

Expand Down
2 changes: 1 addition & 1 deletion docs/zh-CN/components/control/copyright.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ control/copyRight

| 属性 | 说明 | 类型 | 可选值 | 默认值 | 版本 |
| ------- | -------- | --------- | ------ | ------ | ---------------------------------- |
| visible | 是否显示 | `boolean` | - | `true` | <Badge type="tip" text="^2.1.4" /> |
| visible | 是否显示 | `boolean` | - | `true` | <Badge type="tip" text="^2.2.0" /> |

## anchor

Expand Down
2 changes: 1 addition & 1 deletion docs/zh-CN/components/control/custom.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ control/custom

| 属性 | 说明 | 类型 | 可选值 | 默认值 | 版本 |
| ------- | -------- | --------- | ------ | ------ | ---------------------------------- |
| visible | 是否显示 | `boolean` | - | `true` | <Badge type="tip" text="^2.1.4" /> |
| visible | 是否显示 | `boolean` | - | `true` | <Badge type="tip" text="^2.2.0" /> |

## anchor

Expand Down
2 changes: 1 addition & 1 deletion docs/zh-CN/components/control/location.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ control/location

| 属性 | 说明 | 类型 | 可选值 | 默认值 | 版本 |
| ------- | -------- | --------- | ------ | ------ | ---------------------------------- |
| visible | 是否显示 | `boolean` | - | `true` | <Badge type="tip" text="^2.1.4" /> |
| visible | 是否显示 | `boolean` | - | `true` | <Badge type="tip" text="^2.2.0" /> |

## anchor

Expand Down
2 changes: 1 addition & 1 deletion docs/zh-CN/components/control/navigation3d.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ control/navigation3d

| 属性 | 说明 | 类型 | 可选值 | 默认值 | 版本 |
| ------- | -------- | --------- | ------ | ------ | ---------------------------------- |
| visible | 是否显示 | `boolean` | - | `true` | <Badge type="tip" text="^2.1.4" /> |
| visible | 是否显示 | `boolean` | - | `true` | <Badge type="tip" text="^2.2.0" /> |

## anchor

Expand Down
2 changes: 1 addition & 1 deletion docs/zh-CN/components/control/panorama-control.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ control/panoramaControl

| 属性 | 说明 | 类型 | 可选值 | 默认值 | 版本 |
| ------- | -------- | --------- | ------ | ------ | ---------------------------------- |
| visible | 是否显示 | `boolean` | - | `true` | <Badge type="tip" text="^2.1.4" /> |
| visible | 是否显示 | `boolean` | - | `true` | <Badge type="tip" text="^2.2.0" /> |

## anchor

Expand Down
2 changes: 1 addition & 1 deletion docs/zh-CN/components/control/scale.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ control/scale
| 属性 | 说明 | 类型 | 可选值 | 默认值 | 版本 |
| ------- | ------------ | --------- | ------------- | ------------------ | ---------------------------------- |
| unit | 比例尺单位制 | `string` | [unit](#unit) | `BMAP_UNIT_METRIC` | |
| visible | 是否显示 | `boolean` | - | `true` | <Badge type="tip" text="^2.1.4" /> |
| visible | 是否显示 | `boolean` | - | `true` | <Badge type="tip" text="^2.2.0" /> |

## anchor

Expand Down
2 changes: 1 addition & 1 deletion docs/zh-CN/components/control/zoom.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ control/zoom

| 属性 | 说明 | 类型 | 可选值 | 默认值 | 版本 |
| ------- | -------- | --------- | ------ | ------ | ---------------------------------- |
| visible | 是否显示 | `boolean` | - | `true` | <Badge type="tip" text="^2.1.4" /> |
| visible | 是否显示 | `boolean` | - | `true` | <Badge type="tip" text="^2.2.0" /> |

## anchor

Expand Down
2 changes: 1 addition & 1 deletion docs/zh-CN/components/layer/district-layer.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ layer/districtLayer

| 属性 | 说明 | 类型 | 可选值 | 默认值 | 版本 |
| ------- | -------- | --------- | ------ | ------ | ---------------------------------- |
| visible | 是否显示 | `boolean` | - | `true` | <Badge type="tip" text="^2.1.4" /> |
| visible | 是否显示 | `boolean` | - | `true` | <Badge type="tip" text="^2.2.0" /> |

## DistrictType

Expand Down
2 changes: 1 addition & 1 deletion docs/zh-CN/components/overlay/bezierCurve.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ overlay/bezierCurve
| strokeOpacity | 描边的透明度,范围 `0-1` | ` number` | - | ` 1` | - |
| strokeStyle | 描边的样式,为实线、虚线、或者点状线 | `string` | `solid / dashed / dotted` | - | - |
| enableMassClear | 是否在调用 `map.clearOverlays` 清除此覆盖物 | `boolean` | - | `true ` | - |
| visible | 是否显示 | `boolean` | - | `true` | <Badge type="tip" text="^2.1.4" /> |
| visible | 是否显示 | `boolean` | - | `true` | <Badge type="tip" text="^2.2.0" /> |

## 组件事件

Expand Down
2 changes: 1 addition & 1 deletion docs/zh-CN/components/overlay/circle.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ overlay/circle
| strokeStyle | 描边的样式,为实线、虚线、或者点状线 | `string` | `solid / dashed / dotted` | `solid ` | - |
| enableMassClear | 是否在调用 `map.clearOverlays` 清除此覆盖物 | `boolean` | - | `true ` | - |
| enableEditing | 是否启用线编辑 | `boolean` | - | `false ` | - |
| visible | 是否显示 | `boolean` | - | `true` | <Badge type="tip" text="^2.1.4" /> |
| visible | 是否显示 | `boolean` | - | `true` | <Badge type="tip" text="^2.2.0" /> |

## 组件事件

Expand Down
2 changes: 1 addition & 1 deletion docs/zh-CN/components/overlay/ground-overlay.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ overlay/groundOverlay
| endPoint | 显示区域结束点,见[图示](#bounds-图示) | `{ lng: number, lat: number}` | `required` | - |
| autoCenter | 是否自动根据地面叠加物显示区域居中地图 | `boolean ` | `true` | - |
| opacity | 透明度,范围 0-1 | `number` | | - |
| visible | 是否显示 | `boolean` | `true` | <Badge type="tip" text="^2.1.4" /> |
| visible | 是否显示 | `boolean` | `true` | <Badge type="tip" text="^2.2.0" /> |

### bounds 图示

Expand Down
4 changes: 2 additions & 2 deletions docs/zh-CN/components/overlay/label.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ overlay/label
| enableMassClear | 是否在调用 map.clearOverlays 清除此覆盖物 | `boolean ` | `true ` | - |
| style | 设置文本标注的样式 | [`CSSStyleDeclaration`](https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleDeclaration) | - | - |
| position | 文本标注的坐标 | `{ lng: number, lat: number} ` | `required` | - |
| zIndex | 显示层级 | `number` | - | <Badge type="tip" text="^2.1.4" /> |
| visible | 是否显示 | `boolean` | `true` | <Badge type="tip" text="^2.1.4" /> |
| zIndex | 显示层级 | `number` | - | <Badge type="tip" text="^2.2.0" /> |
| visible | 是否显示 | `boolean` | `true` | <Badge type="tip" text="^2.2.0" /> |

::: tip 提示
style 可以是任何符合规范的 css 样式,样式属性需使用驼峰命名法
Expand Down
2 changes: 1 addition & 1 deletion docs/zh-CN/components/overlay/mapMask.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ overlay/mapMask
| isBuildingMask | 楼块是否参与掩膜 | `boolean` | - | `false` | - |
| isMapMask | 底图是否参与掩膜 | `boolean` | - | `false` | - |
| isPoiMask | 底图上的 Poi 是否参与掩膜 | `boolean` | - | `false` | - |
| visible | 是否显示 | `boolean` | - | `true` | <Badge type="tip" text="^2.1.4" /> |
| visible | 是否显示 | `boolean` | - | `true` | <Badge type="tip" text="^2.2.0" /> |

### MapMaskShowRegion

Expand Down
2 changes: 1 addition & 1 deletion docs/zh-CN/components/overlay/marker.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ overlay/marker
| rotation | 旋转角度 | `number ` | - | | - |
| enableDragging | 是否启用拖拽 | `boolean ` | - | ` true` | - |
| enableMassClear | 是否在调用 `map.clearOverlays` 清除此覆盖物 | `boolean ` | - | `true ` | - |
| visible | 是否显示 | `boolean` | - | `true` | <Badge type="tip" text="^2.1.4" /> |
| visible | 是否显示 | `boolean` | - | `true` | <Badge type="tip" text="^2.2.0" /> |

## 默认图标可选值

Expand Down
2 changes: 1 addition & 1 deletion docs/zh-CN/components/overlay/marker3d.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ overlay/marker3d/withImg
| fillColor | 点填充颜色,同 CSS 颜色 | `string ` | - | `#f00` | - |
| fillOpacity | 点填充的透明度,范围 0-1 | `number ` | `0-1` | `0.8 ` | - |
| enableMassClear | 是否在调用 `map.clearOverlays` 清除此覆盖物 | `boolean` | - | ` true` | - |
| visible | 是否显示 | `boolean` | - | `true` | <Badge type="tip" text="^2.1.4" /> |
| visible | 是否显示 | `boolean` | - | `true` | <Badge type="tip" text="^2.2.0" /> |

## 自定义纹理贴图

Expand Down
2 changes: 1 addition & 1 deletion docs/zh-CN/components/overlay/polygon.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ overlay/polygon/boundaries
| fillOpacity | 面填充的透明度,范围 0-1 | `number ` | `0-1` | `0.3 ` | - |
| enableMassClear | 是否在调用 `map.clearOverlays` 清除此覆盖物 | `boolean` | - | ` true` | - |
| enableEditing | 开启可编辑模式 | `boolean ` | - | `false ` | - |
| visible | 是否显示 | `boolean` | - | `true` | <Badge type="tip" text="^2.1.4" /> |
| visible | 是否显示 | `boolean` | - | `true` | <Badge type="tip" text="^2.2.0" /> |

## 组件事件

Expand Down
2 changes: 1 addition & 1 deletion docs/zh-CN/components/overlay/polyline.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ overlay/polyline
| strokeStyle | 描边的样式,为实线、虚线、或者点状线 | `string` | `solid / dashed / dotted` | - | - |
| enableMassClear | 是否在调用 `map.clearOverlays` 清除此覆盖物 | `boolean` | - | `true ` | - |
| enableEditing | 开启可编辑模式 | `boolean` | - | `false ` | - |
| visible | 是否显示 | `boolean` | | `true` | <Badge type="tip" text="^2.1.4" /> |
| visible | 是否显示 | `boolean` | | `true` | <Badge type="tip" text="^2.2.0" /> |

## 组件事件

Expand Down
2 changes: 1 addition & 1 deletion docs/zh-CN/components/overlay/prism.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ overlay/prism
| sideFillColor | 侧面填充颜色 | `string` | - | | - |
| sideFillOpacity | 侧面填充颜色透明度 | `number` | `0-1` | `#fff` | - |
| enableMassClear | 是否在调用 `map.clearOverlays` 清除此覆盖物 | `boolean` | - | ` true` | - |
| visible | 是否显示 | `boolean` | - | `true` | <Badge type="tip" text="^2.1.4" /> |
| visible | 是否显示 | `boolean` | - | `true` | <Badge type="tip" text="^2.2.0" /> |

## 组件事件

Expand Down

0 comments on commit 1ba6f87

Please sign in to comment.