setAnimatedPolyline
Deprecated
Use setOptions(MPDirectionsRendererOptions) with MPDirectionsRendererOptions.getAnimationRepeating(), MPDirectionsRendererOptions.getAnimationSpeed() and MPDirectionsRendererOptions.getAnimationMinDuration() instead.
Enable/Disable the polyline animation, when displaying a route element on the map
Parameters
animated
is polyline animated (default = true)
repeating
is animation repeating (default = true)
durationMs
animation duration (ms) (default = 6000)