How to create web map in this case?

351
0
04-20-2017 10:34 AM
GongGeorge
New Contributor
I know how to build a web map using ArcGis.com illustrated by these codes below:
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

Tags (1)
0 Kudos
0 Replies