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

Add noBind: true to polyline path property #81

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Brads3290
Copy link

noBind: true was missing on the path property of the GMapPolyline component.

This was causing a bug where the path_changed event would stop firing after an update to the path value.

The polyline component has a watcher which re-wires all the events necessary to emit path_changed, but without noBind, the default watcher in bindProps.js also executes, completely replacing the underlying Path object with one that has no events wired.

@netlify
Copy link

netlify bot commented Sep 26, 2023

Deploy Preview for vue-google-maps-community-fork canceled.

Name Link
🔨 Latest commit c0afc7a
🔍 Latest deploy log https://app.netlify.com/sites/vue-google-maps-community-fork/deploys/65122375c2843c00089845ea

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

Successfully merging this pull request may close these issues.

3 participants