Name
HideLayer -- hide a layer (V1.5)
Synopsis
HideLayer(id)
Function
This function hides the layer or layer group specified by id. The layer will not be removed. It will just be hidden. You can make it visible again, by calling ShowLayer(). If you want to remove it completely, use RemoveLayer() or Undo().

You need to enable layers before you can use this function. See Layers introduction for details.

Inputs
id
identifier of the layer or layer group to hide
Example
EnableLayers()
NPrint("Hello World!")
WaitLeftMouse
HideLayer(1)
WaitLeftMouse
ShowLayer(1)
The code above prints "Hello World!" to the display, then hides this text and displays it again.

Show TOC