feat(google-maps): Add support for polygonPathsChange event
- Vorherrschende Sprache
- TypeScript
- Sterne
- 25k
- Forks
- 6.8k
- Ø Merge
- 1 T. 8 Std.
- Gemergte PRs (30 T.)
- 91
Beschreibung
### 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.
Beitragsleitfaden
Rechercherichtung
Beginne mit der Komponente map-polygon und vergleiche ihre verfügbaren Polygon-Ereignisse mit der referenzierten AGM-Polygon-Implementierung unter packages/core/src/lib/directives/polygon.ts#L197. Verfolge, wie Änderungen am Pfad eines bearbeitbaren Polygons verfügbar gemacht werden, und überprüfe anschließend, dass das neue Ereignis polygonPathsChange Änderungen für das Migrationsbeispiel wie erwartet meldet.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- angular, typescript
- Bereich
- frontend, web-dev
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100