getLayer

Public API to get current layer value