Class AnimationUtil


  • public class AnimationUtil
    extends java.lang.Object
    Animation utilities for markers with Maps API.

    • Constructor Summary

      Constructors 
      Constructor Description
      AnimationUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void animateMarkerTo​(com.google.android.gms.maps.model.Marker marker, com.google.android.gms.maps.model.LatLng finalPosition)
      Animates a marker from it's current position to the provided finalPosition
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AnimationUtil

        public AnimationUtil()
    • Method Detail

      • animateMarkerTo

        public static void animateMarkerTo​(com.google.android.gms.maps.model.Marker marker,
                                           com.google.android.gms.maps.model.LatLng finalPosition)
        Animates a marker from it's current position to the provided finalPosition
        Parameters:
        marker - marker to animate
        finalPosition - the final position of the marker after the animation