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

Disable rezooming on intermediate point addition #1868

Merged
merged 1 commit into from
Jan 28, 2020

Conversation

twitwi
Copy link
Contributor

@twitwi twitwi commented Jan 26, 2020

This PR prevents the automatic-rezoom features that takes place when the user adds an intermediate destination (which can be very annoying when fine tuning very-very long tracks).

It is a simplified version of the commit removed from #1856

@twitwi
Copy link
Contributor Author

twitwi commented Jan 26, 2020

There seem to be an issue about that (partly) #775

@karussell
Copy link
Member

Thanks! Will it still zoom to the route for the initial map load?

@karussell karussell added the web label Jan 27, 2020
@twitwi
Copy link
Contributor Author

twitwi commented Jan 27, 2020

Yes. The added line is only in "function setIntermediateCoord(e) {" which is called only when the user adds a step.

@karussell karussell added this to the 1.0 milestone Jan 27, 2020
@karussell karussell merged commit 7acdcf9 into graphhopper:master Jan 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants