Gets the default Decoration-s collection.
Namespace: MindFusion.Mapping
File: MapView.js
SyntaxJavaScript
Copy Code
|
|---|
get decorations() {} |
ObservableCollection. The default Decoration-s collection.
ExampleThe following code creates a new MapView using a <DIV> element called "mapview" that we've declared in the HTML code of the page and adds a new Marker to its decorations collection:
JavaScript
Copy Code
|
|---|
// create a new instance of the mapView
//adds the Maker to the decorations collection of the view |
See Also