Okay, I am not the developer of this JS app just the analyst who is now tasked with making it work. That being said, I will do my best to ask this question clearly. Our app is unable to display more than ten services at a time. The first image shows what happens to the eleventh service every time. The on/off button does not work, the opacity slider is missing, the data is not drawn, and only one of the services' layers is shown in the ToC.
[ATTACH=CONFIG]29131[/ATTACH]
I found the following error using the browser developer tools console.
[ATTACH=CONFIG]29132[/ATTACH]
When I follow the error, I am pointed to this line. I noticed below that line that the code for "service_[0-9+]" is different from "Layer_[0-9]+". Could this be the problem? Any help would be appreciated here.
[ATTACH=CONFIG]29133[/ATTACH]