Up to 50 people had gathered for a memorial service nearby at the time the man was killed, the Metropolitan Police said.