[#80732] Stores layerResourceId, layerTypeId and temporal in layer object.

Stores some useful values into metadata property of the OpenLayers layer object.
Merge pull request #1 from juanluisrp/80732-sistema-persistencia

[#80732] Stores layerResourceId, layerTypeId and temporal in layer object