Gets the default Decoration-s collection.
Namespace: MindFusion.Mapping
Package: MapView.js
JavaScript Copy Code |
---|
Object.defineProperty(MapView.prototype, "decorations", { value: ObservableCollection }); |
ObservableCollection. The default Decoration-s collection.
The 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 |