summaryrefslogtreecommitdiff
path: root/platform/darwin/include/MGLStyle.h
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2016-02-11 12:21:49 -0800
committerJohn Firebaugh <john.firebaugh@gmail.com>2016-02-12 14:53:52 -0800
commit13e2acbc754893efb945fe02d20824698415dcdb (patch)
treee8e4c966f03798fc6896a0fd3163e83921f84a38 /platform/darwin/include/MGLStyle.h
parentab677a7905b0f81850d6aa3dcdd2caebc0dbc851 (diff)
downloadqtlocation-mapboxgl-13e2acbc754893efb945fe02d20824698415dcdb.tar.gz
[ios, osx] Consolidate remaining files in platform/{ios,osx}
Diffstat (limited to 'platform/darwin/include/MGLStyle.h')
-rw-r--r--platform/darwin/include/MGLStyle.h56
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