Gets the legend style config for a specific layer.
The map identifier
The layer path to look up
The layer legend style config, defaults to undefined
Gets the legend style config for a specific layer.