addOperationLayer

Adds one of the time-series operation layers.

These have no LayerCode, so they cannot go through addWeatherLayer; this mirrors MapController.addRasterLayer. For precip-accum it replaces addAccumLayer; snow-accum is reachable only through addAccumLayer and is not yet correct.

mapController.addOperationLayer(OperationLayerCode.TEMPERATURES_MAX)

Return

The new TileLayer, or null if it could not be added.

Parameters

code

Which operation product to add.

beforeId

Existing layer id to insert below; null appends on top.