修复绘制他车不显示

This commit is contained in:
董宏宇
2021-09-13 15:09:23 +08:00
committed by chenfufeng
parent 6cd5d3d20c
commit 396a35efd2

View File

@@ -548,7 +548,7 @@ public class AMapMarkerWrapper implements IMogoMarker, Observer {
try {
mMarker.setInfoWindowView( view );
} catch ( Exception e ) {
Logger.e( TAG, e, "error." );
e.printStackTrace();
}
}
@@ -557,7 +557,7 @@ public class AMapMarkerWrapper implements IMogoMarker, Observer {
try {
mMarker.setMarkerInfoName( viewResName );
} catch ( Exception e ) {
Logger.e( TAG, e, "error." );
e.printStackTrace();
}
}
@@ -572,11 +572,7 @@ public class AMapMarkerWrapper implements IMogoMarker, Observer {
@Override
public void addDynamicAnchorPosition( MogoLatLng latLng, float angle, long duration ) {
try {
mMarker.addDynamicAnchorPostion( new LonLatPoint( latLng.lon, latLng.lat, angle ), System.currentTimeMillis(), ( int ) duration);
} catch ( Exception e ) {
e.printStackTrace();
}
mMarker.addDynamicAnchorPostion( new LonLatPoint( latLng.lon, latLng.lat, angle ), System.currentTimeMillis(), ( int ) duration);
}
@Override
@@ -585,6 +581,7 @@ public class AMapMarkerWrapper implements IMogoMarker, Observer {
try {
return mMarker.getMarkeOptions().getMarkerIconName();
} catch ( Exception e ) {
e.printStackTrace();
}
}
return "";
@@ -596,6 +593,7 @@ public class AMapMarkerWrapper implements IMogoMarker, Observer {
try {
return mMarker.getMarkeOptions().getMarkerInfoName();
} catch ( Exception e ) {
e.printStackTrace();
}
}
return "";