Skip to content

Rationalize map view method options - #1215

Closed
jfirebaugh wants to merge 1 commit into
masterfrom
jumpTo
Closed

jfirebaugh wants to merge 1 commit into
masterfrom
jumpTo

Conversation

@jfirebaugh

Copy link
Copy Markdown
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 jfirebaugh mentioned this pull request May 26, 2015
4 of 6 tasks
@jfirebaugh

Copy link
Copy Markdown
Contributor Author

@tmcw @mourner Look good?

@tmcw

tmcw commented May 26, 2015

Copy link
Copy Markdown
Contributor

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

@jfirebaugh

Copy link
Copy Markdown
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

mourner commented May 27, 2015

Copy link
Copy Markdown
Member

👍

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