-
Notifications
You must be signed in to change notification settings - Fork 817
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(polylines): add support for Polylines #554
Conversation
There were the following issues with your Pull Request
Contribution guidelines are available at https://github.com/SebastianM/angular2-google-maps/blob/master/CONTRIBUTING.md This message was auto-generated by https://gitcop.com |
b49e175
to
0664f23
Compare
@andir thank you! I will add some comments this weekend but that looks very good already 👍 |
*/ | ||
lineRightClick: EventEmitter<PolyMouseEvent> = new EventEmitter<PolyMouseEvent>(); | ||
|
||
@ContentChildren(SebmGoogleMapPolylinePoint) _points: QueryList<SebmGoogleMapPolylinePoint>; |
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.
this should be private
@andir Review ready |
Thank you @SebastianM |
|
||
let polylineId = 0; | ||
/** | ||
* SebmGoogleMapPolyline renders a polyline on a { |
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.
Something is missing here
Thank you @andir . Added one little comment. Then I will test it (and when I find no bugs, merge it) |
This adds support for Polylines on google maps.
Since angular2's QueryLists do not yet implement the
Observable
interface (https://angular.io/docs/js/latest/api/core/index/QueryList-class.html) the amount of polygons can't really change after initial creation.