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

Add version argument to class members of Style, deprecate older ones #4702

Closed

Description

@tobrun

Add a version argument to the Style class members. Each member documentation would say what the current latest version is, “as of” a certain date. Deprecate the unversioned methods.

Update:

For iOS:

Add a version argument to the MGLStyle class methods. Each method’s documentation would say what the current latest version is, “as of” a certain date. Deprecate the unversioned methods.

For Android:

Use same system as iOS, deprecate old Style.java class.

In line with deprecation of the Emerald style in #4577 .

Activity

  1. added
    Android
    on Apr 14, 2016
  2. added this to the android-v4.1.0 milestone on Apr 14, 2016
  3. added
    iOS
    on Apr 14, 2016
  4. jfirebaugh commented on Apr 14, 2016

    @jfirebaugh
    Contributor

    For Android, we should switch to a function-based approach like iOS: Style.mapboxSatelliteStyleURL(int version). That way we don't have to modify Style for each new style version release.

  5. tobrun commented on Apr 18, 2016

    @tobrun
    MemberAuthor

    @jfirebaugh thank you for the input,
    I updated the requirements above and divided them in iOS and Android specifically.

  6. 1ec5 commented on Apr 20, 2016

    @1ec5
    Contributor

    Style URL APIs are getting versioned in the iOS and OS X SDKs in #4759.

  7. tobrun commented on Apr 20, 2016

    @tobrun
    MemberAuthor

    @1ec5 great,
    I will create a branch from #4759 and create a PR to get the Android changes in the same PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    AndroidiOS

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions