Merge remote-tracking branch 'origin/feature/feature_mogo_obu' into feature/feature_mogo_obu

This commit is contained in:
董宏宇
2021-09-07 14:35:16 +08:00

View File

@@ -533,8 +533,13 @@ public class AMapMarkerWrapper implements IMogoMarker, Observer {
if ( TextUtils.equals( mLastAnchorColor, anchorColor ) ) {
return;
}
mMogoMarkerOptions.anchorColor( anchorColor );
mMarker.setAnchorColor( anchorColor );
if (mMogoMarkerOptions != null) {
mMogoMarkerOptions.anchorColor( anchorColor );
}
if (mMarker != null) {
mMarker.setAnchorColor( anchorColor );
}
mLastAnchorColor = anchorColor;
}