Gets or sets an object, holding custom user data.
Namespace: MindFusion.Mapping
Package: Control.js
JavaScript Copy Code |
---|
Object.defineProperty(Control.prototype, "data", { value: Object }); |
Object. The custom user data.
Use this property to hold useful data in conenction with the Control.
The following code checks if the data of a MapView instance is 1. The MapView class derives from Control.
JavaScript Copy Code |
---|
var m = MindFusion.Mapping; // create a new instance of the mapView |