CMapLayer::FindNodeByKdTree

void FindNodeByKdTree(CMapRect rec, bool (*IterationCallback)(CMapObject*));

 

Parameters

rec

Search map rectangle.

bool (*IterationCallback)(CMapObject*)

Search callback function. Should be global. Delete found object before exiting callback function to avoid memory leaks.

 

Remarks

Call this function to find the node object in specific map rectangle. Callback function will be called for each found node.  

 

CMapLayer Overview | Class Members | Hierarchy Chart