/**
  * Animates the underlying {@link OpenStreetMapView} that it centers the passed {@link GeoPoint}
  * in the end.
  *
  * @param gp GeoPoint to be centered in the end.
  * @param aSmoothness steps made during animation. I.e.: {@link
  *     OpenStreetMapViewController.ANIMATION_SMOOTHNESS_LOW}, {@link
  *     OpenStreetMapViewController.ANIMATION_SMOOTHNESS_DEFAULT}, {@link
  *     OpenStreetMapViewController.ANIMATION_SMOOTHNESS_HIGH}
  * @param aDuration in Milliseconds. I.e.: {@link
  *     OpenStreetMapViewController.ANIMATION_DURATION_SHORT}, {@link
  *     OpenStreetMapViewController.ANIMATION_DURATION_DEFAULT}, {@link
  *     OpenStreetMapViewController.ANIMATION_DURATION_LONG}
  */
 public void animateTo(
     final GeoPoint gp,
     final AnimationType aAnimationType,
     final int aSmoothness,
     final int aDuration) {
   animateTo(gp.getLatitudeE6(), gp.getLongitudeE6(), aAnimationType, aSmoothness, aDuration);
 }
 /**
  * Animates the underlying {@link OpenStreetMapView} that it centers the passed {@link GeoPoint}
  * in the end. Uses: {@link OpenStreetMapViewController.ANIMATION_SMOOTHNESS_DEFAULT} and {@link
  * OpenStreetMapViewController.ANIMATION_DURATION_DEFAULT}.
  *
  * @param gp
  */
 public void animateTo(final GeoPoint gp, final AnimationType aAnimationType) {
   animateTo(
       gp.getLatitudeE6(),
       gp.getLongitudeE6(),
       aAnimationType,
       ANIMATION_DURATION_DEFAULT,
       ANIMATION_SMOOTHNESS_DEFAULT);
 }