hasWeatherLayer

Returns whether the map currently contains a weather layer with the specified identifier.

Return

true if that product (or every sub-layer of a composite) is present.

Parameters

code

Weather product to check.