Im following this guide:
https://developers.arcgis.com/javascript/jshelp/intro_agstemplate_amd.html
I am using the Web Map ID that they do In the tutorial: 1a40fa5cc1ab4569b79f45444d728067
However, when I run my code:
var map;
require([
"esri/map",
"esri/arcgis/utils",
"dojo/domReady!"
], function(Map, arcgisUtils) {
arcgisUtils.arcgisUrl = "file:///C:/Users/Bryan/Desktop/gis.html";
arcgisUtils.createMap("1a40fa5cc1ab4569b79f45444d728067 ", "mapDiv").then(function(response) {
map = response.map;
});
});
I get the following error:
NS_ERROR_DOM_BAD_URI: Access to restricted URI denied
In the tutorial they say the following:
To access a web map from a portal outside of ArcGIS Online, reference the arcgisUrl property and set the path to your portal URL before calling the createMap() method: arcgisUtils.arcgisUrl = "http://pathto/portal/sharing/content/items";
But what is a portal URL? What Is my Portal URL? Anyone who can help me?