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 some hysteresis to map scales #3385

Merged
merged 1 commit into from Jun 22, 2018

Conversation

Projects
None yet
1 participant
@fiam
Copy link
Member

commented Jun 17, 2018

When POI is getting close to the map center, try to keep the same
scale until the POI is around half the distance from the map center
to its closest edge. This makes the scale way less jumpy.

Add some hysteresis to map scales
When POI is getting close to the map center, try to keep the same
scale until the POI is around half the distance from the map center
to its closest edge. This makes the scale way less jumpy.

@fiam fiam added this to the 2.0 milestone Jun 17, 2018

@fiam fiam merged commit 070560d into development Jun 22, 2018

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details

@fiam fiam deleted the agh_map_scale_hysteresis branch Jun 22, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.