Gets or sets the visibility of this Control.
Namespace: MindFusion.Mapping
Package: Control.js
JavaScript Copy Code |
---|
Object.defineProperty(Control.prototype, "visible", { value: Boolean }); |
Boolean. True if the control is visible, otherwise false.
The following example creates a new MapView using a <DIV> element called "mapview" that we've declared in the HTML code of the page. Then it checks if the data for the MapView is 1 and if yes - makes the view invisible. The MapView class derives from Control.
JavaScript Copy Code |
---|
var m = MindFusion.Mapping; // create a new instance of the mapView |