Convolutional neural network (CNN) has become the mainstream method in the field of image recognition for its excellent ability to feature extraction. Most of the CNNs increase the classification accuracy for the rotational objects by imposing the network with rotation invariance or equivariance property, which causes the loss of the target's orientation information. In this work, a rotation-mapping network (RM-Net) that can achieve objects recognition and angle or orientation estimation simultaneously without additional network training is constructed. Besides, an octagona convolutional kernel is introduced to improve the network's performance. The experiments on the simulation SAR datasets show that the proposed RM-CNN can achieve state-of-the-art results in target recognition and angle estimation.