point condition to be remove
<p>If I 'm using GPS and adding some Over lay items in the map and i want to play a game when ever my current location is == to the over lay item then remove this item the problem is due to the gps inaccuracy i want to make a margin error around the over lay item so what i did is
Since the P is the geo point of the overlay item </p>

<pre><code>enter code here
   int error =10 ;
if (loc.getLatitude() * 1E6&gt;=p.getLatitudeE6()-error&amp;&amp;loc.getLongitude() * 1E6 &lt; p.getLatitudeE6()+error)
 mapView.getOverlays().remove(itemizedOverlay);
  mapView.invalidate();
</code></pre>

<p>so the question now is this if condition is true or what ??</p>
