Skip to content

Commit

Permalink
docs: update map component props content
Browse files Browse the repository at this point in the history
  • Loading branch information
yue1123 committed Dec 5, 2022
1 parent 0f7a5d9 commit af955cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/zh-CN/components/map.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ map/theme2

| 属性 | 说明 | 类型 | 默认值 |
| ---------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------- | ----------------- |
| width | 地图显示宽度 | `string / number` | `100%` |
| height | 地图显示高度 | `string / number` | `550px` |
| width <Badge type="tip" text="^1.0.1" /> | 地图显示宽度 | `string / number` | `100%` |
| height <Badge type="tip" text="^1.0.1" /> | 地图显示高度 | `string / number` | `550px` |
| center | 地图默认中心点,可使用城市名,如:北京市,也可以使用对象如 `{lng: 121.424333, lat: 31.228604}` 表示经纬度。 | `string / {lng: number, lat: number}` | `北京市` |
| heading | 地图旋转角度 | `number` | `0` |
| tilt | 地图倾斜角度 | `number` | `0 ` |
Expand Down

0 comments on commit af955cb

Please sign in to comment.