Added retrieval of selectable dates based on metadata for a given layer