Initializes a new instance of the CanvasLayer class.
Namespace: MindFusion.Mapping
File: CanvasLayer.js
SyntaxJavaScript
Copy Code
|
|---|
function CanvasLayer ([id]) |
String. The id of this layer.
ExampleThe following code creates a new CanvasLayer with the id "Drawings":
JavaScript
Copy Code
|
|---|
var m = MindFusion.Mapping; var drawings = new m.CanvasLayer("Drawings"); |
See Also