restoring styles to map frames