finishes minimum working map embed
takes local links out of embedded maps