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

Rationalize map view method options #1215

Closed
wants to merge 1 commit into from
Closed

Rationalize map view method options #1215

wants to merge 1 commit into from

Conversation

jfirebaugh
Copy link
Contributor

  • Map#setView is replaced with Map#jumpTo.
  • Map#jumpTo, Map#easeTo, and Map#flyTo now all accept the
    same set of view options.

Fixes #1051

@jfirebaugh
Copy link
Contributor Author

@tmcw @mourner Look good?

@tmcw
Copy link
Contributor

tmcw commented May 26, 2015

👍 looks good to me, though there should be a tail ticket for matching this on native.

@jfirebaugh
Copy link
Contributor Author

Covered by mapbox/mapbox-gl-native#256.

* Map#setView is replaced with Map#jumpTo.
* Map#jumpTo, Map#easeTo, and Map#flyTo now all accept the
  same set of view options.
@mourner
Copy link
Member

mourner commented May 27, 2015

👍

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

Successfully merging this pull request may close these issues.

setView should use current zoom, bearing, pitch if undefined
3 participants