FindNearbyNodes (locate nodes based on mouse position)

Top  Previous  Next


FindNearbyNodes( Xpos, Ypos)


Finds the closest node based on X and Y Mouse coordinates


The current X mouse coordinate position


The current Y mouse coordinate position

The FindNearbyNodes method returns the closest node id based on the x and y mouse coordinates.

Return Data Type:     LONG


The FindNearbyNodes method is called from the Interactivity method. It is also called in the Drilldown method to accurately return the proper node id when the mouse is clicked.

See Also:     Drilldown , Interactivity