File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ Android v2.2+
102
102
```
103
103
104
104
## Map operation
105
- - Gesture relative
105
+ - Gesture
106
106
``` java
107
107
// 关闭地图旋转的手势 默认开启
108
108
// 如果将地图旋转手势置为false,那么地图将被固定在中间,地图旋转的相关操作也将被禁止掉。如果为true那么地图的位置将不会被固定
@@ -117,22 +117,22 @@ Android v2.2+
117
117
mapView. getController(). setZoomWithTouchEventCenterEnabled(false );
118
118
```
119
119
120
- - 设置当前的缩放率
120
+ - Zoom
121
121
``` java
122
122
// 此方法是相对于初始大小
123
123
mapView. getController(). setCurrentZoomValue(2 );
124
124
mapView. getController(). setCurrentZoomValue(0.5f );
125
125
```
126
126
127
- - 设置当前的旋转角度
127
+ - Rotate
128
128
``` java
129
129
// 正时为顺时针旋转
130
130
// 如果旋转手势是关闭状态,则此方法无效
131
131
mapView. getController(). setCurrentRotationDegrees(30 );
132
132
```
133
133
134
134
135
- - 截取当前地图
135
+ - Get current map
136
136
``` java
137
137
mapView. getCurrentMap();
138
138
// 调用以上方法之后,在地图截图生成完毕后,在设置地图监听中返回
You can’t perform that action at this time.
0 commit comments