Package com.google.maps.android.ui
Class AnimationUtil
- java.lang.Object
-
- com.google.maps.android.ui.AnimationUtil
-
public class AnimationUtil extends java.lang.ObjectAnimation 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 voidanimateMarkerTo(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
-
-
-
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 animatefinalPosition- the final position of the marker after the animation
-
-