Attach Control event handlers.
Namespace: MindFusion.Mapping
Package: Control.js
JavaScript Copy Code |
---|
function attach () |
The following example creates a new MapView using a <DIV> element called "mapview" that we've declared in the HTML code of the page and calls its draw method. The MapView derives from Control.
JavaScript Copy Code |
---|
var m = MindFusion.Mapping; // create a new instance of the mapView |