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.
Various class methods should be class properties #6778
Various methods like +[MGLStyle streetsStyleURL], +[MGLAccountManager accessToken]/+[MGLAccountManager setAccessToken:], and +[MGLOfflineStorage sharedOfflineStorage] should be class properties with refined Swift names (#5178). Swift code would be able to say:
MGLOfflineStorage.shared.addPack(…
Once #6386 is fixed, Swift code would be able to say:
mapView.style = .streets
This change will require anyone compiling or building or using the SDK in another project to use Xcode 8.0 or above. It would also require a major version bump if we aren’t able to keep the old methods around as deprecated aliases.
Activity
friedbunny commentedon Oct 21, 2016
Agreed, this would be a good change.
1ec5 commentedon Apr 16, 2018
Fixed in #11674 on the release-boba branch for iOS map SDK v4.0.0 and macOS map SDK v0.7.0.