Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Immediate location animation based on map's projection #13545

Merged
merged 1 commit into from
Dec 13, 2018

Conversation

LukasPaczos
Copy link
Contributor

@LukasPaczos LukasPaczos commented Dec 11, 2018

Closes #13014.

The threshold value has been chosen experimentally, so please test it out and let me know what you think.

The idea is to transition the camera without animation if there is a lot of relative camera distance (and unloaded tiles) to cover in between. This means, that the higher the distance / zoom level ratio, the more travel the camera will need to perform. Zoom level is expressed here as the projected meters per pixel.

Currently targeted at #13523 to avoid conflicts but I'm going to re-target when #13523 lands.

@LukasPaczos LukasPaczos added the Android Mapbox Maps SDK for Android label Dec 11, 2018
@LukasPaczos LukasPaczos added this to the android-v7.1.0 milestone Dec 11, 2018
Copy link
Member

@tobrun tobrun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good!

@LukasPaczos LukasPaczos force-pushed the lp-13014-projected-immediate-animation branch from fb9bf5c to 0fe966f Compare December 12, 2018 11:32
@LukasPaczos LukasPaczos requested a review from 1ec5 as a code owner December 12, 2018 11:32
@LukasPaczos LukasPaczos requested a review from a team December 12, 2018 11:32
@LukasPaczos LukasPaczos changed the base branch from lp-13243-location-transition-handler to master December 12, 2018 11:32
@LukasPaczos LukasPaczos removed request for a team and 1ec5 December 12, 2018 11:33
@LukasPaczos LukasPaczos force-pushed the lp-13014-projected-immediate-animation branch from 0fe966f to 8890a9f Compare December 13, 2018 16:54
@LukasPaczos LukasPaczos force-pushed the lp-13014-projected-immediate-animation branch from 8890a9f to f3bf1a2 Compare December 13, 2018 16:54
@LukasPaczos LukasPaczos merged commit e86d1b2 into master Dec 13, 2018
@LukasPaczos LukasPaczos deleted the lp-13014-projected-immediate-animation branch December 13, 2018 18:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Android Mapbox Maps SDK for Android
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants