ArcGIS javascript API - you do NOT have to use dojo for layout !

in case you don't already know:

when using ArcGIS javascript API - you do NOT have to use dojo for layout !

Most of the ArcGIS javascript API examples, use dojo to manage the layout of the page.
This is where div elements contain references to BorderContainer and ContentPane.

However, you can use a map with ArcGIS javascript API, without any such divs.

Simply remove any references in your HTML to BorderContainer and ContentPane, and remove the dojo attributes.

This is very good news, especially if you are adding the map into SharePoint (dojo layout really does not work very well from within SharePoint).

Comments