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

Set waypoint name to an empty string on drag. #655

Open
vnmedeiros opened this issue Apr 29, 2022 · 3 comments
Open

Set waypoint name to an empty string on drag. #655

vnmedeiros opened this issue Apr 29, 2022 · 3 comments

Comments

@vnmedeiros
Copy link

Hi there!
is there any reason to update the waypoint name to an empty string, when end drag the point on the map?

this._waypoints[i].name = '';

Is that an expected behavior?
Thank you!

@vnmedeiros
Copy link
Author

#610

@curtisy1
Copy link
Collaborator

Sorry for getting back to you this late @vnmedeiros
I agree with the use case in the PR you linked. I'm thinking how we could integrate both approaches so it's up to the user to either clear or keep the waypoint name. Maybe some kind of setting would be ideal?

I'll try to spin something up in the coming days or on the weekend when I find some time

@curtisy1
Copy link
Collaborator

I added a new option to clear the waypoint name on drag.

Will be available in the next major release. If you need this to be backported to version 3 of this plugin, please let me know

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

No branches or pull requests

2 participants