title: unable to get source and destination geopoints into different variables
body: <p>Am trying to get source and destination in two different variables with respect to the user interactions on the map. Using single marker for both source and destination. In the <code>onTouchEvent</code> method am unable to differentiate the source and destination.</p>
  
  <p>With those points I want to calculate the distance and draw the route on the map dynamically with user interactions.</p>
  
  <p>This is my code</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);
                      populate();
  
                      xDragTouchOffset=0;
                      yDragTouchOffset=0;
  
                      setDragImagePosition(p.x, p.y);
                      dragImage.setVisibility(View.VISIBLE);
  
                      xDragTouchOffset=x-p.x;
                      yDragTouchOffset=y-p.y;
  
                      break;
                  }
              }
          }
          else if (action==MotionEvent.ACTION_MOVE &amp;&amp; inDrag!=null) {
              setDragImagePosition(x, y);
              result=true;
          }
          else if (action==MotionEvent.ACTION_UP &amp;&amp; inDrag!=null) {
              dragImage.setVisibility(View.GONE);
  
              GeoPoint pt=map.getProjection().fromPixels(x-xDragTouchOffset,
                      y-yDragTouchOffset);
  
              slatlng[0] = pt.getLatitudeE6()/1E6;
              slatlng[1] = pt.getLongitudeE6()/1E6; 
  
              urlString = getUrl(slatlng[0], slatlng[1], dlatlng[0],dlatlng[1]);
  
              try {
                  distance = getDistance(urlString);
              } catch (Exception e) {
                  e.printStackTrace();
              }           
              System.out.println("Distance : "+distance);
              System.out.println("Lat : " +slatlng[0]+"Lng :"+slatlng[1]);
              OverlayItem toDrop=new OverlayItem(pt, inDrag.getTitle(),
                      inDrag.getSnippet());
  
              items.add(toDrop);
              populate();
  
              inDrag=null;
              result=true;
          }
  
          return(result || super.onTouchEvent(event, mapView));
      }
  </code></pre>