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

polyPathChange event is missing in Polyline #177

Open
ziXet opened this issue Jan 3, 2024 · 1 comment
Open

polyPathChange event is missing in Polyline #177

ziXet opened this issue Jan 3, 2024 · 1 comment

Comments

@ziXet
Copy link

ziXet commented Jan 3, 2024

Hi,

Thanks for maintainig this library.

We have noticed that this event is missing in the Polyline.

It used to be in the agm-map. https://angular-maps.com/api-docs/agm-core/directives/agmpolyline#source

    this._polylineManager.createPathEventObservable(this).then((ob$) => {
      const os = ob$.subscribe(pathEvent => this.polyPathChange.emit(pathEvent));
      this._subscriptions.push(os);
    });

Any possibility of adding this? or a workaround?

The use-case is when the line is editable, user drags the points and we need to get an event to get the new path.

Thanks

@DaSchTour
Copy link
Contributor

@ziXet can you check the PR #183 if that's how it should work?

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

No branches or pull requests

2 participants