Sets the legend query status and optional legend data for a specific layer.
Updates the layer's icon images and legend items when legend data with a type is provided.
The map identifier
The layer path to update
The new legend query status
Sets the legend query status and optional legend data for a specific layer.
Updates the layer's icon images and legend items when legend data with a type is provided.