I have written a code t find the nearest eating and other location to a person location.
But the problem is the draw function is redrawn continuesly without calling the MapView.invalidate()
There is no other way that function might be called.
cant figure out how to limit it as it is eating my cpu cycles ...
Is there any other way then invalidate() to refresh it al such great level
Also the draw is made to return false but still no efffect.
and it is reaching the return statement in draw function.



