layerNames property

List<String> get layerNames

A collection of the names of the visible WMS layers.