Skip to content

Feat/1.2.0 controls - #5

Merged
VMichael1999 merged 3 commits into
feat/1.2.0-trackingfrom
feat/1.2.0-controls
Oct 25, 2026
Merged

VMichael1999 merged 3 commits into
feat/1.2.0-trackingfrom
feat/1.2.0-controls

Conversation

@VMichael1999

Copy link
Copy Markdown
Owner

No description provided.

MapAnimationController.polylineAnimation(id) returns a handle with pause(),
resume(), seek(progress), value, a progress stream, onComplete and onCycle.

To make pause and seek possible the polyline animation now always runs on its
own simulation (the same timing as AnimationController.repeat, with or without
a count) that can start from any point in time. onComplete is not called for
animations that repeat forever, and the streams are closed on dispose.
PolylineCodec.decode/encode read and write the Google Encoded Polyline format
(precision 5 or 6), checked against the example of the documentation.
boundsOf gives the box that contains a list of points and replaces the
_getBounds helper of the example app.
@VMichael1999 VMichael1999 self-assigned this Oct 25, 2026
@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

❌ Patch coverage is 99.32886% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
lib/src/utils/polyline_codec.dart 97.43% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

@VMichael1999
VMichael1999 merged commit f4ff471 into feat/1.2.0-tracking Oct 25, 2026
8 checks passed
VMichael1999 added a commit that referenced this pull request Oct 25, 2026
Merge pull request #5 from VMichael1999/feat/1.2.0-controls
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants