require([ "esri/map", "esri/arcgis/utils", "dojo/domReady!" ], function(Map, arcgisUtils){ arcgisUtils.createMap(<<Web Map Id>>, "mapDiv").then(function (response) { map = response.map; }); }); But how to do if our webmap's URL looks like this( hosted at our own server)?
http://mycompany.maps.arcgis.com/home/webmap/viewer.html?webmap=409cf8d39b30434ab8f7286dfd07a8f3