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