Gets the collection of Decoration-s, displayed by this layer.
Namespace: MindFusion.Mapping
Package: DecorationLayer.js
JavaScript Copy Code |
---|
Object.defineProperty(DecorationLayer.prototype, "decorations", { value: ObservableCollection }); |
ObservableCollection. A collection of Decoration instances.
The following code creates a new DecorationLayer and adds a new Marker to the layer's decorations property.
JavaScript Copy Code |
---|
var m = MindFusion.Mapping; var markers = new m.DecorationLayer("Images"); // create some markers with images |