SetLayerEnabled

Set the given layer to enabled or disabled.

Function

SetLayerEnabled(layerName, enabled)

Parameters

  • layerName (string): The name of the equipment to lookup.
  • enabled (boolean): True if the layer should be visible.