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