The play was first published in a quarto edition in 1597 and was entered into the Stationers' Register on 29 July 1597 by the printer John Danter. The first quarto is based on a version of the play that was performed by the Lord Chamberlain's Men in 1596–1597, and it contains many errors and omissions. A revised and corrected quarto edition was published in 1599.
The play is set in Verona, Italy, and is believed to have been written between 1591 and 1595. Shakespeare may have been inspired by Arthur Brooke's 1562 poem The Tragicall Historye of Romeus and Juliet, which in turn was based on an Italian novella by Matteo Bandello.
Romeo and Juliet has been adapted numerous times for stage, film, opera, ballet, and other forms of art. It is considered one of Shakespeare's greatest works, and it continues to be performed and enjoyed by audiences around the world.
To answer the question, the play Romeo and Juliet was not written in London, but is believed to have been written between 1591 and 1595. The play is set in Verona, Italy, and is based on an Italian novella by Matteo Bandello.