Create a Colour Palette for Time Service Results
createTimePalette(palette, type, maxTime, bins, reverse)
A colour palette e.g. "viridis", "Blues"
Either "numeric" or "bin"
The maximum time value to consider
Either a single number of bins, or a vector of cut points.
Whether to reverse the colour palette.
A colour palette function for use with the time legend and markers