Gets or sets the X-coordinate of the location of this Control.
Namespace: MindFusion.Mapping
Package: Control.js
JavaScript Copy Code |
---|
Object.defineProperty(Control.prototype, "left", { value: Unit }); |
Unit. The X-coordinate of the control's location.
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 sets its left margin to 20 pixels. The MapView derives from Control.
JavaScript Copy Code |
---|
var m = MindFusion.Mapping; // create a new instance of the mapView |