Skip to content
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(SebmGoogleMapPolygon): support for polygon usage #652

Closed
wants to merge 8 commits into from
Closed

feat(SebmGoogleMapPolygon): support for polygon usage #652

wants to merge 8 commits into from

Conversation

gorango
Copy link
Contributor

@gorango gorango commented Sep 14, 2016

  • modelled after polyline component
  • add containsLocation method to api-wrapper for interaction
    between points and polygons

Resolves #615

Modelled after polyline directive.

Additional:

 - add containsLocation method to api-wrapper for interaction
   between points and polygons

Resolves #615
@sebholstein
Copy link
Owner

@gorango Thank you, this looks great! I will review it in the next few days

@sebholstein sebholstein added this to the 0.16.0 milestone Sep 15, 2016
Copy link
Owner

@sebholstein sebholstein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added a few comments

*
* ### Example
* ```typescript
* import {Component} from 'angular2/core';
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This code is outdated. Please use the Angular 2.0.0 way here

*
* @Component({
* selector: 'my-map-cmp',
* directives: [SebmGoogleMap, SebmGooglePolygon],
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove this line

'zIndex',
],
outputs: [
'lineClick', 'lineDblClick', 'lineDrag', 'lineDragEnd', 'lineMouseDown', 'lineMouseMove',
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change names to polyClick, polyDblClick, ...

return;
}

let options: {[propName: string]: any} = {};
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you add move this code to a private method called _updatePolygonOptions

@GitCop
Copy link

GitCop commented Sep 22, 2016

There were the following issues with your Pull Request

  • Commit: 102a3c6
    • Commits must be in the following format: %{type}(%{scope}): %{description}

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

change line -> poly
change polyline -> polygon
@GitCop
Copy link

GitCop commented Sep 26, 2016

There were the following issues with your Pull Request

  • Commit: 102a3c6
    • Commits must be in the following format: %{type}(%{scope}): %{description}

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

@vekexasia
Copy link

Hello @SebastianM & @gorango can you get it merged? Would love to use this feature :)

@petomalina
Copy link

Could we merge this please? Our deadline is in 3 hours :D

@sebholstein
Copy link
Owner

@gorango merged, thanks! Modified a few lines.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants