Gets the collection of Decoration-s, displayed by this layer.
Namespace: MindFusion.Mapping
File: DecorationLayer.js
JavaScript Copy Code |
---|
get decorations() {} |
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 |