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

Upgrade to Mapbox GL–based Mapbox Static API #54

Merged
merged 22 commits into from
Mar 27, 2017
Merged

Upgrade to Mapbox GL–based Mapbox Static API #54

merged 22 commits into from
Mar 27, 2017

Commits on Mar 5, 2017

  1. Split Snapshot.swift by class

    1ec5 committed Mar 5, 2017
    Configuration menu
    Copy the full SHA
    ccb1d89 View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2017

  1. Upgraded to GL-based Static API

    Renamed SnapshotOptions to ClassicSnapshotOptions. Added a similar SnapshotOptions class tailored to the GL-based Static API. Split out ClassicSnapshotTests.
    1ec5 committed Mar 6, 2017
    Configuration menu
    Copy the full SHA
    3c87b52 View commit details
    Browse the repository at this point in the history
  2. Make GeoJSON initializer throwable

    We previously made this initializer failable instead of throwable because of a compiler bug, but the bug appears to have been resolved in Swift 3.
    1ec5 committed Mar 6, 2017
    Configuration menu
    Copy the full SHA
    0cc8c09 View commit details
    Browse the repository at this point in the history
  3. Re-typed apiEndpoint as URL

    1ec5 committed Mar 6, 2017
    Configuration menu
    Copy the full SHA
    2fd31c3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    dc8d6d7 View commit details
    Browse the repository at this point in the history
  5. Rewrote classic snapshot tests

    Split out classic overlay tests into a separate test class. Replaced clever but untested URL parsing code in tests with much more straightforward string literals that can be verified easily. Added test fixture images. Verify that NSImage or UIImage can be created from each test fixture image. Switched to mapbox.streets in overlay tests to make fixtures easier to identify. Added configuration tests.
    1ec5 committed Mar 6, 2017
    Configuration menu
    Copy the full SHA
    5a1975f View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    892850e View commit details
    Browse the repository at this point in the history
  7. Fixed example applications

    Upgraded example applications to use the new SnapshotOptions initializer. Refined MBSnapshotCamera initializer for Objective-C in the form of a factory method.
    1ec5 committed Mar 6, 2017
    Configuration menu
    Copy the full SHA
    a628377 View commit details
    Browse the repository at this point in the history
  8. Updated readme and playgrounds

    1ec5 committed Mar 6, 2017
    Configuration menu
    Copy the full SHA
    5a42efc View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2017

  1. Configuration menu
    Copy the full SHA
    cc91770 View commit details
    Browse the repository at this point in the history
  2. Simplified zoom test

    1ec5 committed Mar 7, 2017
    Configuration menu
    Copy the full SHA
    e8e4457 View commit details
    Browse the repository at this point in the history
  3. Auto-fitting for GL API

    1ec5 committed Mar 7, 2017
    Configuration menu
    Copy the full SHA
    bc81dc3 View commit details
    Browse the repository at this point in the history
  4. Added SnapshotOptions tests

    1ec5 committed Mar 7, 2017
    Configuration menu
    Copy the full SHA
    88cee66 View commit details
    Browse the repository at this point in the history
  5. Fixed pitch without heading

    1ec5 committed Mar 7, 2017
    Configuration menu
    Copy the full SHA
    346993d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a95cc20 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    ec4956d View commit details
    Browse the repository at this point in the history

Commits on Mar 17, 2017

  1. Updated readme screenshots

    1ec5 committed Mar 17, 2017
    Configuration menu
    Copy the full SHA
    09a812a View commit details
    Browse the repository at this point in the history
  2. Corrected image width

    1ec5 committed Mar 17, 2017
    Configuration menu
    Copy the full SHA
    41ac689 View commit details
    Browse the repository at this point in the history
  3. Added altitude to SnapshotCamera

    Added altitude as an alternative to zoom level in SnapshotCamera, for consistency with MapKit and the Mapbox iOS SDK.
    1ec5 committed Mar 17, 2017
    Configuration menu
    Copy the full SHA
    53a1660 View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2017

  1. Clarified documentation

    Clarified the relationship between Snapshot and the iOS and macOS SDKs. Added a notice about the general requirement to leave the logo enabled.
    1ec5 committed Mar 26, 2017
    Configuration menu
    Copy the full SHA
    5ccc930 View commit details
    Browse the repository at this point in the history
  2. Updated example access token

    1ec5 committed Mar 26, 2017
    Configuration menu
    Copy the full SHA
    49ec1d0 View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2017

  1. Configuration menu
    Copy the full SHA
    189229b View commit details
    Browse the repository at this point in the history