A base class for UI controls.
Namespace: MindFusion.Mapping
Package: Control.js
JavaScript
![]() |
---|
// class |
Control is the base class for UI controls. Though you will not create Control instances directly, most of its members are accessible though classes that derive from Control.
The following example creates a new MapView using a <DIV> element called "mapview" that we've declared in the HTML code of the page. The MapView derives from Control
JavaScript
![]() |
---|
// create a new instance of the mapView var view = new m.MapView(document.getElementById("mapView")); view.theme = "light"; |
MindFusion.Mapping.Control
MindFusion.Mapping.MapView