[add] 使用导航地图实现起始点加纹理自定义

This commit is contained in:
liujing
2022-06-29 18:27:49 +08:00
parent f2cc45ddb1
commit 9366db8cbb

View File

@@ -50,7 +50,7 @@ public class CarOverlay {
protected Marker carMarker;
protected Marker directionMarker;
protected AMap mAmap = null;
protected AMapNaviView mapView;
protected TextureMapView mapView;
protected boolean isDirectionVisible = true;
protected LatLng endLatLng = null;
protected Polyline leaderLine = null;
@@ -62,7 +62,7 @@ public class CarOverlay {
private ScheduledExecutorService executorService;
public CarOverlay(Context context, AMapNaviView mapView) {
public CarOverlay(Context context, TextureMapView mapView) {
this.mapView = mapView;
fourCornersDescriptor = BitmapDescriptorFactory.fromBitmap(BitmapFactory