265 调整司机小地图路径宽度 - 12 调整起终点的层级为top
This commit is contained in:
@@ -171,7 +171,7 @@ public class SmallMapDirectionView
|
||||
if (mCarMarker != null) {
|
||||
// mCarMarker.setRotateAngle(location.getBearing());
|
||||
mCarMarker.setPosition(currentLatLng);
|
||||
mCarMarker.setToTop();
|
||||
// mCarMarker.setToTop();
|
||||
}
|
||||
|
||||
CameraPosition cameraPosition;
|
||||
@@ -245,8 +245,11 @@ public class SmallMapDirectionView
|
||||
// 设置开始结束Marker位置
|
||||
mStartMarker.setPosition(mCoordinatesLatLng.get(0));
|
||||
mEndMarker.setPosition(mCoordinatesLatLng.get(mCoordinatesLatLng.size() - 1));
|
||||
mStartMarker.setToTop();
|
||||
mStartMarker.setVisible(true);
|
||||
mEndMarker.setVisible(true);
|
||||
mEndMarker.setToTop();
|
||||
|
||||
|
||||
//存放所有点的经纬度
|
||||
LatLngBounds.Builder boundsBuilder = new LatLngBounds.Builder();
|
||||
@@ -262,7 +265,7 @@ public class SmallMapDirectionView
|
||||
new PolylineOptions()
|
||||
.addAll(mCoordinatesLatLng)
|
||||
.color(Color.argb(255, 31, 127, 255))
|
||||
.width(6));
|
||||
.width(12));
|
||||
|
||||
}
|
||||
// else {
|
||||
|
||||
Reference in New Issue
Block a user