[290 taxi/bus乘客屏] 小地图行驶过轨迹UI修改
@@ -202,7 +202,7 @@ public class BusPassengerMapDirectionView
|
||||
}
|
||||
boundsBuilder.include(currentLatLng);
|
||||
//第二个参数为四周留空宽度
|
||||
mAMap.moveCamera(CameraUpdateFactory.newLatLngBoundsRect(boundsBuilder.build(),100,100,100,100));
|
||||
mAMap.moveCamera(CameraUpdateFactory.newLatLngBoundsRect(boundsBuilder.build(),50,50,50,50));
|
||||
|
||||
}else {
|
||||
//设置希望展示的地图缩放级别
|
||||
|
||||
|
Before Width: | Height: | Size: 829 B After Width: | Height: | Size: 765 B |
|
Before Width: | Height: | Size: 829 B After Width: | Height: | Size: 765 B |
|
Before Width: | Height: | Size: 897 B After Width: | Height: | Size: 783 B |
|
Before Width: | Height: | Size: 897 B After Width: | Height: | Size: 783 B |