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

Commits on Aug 27, 2015

  1. CameraOptions

    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
    1ec5 committed Aug 27, 2015
    Configuration menu
    Copy the full SHA
    80f0ec3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f0ef892 View commit details
    Browse the repository at this point in the history
  3. MGLMapCamera

    1ec5 committed Aug 27, 2015
    Configuration menu
    Copy the full SHA
    c6ae9cb View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4a74e35 View commit details
    Browse the repository at this point in the history
  5. Animate changes to pitch

    ref #2116
    1ec5 committed Aug 27, 2015
    Configuration menu
    Copy the full SHA
    543cfa4 View commit details
    Browse the repository at this point in the history
  6. Documented MGLMapCamera

    Fixes iOS builds.
    1ec5 committed Aug 27, 2015
    Configuration menu
    Copy the full SHA
    3eff2f3 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    34013ce View commit details
    Browse the repository at this point in the history
  8. Refined -camera

    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.
    1ec5 committed Aug 27, 2015
    Configuration menu
    Copy the full SHA
    292ee24 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    abed81e View commit details
    Browse the repository at this point in the history
  10. MGLRadiansFromDegrees

    1ec5 committed Aug 27, 2015
    Configuration menu
    Copy the full SHA
    81fd431 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    bec1beb View commit details
    Browse the repository at this point in the history
  12. Pitch animation

    Added pitch animation. Use util::clamp() instead of fmax() and fmin().
    1ec5 committed Aug 27, 2015
    Configuration menu
    Copy the full SHA
    bbca4eb View commit details
    Browse the repository at this point in the history
  13. Animate pitch reset

    1ec5 committed Aug 27, 2015
    Configuration menu
    Copy the full SHA
    fbeb8e9 View commit details
    Browse the repository at this point in the history
  14. Fixed build

    1ec5 committed Aug 27, 2015
    Configuration menu
    Copy the full SHA
    a65013f View commit details
    Browse the repository at this point in the history
  15. Reverted accidental test code

    1ec5 committed Aug 27, 2015
    Configuration menu
    Copy the full SHA
    e7aeaf3 View commit details
    Browse the repository at this point in the history
  16. Fixed -setCamera:

    Altitude calculations now come closer to roundtripping (within about 3%). The altitude is still far from the one calculated by MapKit, however.
    1ec5 committed Aug 27, 2015
    Configuration menu
    Copy the full SHA
    2fec51c View commit details
    Browse the repository at this point in the history