Select to view content in your preferred language

WebApp Builder

4831
12
04-20-2015 05:38 AM
CenterlineMapping
Regular Contributor

Is it possible to group and subgroup layers within the layer list widget of WebApp Builder Developer Edition?

We have 130+ image services in the Web Map and want to group them in the LayerList widget Table of Contents in order for users to collapse and expand and keep the table organized by parameters.

0 Kudos
12 Replies
RobertScheitlin__GISP
MVP Emeritus

Centerline Mapping,

   No, currently there is not support for this.

0 Kudos
StanMcShinsky
Frequent Contributor

In order to have grouped and sub grouped layers in WAB you need to publish the map service from the MXD in the way you want to see the sub groups.

-Stan

0 Kudos
CenterlineMapping
Regular Contributor

We found that using a published map service from the MXD does group the layers, however; it seems to also terminate the map.onclick popup box functionality we use for image service pixel identification.

0 Kudos
StanMcShinsky
Frequent Contributor

Are you saying that when you group layers then you can no longer click on the map top get the identify to work?

-Stan

0 Kudos
CenterlineMapping
Regular Contributor

When we add individual image services to a Web Map and then add that Web Map to the Web Application, we can then click on each image service to obtain pixel values at the location of mouse clicks on the map through the out of the box popup.  As long as we configure and enable popups in the web map for each image service layer.

When we group and publish an MXD through Desktop, and then add that MapServer as a layer to the Web Map, and then the Web Map to the Web Application, we no longer are able to click on individual image services and retrieve the pixel values.  It is as if that functionality only works on individual image services within a web map, not through MapServers within a web map.

We would like to be able to group 130+ layers based on parameters in an expandable and collapsible tree (similar to MXD), and also use the out of the box popup for retrieving pixel values for each layer.

0 Kudos
Leighton0
Occasional Contributor

You have probably already thought of this but you could create a separate Web Map for each group of layers. Your Web Map would then act as a group.

Regards,

Leighton

CenterlineMapping
Regular Contributor

Then the next step would be to add a custom widget to change between Web Maps within the application (not sure if that is supported either). 

For example, click here to view Climate Map, this would point the application to the Climate web map within the application, showing only Climate layers in Layerlist, click here to view Radiation Map, this would point the application to the Radiation web map, hiding all Climate layers and showing only Radiation layers.

I suppose this would help eliminate having a long list of 300+ layers visible in the Layer List widget within the application. 

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Centerline Mapping,

Then the next step would be to add a custom widget to change between Web Maps within the application (not sure if that is supported either).

It's Not.

0 Kudos
CenterlineMapping
Regular Contributor

Yes, that is what I am saying.  Seems that we cannot enable and configure popups on MapServer layers within the Web Map.

0 Kudos