Represents a layer, containing decoration elements.
Namespace: MindFusion.Mapping
File: DecorationLayer.js
JavaScript Copy Code |
---|
// class |
The following code creates a new Marker and adds it to the decorations property of a DecorationLayer instance.
JavaScript Copy Code |
---|
var m = MindFusion.Mapping; var markers = new m.DecorationLayer("Images"); var mark = new m.Marker(); markers.decorations.add(mark); |
MindFusion.Mapping.DecorationLayer