public void animate(MarkerWithPosition marker,LatLng from,LatLng to){
  lock.lock();
  mAnimationTasks.add(new AnimationTask(marker,from,to));
  lock.unlock();
}

public void animate ( MarkerWithPosition marker , LatLng from , LatLng to ) { lock . lock ( ) ; mAnimationTasks . add ( new AnimationTask ( marker , from , to ) ) ; lock . unlock ( ) ; }
animates a markerwithposition some time in the future .
