AnsweredAssumed Answered

Using GridContainer for managing multiple maps

Question asked by schlot on Aug 15, 2014

We have a project coming up, where one of the 'wish list' items is to be able to dynamically change the number of maps shown, with different content, as well as charts, data etc.  I'm sure they are envisioning some sort of dashboard.   I know I can get it all laid out nicely if  the number of each is a known quantity.  However, sometimes they might just want to see one map, and other times, they might want to see a series of maps, one for each year in a series.  It will vary based on the number of fields that are available for any given layer. 

 

I'm wondering if anyone has experimented with using something like dojox/layout/GridContainer to manage all the panes.  That would let the user reorder the frames, expand, collapse etc.  I'm looking at the examples from here

http://dojotoolkit.org/reference-guide/1.10/dojox/layout/GridContainer.html#dojox-layout-gridcontainer

 

I'm hesitant to work with something that is marked experimental, but my early attempts calling the ESRI scripts and styles like

  <link rel="stylesheet" href="https://js.arcgis.com/3.10/js/dojo/dojox/widget/Portlet/Portlet.css">
    <link rel="stylesheet" type="text/css" href="https://js.arcgis.com/3.10/js/dojo/dojox/layout/resources/GridContainer.css">
    <link rel="stylesheet" type="text/css" href="https://js.arcgis.com/3.10/js/dojo/dojox/layout/resources/DndGridContainer.css">

seem to include everything I'm looking for.

 

I'm I setting myself up for disaster if I decide to use these components in my project?

Outcomes