"Grouping services" in the basic web viewer

Discussion created by artrod on Dec 13, 2013
I am interested in using the Javascript Basic Map Viewer web application, and hoping to account for my particular situation.

Many of my services are made from feature classes containing many polygons, so I am creating both a tiled service and a feature service.  The tiled service would be used to view the full extent of the layer, and then as the user zooms in, it switches to a feature service to provide more interactive capabilities (identify and selection, etc).  Is there a way in the basic map viewer to "group" these two services into one option under the layers drop-down menu?  That way, a user would only have to select one choice, but it would actually add both services, and switch between the two depending on scale.

Thank you for any assistance you can provide!