Gets a specific legend layer by its path for the given map.
The map identifier.
The layer path to look up.
The matching legend layer, or undefined if not found.
Gets a specific legend layer by its path for the given map.