private void SaveRotation(IMuteMap map) { var layer = map.GetLayer(CurrentObject.LayerHandle); var fs = layer.FeatureSet; var feature = fs.Features[CurrentObject.ObjectIndex]; if (feature == null) { return; } CurrentObject.SaveRotationField(layer); }