getConfigurationForLayerCode

Retrieves the appropriate WeatherLayerConfiguration based on the given LayerCode.

Return

The corresponding WeatherLayerConfiguration, or null if the code is not recognized.

Parameters

code

The LayerCode enum representing the desired weather layer.

service

The WeatherService instance to pass to the configuration factory.