{"action":"created","issue":{"url":"https://api.github.com/repos/TerriaJS/terriajs/issues/725","repository_url":"https://api.github.com/repos/TerriaJS/terriajs","labels_url":"https://api.github.com/repos/TerriaJS/terriajs/issues/725/labels{/name}","comments_url":"https://api.github.com/repos/TerriaJS/terriajs/issues/725/comments","events_url":"https://api.github.com/repos/TerriaJS/terriajs/issues/725/events","html_url":"https://github.com/TerriaJS/terriajs/issues/725","id":82334402,"number":725,"title":"please port the \"flatten\" property from \"wms-getCapabilities\" so that it also works for \"esri-mapServer-group\"","user":{"login":"meh9","id":5283003,"avatar_url":"https://avatars.githubusercontent.com/u/5283003?v=3","gravatar_id":"","url":"https://api.github.com/users/meh9","html_url":"https://github.com/meh9","followers_url":"https://api.github.com/users/meh9/followers","following_url":"https://api.github.com/users/meh9/following{/other_user}","gists_url":"https://api.github.com/users/meh9/gists{/gist_id}","starred_url":"https://api.github.com/users/meh9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meh9/subscriptions","organizations_url":"https://api.github.com/users/meh9/orgs","repos_url":"https://api.github.com/users/meh9/repos","events_url":"https://api.github.com/users/meh9/events{/privacy}","received_events_url":"https://api.github.com/users/meh9/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/TerriaJS/terriajs/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-05-29T08:39:46Z","updated_at":"2016-02-25T01:31:13Z","closed_at":null,"body":"It would be great to be able to use the \"flatten\" property on \"esri-mapServer-group\"s just like we can on \"wms-getCapabilities\" groups. That would make configs like the following look much better in the data catalogue:\r\n\r\n```\r\n        {\r\n          \"name\": \"DNI Mean 1990 - 2011\",\r\n          \"type\": \"esri-mapServer-group\",\r\n          \"url\": \"http://www.ga.gov.au/gisimg/rest/services/energy/Solar_Energy_DNI_Mean/MapServer\",\r\n          \"flatten\": true\r\n        },\r\n        {\r\n          \"name\": \"GHI Mean 1990 - 2011\",\r\n          \"type\": \"esri-mapServer-group\",\r\n          \"url\": \"http://www.ga.gov.au/gisimg/rest/services/energy/Solar_Energy_GHI_Mean/MapServer\",\r\n          \"flatten\": true\r\n        }\r\n```"},"comment":{"url":"https://api.github.com/repos/TerriaJS/terriajs/issues/comments/188549893","html_url":"https://github.com/TerriaJS/terriajs/issues/725#issuecomment-188549893","issue_url":"https://api.github.com/repos/TerriaJS/terriajs/issues/725","id":188549893,"user":{"login":"kring","id":924374,"avatar_url":"https://avatars.githubusercontent.com/u/924374?v=3","gravatar_id":"","url":"https://api.github.com/users/kring","html_url":"https://github.com/kring","followers_url":"https://api.github.com/users/kring/followers","following_url":"https://api.github.com/users/kring/following{/other_user}","gists_url":"https://api.github.com/users/kring/gists{/gist_id}","starred_url":"https://api.github.com/users/kring/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kring/subscriptions","organizations_url":"https://api.github.com/users/kring/orgs","repos_url":"https://api.github.com/users/kring/repos","events_url":"https://api.github.com/users/kring/events{/privacy}","received_events_url":"https://api.github.com/users/kring/received_events","type":"User","site_admin":false},"created_at":"2016-02-25T01:31:13Z","updated_at":"2016-02-25T01:31:13Z","body":"`groupBy` sounds fine.  We can support backward compatibility by using the `defaultUpdaters` thing."}}