axxl,I changed the path in the variable worldgroupedUrl to point to my map service, which displays correctly (in addition to changing the map extent of course). I have also changed the layers in the 'worldgrouped.json' file (below; mine has no groups though only layers). Does this look correct? I cannot figure out how to change the 'WorldGrouped' title in the TOC (tried changing it in the html file), nor does it display my layer in the TOC.Please help.{
identifier: 'name',
label: 'name',
items:
[
{
name : 'Gates',
type : 'layer',
id: 0,
visible: true,
children:
},
{
name : 'Fences',
type : 'layer',
id: 1,
visible: true
},
{
name : 'Railways',
type : 'layer',
id: 2,
visible: true
},
{
name : 'Primary Roads',
type : 'layer',
id: 3,
visible: true
},
{
name : 'Roads - Other',
type : 'layer',
id: 4,
visible: true
},
{
name : 'SWMUs',
type : 'layer',
id: 5,
visible: true
},
{
name : 'SWMU Extents',
type : 'layer',
id: 6,
visible: true
},
{
name : 'Lakes',
type : 'layer',
id: 7,
visible: true
},
{
name : 'Buildings/Structures',
type : 'layer',
id: 8,
visible: true
},
{
name : 'Berms',
type : 'layer',
id: 9,
visible: true
},
{
name : 'Property Boundary',
type : 'layer',
id: 10,
visible: true
}
]
}