Gets the time dimension for a specific layer.
The map identifier.
The layer path to look up.
The time dimension, or undefined.
Gets the time dimension for a specific layer.