feat(google-maps): Add support for polygonPathsChange event
- Dominant language
- TypeScript
- Stars
- 25k
- Forks
- 6.8k
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 91
Description
### Feature Description
Hi, old [AGM - Angular Google Maps](https://github.com/sebholstein/angular-google-maps) has polygon paths change event and it is so useful. Now I'm converting my components from AGM to google-maps component but it does not support polygon paths change event. It would be great if this component support polygon paths change event like old agm component.
https://github.com/sebholstein/angular-google-maps/blob/340e3e35b60169b901842d0ca71c13944ad7fd2c/packages/core/src/lib/directives/polygon.ts#L197
My old implementation
```html
```
New implementation with google-map
```html
```
### Use Case
In my use case I control intersection and cover functionality with old component `polyPathsChange` event, now I can't control them with efficient way so it is super powerful and helpful feature to be when google-map support `polygonPathsChange` event itself as old component support.
Contributor guide
Research direction
Start with the map-polygon component and compare its available polygon events with the referenced AGM polygon implementation at packages/core/src/lib/directives/polygon.ts#L197. Trace how editable polygon path changes are exposed, then verify that the new polygonPathsChange event reports changes in the expected way for the migration example.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- angular, typescript
- Domain
- frontend, web-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100