Dinamic layer map access. Not finished.