Gets a specific legend item by name for a layer.
The map identifier
The layer path to look up
The legend item name to find
The matching legend item, or undefined
Gets a specific legend item by name for a layer.