Skip to content

Commit

Permalink
docs: update 2.1.0 version update badge
Browse files Browse the repository at this point in the history
  • Loading branch information
yue1123 committed May 29, 2023
1 parent 9a239e8 commit e61b10a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions docs/zh-CN/components/map.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ map/theme2
| ak | 百度地图 ak [申请 ak](../guide/quick-start#申请-ak-密钥) | `string` | - | - | - |
| minZoom | 地图允许展示的最小级别 | `number` | `0-21` | `0` | - |
| maxZoom | 地图允许展示的最大级别 | `number` | `0-21` | `21` | - |
| backgroundColor | 地图背景颜色, rgba 数组 | ` number[]` | - | `[245, 245, 245, 100]` | <Badge type="tip" text="^2.1.1" /> |
| backgroundColor | 地图背景颜色, rgba 数组 | ` number[]` | - | `[245, 245, 245, 100]` | <Badge type="tip" text="^2.1.0" /> |
| showControls | 是否显示室内图 | `boolean` | - | `false` | - |
| restrictCenter | 是否限制中心 | `boolean` | - | `true` | <Badge type="tip" text="^1.1.3" /> |
| plugins | 需要注册的插件 | `['TrackAnimation', 'Mapvgl', 'Mapv', 'MapvThree']` | - | - | - |
Expand Down Expand Up @@ -159,9 +159,9 @@ map/theme2
| enableKeyboard | 启用键盘操作,键盘的上、下、左、右键可连续移动地图。同时按下其中两个键可使地图进行对角移动。PgUp、PgDn、Home 和 End 键会使地图平移其 1/2 的大小。 +、-键会使地图放大或缩小一级 | `boolean` | `true` | - |
| enablePinchToZoom | 启用双指缩放地图 | `boolean` | `true` | - |
| enableAutoResize | 启用自动适应容器尺寸变化 | `boolean` | `true` | - |
| enableIconClick | 是否启用底图可点击 | `boolean` | `true` | <Badge type="tip" text="^2.1.1" /> |
| loadingBgColor | 加载背景图颜色 | `string` | `#f1f1f1` | <Badge type="tip" text="^2.1.1" /> |
| loadingTextColor | 加载文字图颜色 | `string` | `#999` | <Badge type="tip" text="^2.1.1" /> |
| enableIconClick | 是否启用底图可点击 | `boolean` | `true` | <Badge type="tip" text="^2.1.0" /> |
| loadingBgColor | 加载背景图颜色 | `string` | `#f1f1f1` | <Badge type="tip" text="^2.1.0" /> |
| loadingTextColor | 加载文字图颜色 | `string` | `#999` | <Badge type="tip" text="^2.1.0" /> |

## 地图类型

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
@@ -1,4 +1,4 @@
# BMapMask 掩膜
# BMapMask 掩膜 <Badge type="tip" text="^2.1.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 @@ -19,7 +19,7 @@ overlay/polyline
| enableClicking | 是否响应点击事件 | `boolean` | - | `true` | |
| geodesic | 是否开启大地线模式,true 时,两点连线将以大地线的形式。 | `boolean` | - | `false` | |
| clip | 是否进行跨经度 180 度裁剪,绘制跨精度 180 时为了优化效果 | `boolean` | - | `true` | |
| linkRight | 连接右线,配合`clip`解决跨 ±180 度经线绘制问题 | `boolean` | - | `true` | <Badge type="tip" text="^2.1.1" /> |
| linkRight | 连接右线,配合`clip`解决跨 ±180 度经线绘制问题 | `boolean` | - | `true` | <Badge type="tip" text="^2.1.0" /> |

## 动态组件 Props

Expand Down

0 comments on commit e61b10a

Please sign in to comment.