Mapview on Touch Event in Android
<p>I am using a Google Mapview in Android with a user ring at my current location. I want the ring radius to reduce as in view reduced when I zoom out of the map as per the scale of the map. </p>

<p>I am using this:</p>

<pre><code>public boolean onTouchEvent(MotionEvent event, MapView mapView) {
   final int action = event.getAction();
   final int x = (int) event.getX();
   final int y = (int) event.getY();
   boolean result = false;
   if (action == MotionEvent.ACTION_DOWN) {
      for (OverlayItem item : items) {
         Point p = new Point(0, 0);
         map.getProjection().toPixels(item.getPoint(), p);
         if (hitTest(item, marker, x - p.x, y - p.y)) {
            result = true;
            inDrag = item;
            items.remove(inDrag);
            map.getOverlays().remove(myOverlayForRingAdjustment);
            populate();
            xDragTouchOffset = 0;
            yDragTouchOffset = 0;
            xDragTouchOffset = x - p.x;
            yDragTouchOffset = y - p.y;
            break;
         }
</code></pre>
