getLayerDefinition

Public API to get layers definition