Add layers code to share link