addAccumLayer

Adds one of the accumulation layers.

These have no LayerCode, so they cannot go through addWeatherLayer; this mirrors MapController.addRasterLayer and addPowerLayer.

mapController.addAccumLayer(AccumLayerCode.PRECIP_ACCUM)

Return

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

Parameters

code

Which accumulation product to add.

beforeId

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