set Weather Layer Visibility
Shows or hides every map layer (and optional legend) belonging to code, including composite children.
Parameters
code
Weather product to affect.
visible
true to show and request tiles; false to hide and detach legend if configured.