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 enable/disable endpoint methods #5095

Conversation

AntonKhorev
Copy link
Collaborator

Part of #5064. I'm pulling it out because it's also required for #4900.

The noticeable difference after this PR should be geocoding request cancelling when leaving the directions page. Previously you could pick "Directions from/to here" then quickly close the directions form or go to any other map layout page. The geocoding request could terminate after that, placing an endpoint marker on the map despite not being on the directions page.

@AntonKhorev AntonKhorev force-pushed the directions-endpoint-enable-disable branch from ccbec6c to fe07f52 Compare August 19, 2024 16:40
@AntonKhorev AntonKhorev force-pushed the directions-endpoint-enable-disable branch from fe07f52 to 5a1e3e5 Compare August 19, 2024 17:31
@tomhughes
Copy link
Member

Looks good to me, thanks.

@AntonKhorev AntonKhorev deleted the directions-endpoint-enable-disable branch August 20, 2024 09:25
@HolgerJeromin
Copy link
Contributor

Merged as 99a7d21

@tomhughes
Copy link
Member

Well actually it was the earlier version which was merged which is why github didn't detect the merge... Now I need to figure out the difference...

@tomhughes
Copy link
Member

Remerged as c5aa012 which I think just adds a missing abort call - something that I nearly asked about before the first merge!

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