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

animated scaleBy #41

Merged
merged 1 commit into from
Feb 6, 2014
Merged

animated scaleBy #41

merged 1 commit into from
Feb 6, 2014

Conversation

incanus
Copy link
Contributor

@incanus incanus commented Feb 5, 2014

This will close #30 animated scaleBy. There is one outstanding issue described below, though.

  • Allows for duration arguments to scaleBy and setScale
  • Adds a scaling center point to setScale
  • Animates the actual Transform::setScale if duration is present

This unlocks the duration arguments added for iOS in 74f3e57.

Issues to resolve:

  • Occasionally after animated scale, some tiles remain undrawn until the map position, scale, or angle is further modified.

@kkaefer any ideas?

 * add duration argument to scaleBy & setScale
 * add scale center arguments to setScale
 * add animation to Transform::setScale
@kkaefer
Copy link
Member

kkaefer commented Feb 6, 2014

When zooming in, this always moves back to an intermediary state for me, like snapping to integer zoom levels or something.

@kkaefer kkaefer merged commit 3ae58c5 into master Feb 6, 2014
@incanus
Copy link
Contributor Author

incanus commented Feb 6, 2014

Hmm, that's odd. Was this during gestures or programmatic use?

Also, thoughts on the render issue? I think that's still outstanding.

@incanus
Copy link
Contributor Author

incanus commented Feb 10, 2014

The snapping bug was fixed in c412b8d

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

animated scaleBy
2 participants