diff options
Diffstat (limited to 'platform/darwin/include/MGLStyle.h')
-rw-r--r-- | platform/darwin/include/MGLStyle.h | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/platform/darwin/include/MGLStyle.h b/platform/darwin/include/MGLStyle.h new file mode 100644 index 0000000000..e5b2de877c --- /dev/null +++ b/platform/darwin/include/MGLStyle.h @@ -0,0 +1,56 @@ +#import <Foundation/Foundation.h> + +#import "MGLTypes.h" + +NS_ASSUME_NONNULL_BEGIN + +/** A collection of convenience methods for creating style URLs of default styles provided by Mapbox. These instances of NSURL are cached. */ +@interface MGLStyle : NSObject + +/** + Returns the Streets style URL. + + Mapbox Streets is a complete base map, perfect for incorporating your own data. + */ ++ (NSURL *)streetsStyleURL; + +/** + Returns the Emerald style URL. + + Emerald is a versatile style with emphasis on road networks and public transportation. + */ ++ (NSURL *)emeraldStyleURL; + +/** + Returns the Light style URL. + + Light is a subtle, light-colored backdrop for data visualizations. + */ ++ (NSURL *)lightStyleURL; + +/** + Returns the Dark style URL. + + Dark is a subtle, dark-colored backdrop for data visualizations. + */ ++ (NSURL *)darkStyleURL; + +/** + Returns the Satellite style URL. + + Mapbox Satellite is a beautiful global satellite and aerial imagery layer. + */ ++ (NSURL *)satelliteStyleURL; + +/** + Returns the Hybrid style URL. + + Hybrid combines the global satellite and aerial imagery of Mapbox Satellite with unobtrusive labels. + */ ++ (NSURL *)hybridStyleURL; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END |