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

iOS Camera API #2159

Closed
wants to merge 16 commits into from
Closed

iOS Camera API #2159

wants to merge 16 commits into from

Conversation

bleege
Copy link
Contributor

@bleege bleege commented Aug 24, 2015

For #1834

@1ec5 1ec5 force-pushed the 1ec5-camera-1834 branch 6 times, most recently from fe422c7 to 45ed0c9 Compare August 26, 2015 20:31
1ec5 added 16 commits August 27, 2015 11:06
Plumbed camera options all the way through to MGLMapView. Added a method that lets you specify a direction in addition to center point and zoom level. Cleanup shall commence shortly.

Added Map::jumpTo() for parity with mapbox-gl-js. Replaced usage of Map::setLatLng() and Map::setLatLngZoom() with Map::jumpTo() or Map::easeTo() within MGLMapView.

ref #1834
Fixes iOS builds.
Now within 1% of MKMapCamera output. -setCamera: still needs work. Also added -[MGLMapCamera description], which avoids the typographical faux pas found in `-[MKMapCamera description], of which I shall not speak.
Added pitch animation. Use util::clamp() instead of fmax() and fmin().
Altitude calculations now come closer to roundtripping (within about 3%). The altitude is still far from the one calculated by MapKit, however.
@1ec5 1ec5 force-pushed the 1ec5-camera-1834 branch from 75abe81 to 2fec51c Compare August 27, 2015 18:06
@1ec5 1ec5 modified the milestone: ios-v2.1.0 Aug 27, 2015
@1ec5 1ec5 closed this Aug 27, 2015
@1ec5 1ec5 removed the in progress label Aug 27, 2015
@1ec5 1ec5 mentioned this pull request Aug 27, 2015
14 tasks
@1ec5
Copy link
Contributor

1ec5 commented Aug 27, 2015

#2116 has been merged, so we need a new PR for this work: #2193.

@bleege bleege mentioned this pull request Oct 26, 2015
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.

3 participants