{"action":"closed","issue":{"url":"https://api.github.com/repos/cmndrbensisko/LocalLayer/issues/12","labels_url":"https://api.github.com/repos/cmndrbensisko/LocalLayer/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/cmndrbensisko/LocalLayer/issues/12/comments","events_url":"https://api.github.com/repos/cmndrbensisko/LocalLayer/issues/12/events","html_url":"https://github.com/cmndrbensisko/LocalLayer/issues/12","id":56305405,"number":12,"title":"Dynamic Service Sublayer Visibility","user":{"login":"cmndrbensisko","id":6290122,"avatar_url":"https://avatars.githubusercontent.com/u/6290122?v=3","gravatar_id":"","url":"https://api.github.com/users/cmndrbensisko","html_url":"https://github.com/cmndrbensisko","followers_url":"https://api.github.com/users/cmndrbensisko/followers","following_url":"https://api.github.com/users/cmndrbensisko/following{/other_user}","gists_url":"https://api.github.com/users/cmndrbensisko/gists{/gist_id}","starred_url":"https://api.github.com/users/cmndrbensisko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmndrbensisko/subscriptions","organizations_url":"https://api.github.com/users/cmndrbensisko/orgs","repos_url":"https://api.github.com/users/cmndrbensisko/repos","events_url":"https://api.github.com/users/cmndrbensisko/events{/privacy}","received_events_url":"https://api.github.com/users/cmndrbensisko/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cmndrbensisko/LocalLayer/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"cmndrbensisko","id":6290122,"avatar_url":"https://avatars.githubusercontent.com/u/6290122?v=3","gravatar_id":"","url":"https://api.github.com/users/cmndrbensisko","html_url":"https://github.com/cmndrbensisko","followers_url":"https://api.github.com/users/cmndrbensisko/followers","following_url":"https://api.github.com/users/cmndrbensisko/following{/other_user}","gists_url":"https://api.github.com/users/cmndrbensisko/gists{/gist_id}","starred_url":"https://api.github.com/users/cmndrbensisko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmndrbensisko/subscriptions","organizations_url":"https://api.github.com/users/cmndrbensisko/orgs","repos_url":"https://api.github.com/users/cmndrbensisko/repos","events_url":"https://api.github.com/users/cmndrbensisko/events{/privacy}","received_events_url":"https://api.github.com/users/cmndrbensisko/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-02-02T22:46:17Z","updated_at":"2015-02-09T18:25:15Z","closed_at":"2015-02-09T18:25:15Z","body":"From Barnaby:\r\n\r\nOk, I think I have discovered what is preventing sublayers of dynamic layers being turned on and off individually, AND what is preventing legends of dynamic layers from displaying.\r\n \r\nCase 1:  A service is published in which the top layer is On in ArcMap:\r\n \r\ntoplayeron-nolegend_arcmap.jpg\r\n \r\nNote that the top-most \"Landsat 7 ETM+...\" layer is On.  When this service is added as a dynamic layer using widget 1.2, its legend will NOT display in the WAB app, and its sublayers CANNOT be turned on and off individually.  All sublayers are always on, and can only be turned off when the entire layer is turned of in WAB layer menu.  Since multiple sublayers are on, WAB doesn't know which sublayer to display a legend for:\r\n \r\ntoplayeron-nolegend_wab.jpg\r\n \r\nCase 2:  A service is published in which the top layer is Off in ArcMap:\r\n \r\ntoplayeroff-legend_arcmap.jpg\r\n \r\nNote that the top-most \"Landsat 7 ETM+...\" layer is Off.  When this service is added as a dynamic layer using widget 1.2, its legend WILL display in the WAB app, and its sublayers CAN be turned on and off individually:\r\n \r\ntoplayeroff-legend_wab.jpg\r\n \r\nIs there a way to fix this so that sublayers of dynamic layers can be toggled on and off normally whether the top-most layer in the service is on or off when published?"}}