P72B / PolylineAnimator

Android google maps polyline animator library
MIT License
24 stars 5 forks source link

animatedPolyline remove() dont work #1

Closed javier4mar closed 3 years ago

javier4mar commented 3 years ago

Hi friend

When I try to delete the animated polyline the methods don't work, here is my implementation.

public void clearMap() {
        if (mMap != null) {
            mMap.clear();
        }

       if (animatedPolyline != null) {
            animatedPolyline.remove();
            animatedPolyline.replacePoints(Collections.emptyList());
        }
}
P72B commented 3 years ago

@javier4mar thank you for the report. The fix is inside 0.1.3 lib version.