Gets the geographic cooordinates related to the event.
Namespace: MindFusion.Mapping
Package: EventArgs.js
JavaScript Copy Code |
---|
Object.defineProperty(MapEventArgs.prototype, "location", { value: LatLong }); |
LatLong. A LatLong instance.
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 handles the click event of the MapView.
JavaScript Copy Code |
---|
var m = MindFusion.Mapping; // create a new instance of the mapView function mapViewClickHandler( sender, args ) |