Solved! Go to Solution.
Use the <map> tag itemid property. The itemid property refers to the item ID of a web map from ArcGIS.com. The Viewer can access and view published web maps from ArcGIS.com. For more information, see About ArcGIS.com Web Maps. Note that you cannot add basemaps and operational layers when using a web map.
Use the <map> tag itemid property. The itemid property refers to the item ID of a web map from ArcGIS.com. The Viewer can access and view published web maps from ArcGIS.com. For more information, see About ArcGIS.com Web Maps. Note that you cannot add basemaps and operational layers when using a web map.
Erik,
Unfortunately what you are trying to do is not possible, all you can do with AGOL is add the whole of the web map in as part of the map tag. Quote taken from the concepts page:
Regards
Anthony
...in ArcGIS desktop and used the "Share" feature which allowed me to upload the map as a package into ArcGIS online.