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

Stores some useful values into metadata property of the OpenLayers layer object.