AnsweredAssumed Answered

Group layer does not play well with other tasks/widgets

Question asked by dougg on Oct 30, 2017
Latest reply on Oct 31, 2017 by dougg

I have a nice JSAPI app that incorporates search and locate widgets and an identify task (thank you Robert Scheitlin for your help!) When I try to add a Layer List widget with a group layer the identify task fails and my search widget disappears. It appears that I don't even need the widget (notice the commented out layer list code) as creating the group layer already adds this to my map. Therefore the Group Layer seems to be what's messing things up. I've attached the older code that works (version 247) and the code with the added group layer(347) as my ultimate goal is to allow users a choice of several map services to view as a basemaps. Any help out there?

Outcomes