Skip to content

Disable rezooming on intermediate point addition - #1868

Merged
karussell merged 1 commit into
graphhopper:masterfrom
twitwi:disable-autozoom
Jan 28, 2020
Merged

karussell merged 1 commit into
graphhopper:masterfrom
twitwi:disable-autozoom

Conversation

@twitwi

@twitwi twitwi commented Jan 26, 2020

Copy link
Copy Markdown
Contributor

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

twitwi commented Jan 26, 2020

Copy link
Copy Markdown
Contributor Author

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

@karussell

Copy link
Copy Markdown
Member

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

@karussell karussell added the web label Jan 27, 2020
@twitwi

twitwi commented Jan 27, 2020

Copy link
Copy Markdown
Contributor Author

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.

2 participants