title: Android and Google Maps: Fading pulse animation
body: <p>I have created a pulse animation, that takes a location on a map, and continuously emits a pulse (circle). This works as expected. However, I would like the pulse to fade out, the further it is away from the point. Any thoughts on how to achieve this best?</p>
  
  <p>The animation is as follows:</p>
  
  <pre><code>    mCircle = mMap.addCircle(
              new CircleOptions()
                      .center(mMarker.getPosition())
                      .strokeWidth(STROKE_WIDTH)
                      .strokeColor(Color.parseColor(DEFAULT_COLOR))
                      .radius(RADIUS));
  
      mAnimator.setRepeatCount(ValueAnimator.INFINITE);
      mAnimator.setRepeatMode(ValueAnimator.RESTART);
      mAnimator.setIntValues(0, 100);
      mAnimator.setDuration(DURATION);
      mAnimator.setEvaluator(new IntEvaluator());
      mAnimator.setInterpolator(new AccelerateDecelerateInterpolator());
      mAnimator.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() {
          @Override
          public void onAnimationUpdate(ValueAnimator valueAnimator) {
              float animatedFraction = valueAnimator.getAnimatedFraction();
              mCircle.setRadius(animatedFraction * SIZE);
          }
      });
      mAnimator.start();
  </code></pre>