-
Notifications
You must be signed in to change notification settings - Fork 816
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(FitBounds): add fitBounds to agm-polyline-point #1720
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please add unit tests to polyline-point.spec.ts
getFitBoundsDetails$(): Observable<FitBoundsDetails> { | ||
return this.positionChanged.pipe( | ||
startWith({lat: this.latitude, lng: this.longitude}), | ||
map(x => ({latLng: x})) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rename x
to position
or some other meaningful name
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, used position
Codecov Report
@@ Coverage Diff @@
## master #1720 +/- ##
==========================================
+ Coverage 47.9% 48.01% +0.11%
==========================================
Files 41 41
Lines 1812 1818 +6
Branches 167 167
==========================================
+ Hits 868 873 +5
- Misses 940 941 +1
Partials 4 4
Continue to review full report at Codecov.
|
@doom777 Thanks for the review. I hope I have address all requested changes. |
Closes #1693