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

finish map getters & setters #57

Closed
wants to merge 10 commits into from
Closed

finish map getters & setters #57

wants to merge 10 commits into from

Conversation

incanus
Copy link
Contributor

@incanus incanus commented Feb 10, 2014

This rounds out the rest of the getter & setter functionality for the map and the requisite transform equivalents under the hood, adds animation options to any methods missing it, condenses code duplication across routines, and fixes a couple issues in related code.

  • adds getLonLat & setLonLat (with animation)
  • adds getZoom & setZoom (with animation)
  • adds resetZoom
  • adds animation to rotateBy & setAngle
  • adds getLonLatZoom and setLonLatZoom (with animation)
  • adds private Transform::setScaleXY (with animation) for simultaneous xyz animation transforms
  • adds missing default center point for setScale
  • fixes issue with x/y changing when only changing zoom

Would love someone else (@kkaefer?) to take a peek, then I can rebase & merge in another PR.

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.

1 participant