layerCapabilities property

Map<Layer, OfflineCapability> get layerCapabilities

Layer capabilities for all layers in the map. The dictionary maps layer instances to offline capability.

The Dictionary has keys of element type Layer with values of OfflineCapability.