mapOption = { {
portalItem: { // autocasts as new PortalItem()
portal: {
url: \"https://localhost/portal/\"
},
id: \"e487c8e548a4474e8ff161563568aa98\"
}
}
}
// then we load a web map
var map = new Map(mapOption);
// and we show that map in a container w/ div
var view = new View(Object.assign({
map: map,
container: container
}, viewOption));