Gets the raster function for a specific layer.
The map identifier
The layer path to look up
The raster function name, or undefined
Gets the raster function for a specific layer.