I'm not doing it quite like that....
I went to Google maps ->Your Places -> selected the map I want (which shows all my markers) and then I click on the "Open in My Maps" button. This takes me to the screen where I can add the markers, layers etc and that's where I click the "embed on a site" button and get the code from.
Bookmarks