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