Code example for Marker

Methods: setAnchor

0
		@Override 
		public void run() { 
		    long elapsed = SystemClock.uptimeMillis() - start;
		    float t = Math.max(1 - interpolator
			.getInterpolation((float) elapsed / duration), 0);
		    marker.setAnchor(0.5f, 1.0f + 2 * t);
		    if (t > 0.0) {
			handler.postDelayed(this, 16);
		    } 
		} 
	    }); 
	}  
	return false; 
    } 
     
    // Implementation of LocationListener 
    @Override 
    public void onLocationChanged(Location location) {
	// Do nothing 
    }