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

πŸ’β› v10 default styles #8972

Merged

Conversation

1ec5
Copy link
Contributor

@1ec5 1ec5 commented May 12, 2017

I forgot to retarget #6301 at the release branch, so this PR cherry-picks those changes into the release branch.

/cc @fabian-guerra @boundsj

1ec5 added 4 commits May 11, 2017 18:59
Upgraded from v9 default styles to v10 wherever the developer expects to get the latest and greatest, as well as in a couple tests where it may be beneficial to ensure that we can handle a two-digit version number in the style URL.

Cherry-picked from ed54849.
MGLStyleDefaultVersion is just for Streets now. Deleted style version documentation tests because not all styles are on the same version.

Cherry-picked from ca97dd8.
Undeprecated the unversioned style URL factory methods in MGLStyle for consistency with the Android and Qt SDKs. Added warnings about using them with the runtime styling API.

Refactored mbgl::util::default_styles to track different versions for different styles.

Cherry-picked from 9e384b7.
The Styles API section of the Mapbox API Documentation site now lists Traffic Day v2 and Traffic Night v2, so this change adds those styles to all the places where styles are listed.

Also switched iosapp and macosapp to unversioned style factory methods since MGLStyleDefaultVersion is no longer applicable for all styles.

Cherry-picked from 4d6f545.
@1ec5 1ec5 added Android Mapbox Maps SDK for Android iOS Mapbox Maps SDK for iOS macOS Mapbox Maps SDK for macOS labels May 12, 2017
@1ec5 1ec5 added this to the ios-v3.6.0 milestone May 12, 2017
@1ec5 1ec5 self-assigned this May 12, 2017
@1ec5 1ec5 requested a review from fabian-guerra May 12, 2017 02:03
@1ec5 1ec5 mentioned this pull request May 12, 2017
Copy link
Contributor

@fabian-guerra fabian-guerra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

πŸ‘πŸΌ

@1ec5 1ec5 merged commit 886bf25 into release-ios-v3.6.0-android-v5.1.0 May 12, 2017
@1ec5 1ec5 deleted the 1ec5-default-styles-v10-release branch May 12, 2017 17:02
@1ec5 1ec5 mentioned this pull request May 12, 2017
10 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Android Mapbox Maps SDK for Android iOS Mapbox Maps SDK for iOS macOS Mapbox Maps SDK for macOS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants