There may be certain cases when a developer wants to remove components in certain conditions only. In this case, all users need to create a map project and configure the component to remove in the CustomAnalystModuleConfig.json file. A typical entry in CustomAnalystModuleConfig.json would look like this:
"componentsToRemove":[
{"componentName":"BaseMapSwitcherComponent",
"fromMapConfig":"Drive Time"}]
When removing the same component from more than one map project, the entry for the component repeats for each map project.