You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
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
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 .
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.
Activity
jfirebaugh commentedon Apr 14, 2016
For Android, we should switch to a function-based approach like iOS:
Style.mapboxSatelliteStyleURL(int version). That way we don't have to modifyStylefor each new style version release.tobrun commentedon Apr 18, 2016
@jfirebaugh thank you for the input,
I updated the requirements above and divided them in
iOSandAndroidspecifically.[core, ios, osx] Version default style URL APIs; deprecated Emerald
1ec5 commentedon Apr 20, 2016
Style URL APIs are getting versioned in the iOS and OS X SDKs in #4759.
tobrun commentedon Apr 20, 2016
@1ec5 great,
I will create a branch from #4759 and create a PR to get the Android changes in the same PR.
[core, ios, osx] Version default style URL APIs; deprecated Emerald
[core, ios, osx] Version default style URL APIs; deprecated Emerald
[core, ios, osx] Version default style URL APIs; deprecated Emerald