If you are simply transferring onto a another plane in London, then like almost all other countries, you need to get a transit visa.
Since when does transferring onto another flight require a transit visa? That would only apply if you land in Heathrow but take another flight from Gatwick, i.e. you are leaving the airport. If you transfer within the same airport you simply stay in the transfer zone. No need for a transit visa.