Gets the list of Decoration instances at a specified client position.
Namespace: MindFusion.Mapping
File: MapView.js
JavaScript Copy Code |
---|
function getDecorationsAt (point) |
Point. The point to test.
Array. An array of Decoration instances.
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 its click event and gets all Decoration-s located at the point of the click:
JavaScript Copy Code |
---|
var m = MindFusion.Mapping; // create a new instance of the mapView function mapViewClickHandler( sender, args ) |