Search
CanvasLayer Class
Remarks See Also
 






Represents a canvas Layer, containing decoration drawings.

Namespace: MindFusion.Mapping
File: CanvasLayer.js

 Syntax

JavaScript  Copy Code

// class
CanvasLayer.prototype = {}

 Remarks

When you create a CanvasLayer you need to add it to the layers collection of a MapView.

 Example

The following code creates a new CanvasLayer with the name "Drawings":

JavaScript  Copy Code

var m = MindFusion.Mapping;

var drawings = new m.CanvasLayer("Drawings");
view.layers.add(drawings);

 Inheritance Hierarchy

MindFusion.Mapping.CanvasLayer

 See Also