I'm assuming the part I would alter in the MapSwitcherWidget.mxml is somewhere in here:// base maps
mapList = new ArrayCollection(configData.basemaps);
if (mapList.length <= 1)
{
this.currentState = "noBasemapsBB";
}
else
{
setTbbSelectedIndex();
}
toc.map = map;
toc.isMapServiceOnly = false; //gotta get this from the config file
toc.excludeLayers = getExcludeLayers();
toc.excludeGraphicsLayers = true;
hideTimer.addEventListener(TimerEvent.TIMER_COMPLETE, hideTimer_timerCompleteHandler, false, 0, true);
callLater(expandTOC);
Can you provide a little more guidance please? I'm curious, what does the getExcludeLayers function do? What is the property toc.isMapServiceOnly and why is it false? I tried looking these up in the API reference but I couldn't find them.