Skip to content

Commit b9e47cb

Browse files
committed
Update README.md
1 parent a20e9d3 commit b9e47cb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ Android v2.2+
102102
```
103103

104104
## Map operation
105-
- Gesture relative
105+
- Gesture
106106
```java
107107
// 关闭地图旋转的手势 默认开启
108108
// 如果将地图旋转手势置为false,那么地图将被固定在中间,地图旋转的相关操作也将被禁止掉。如果为true那么地图的位置将不会被固定
@@ -117,22 +117,22 @@ Android v2.2+
117117
mapView.getController().setZoomWithTouchEventCenterEnabled(false);
118118
```
119119

120-
- 设置当前的缩放率
120+
- Zoom
121121
```java
122122
// 此方法是相对于初始大小
123123
mapView.getController().setCurrentZoomValue(2);
124124
mapView.getController().setCurrentZoomValue(0.5f);
125125
```
126126

127-
- 设置当前的旋转角度
127+
- Rotate
128128
```java
129129
// 正时为顺时针旋转
130130
// 如果旋转手势是关闭状态,则此方法无效
131131
mapView.getController().setCurrentRotationDegrees(30);
132132
```
133133

134134

135-
- 截取当前地图
135+
- Get current map
136136
```java
137137
mapView.getCurrentMap();
138138
//调用以上方法之后,在地图截图生成完毕后,在设置地图监听中返回

0 commit comments

Comments
 (0)