Search
CanvasLayer.visible Property
See Also
 






Gets or sets the visibility of this CanvasLayer.

Namespace: MindFusion.Mapping
File: CanvasLayer.js

 Syntax

JavaScript  Copy Code

get visible() {}

 Property Value

Boolean. True if the layer is visible, otherwise false.

 Example

The following code creates a new CanvasLayer and sets its visible property to false:

JavaScript  Copy Code
var drawings = new m.CanvasLayer("Drawings");
drawings.visible = false;
view.layers.add(drawings);

 See Also