AnsweredAssumed Answered

Getting Started with Layout

Question asked by agg530 on Nov 21, 2019
Latest reply on Nov 22, 2019 by afitz-esristaff

Hi,

 

I am trying to get started with layout and want to create a map in the right pane, with a list in the left pane.

 

The samples all seem to relate to Javascript 3 with dojo.

 

Should these samples still work in Javascript 4? Because I get an error when I try to use :

 

 

<script>

dojo.require("dijit.layout.BorderContainer");
dojo.require("dijit.layout.ContentPane");
dojo.require("dijit.layout.TabContainer");
dojo.require("esri.map");
dojo.require("esri.arcgis.utils");
dojo.require("esri.IdentityManager");

require([
"esri/Map",
"esri/views/MapView"
], function(Map, MapView) {

var map = new Map({
basemap: "topo-vector"
});

This code results in a 404 error for https://js.arcgis.com/4.13/dojo/dijit.layout.BorderContainer.js net::ERR_ABORTED 404

 

Al

Outcomes