summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLStyle.h
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2016-08-24 11:43:54 -0700
committerGitHub <noreply@github.com>2016-08-24 11:43:54 -0700
commit2523f33ac440be1a817e50d2d8bdc4d9c5b0a9d9 (patch)
tree1e404d39d374ce03b318ce316ec6cce6d079ad65 /platform/darwin/src/MGLStyle.h
parent7fb7bc0fbc519e1ac934eb1218c4a3032def9317 (diff)
downloadqtlocation-mapboxgl-2523f33ac440be1a817e50d2d8bdc4d9c5b0a9d9.tar.gz
[ios, macos] Expose name and default position of current style (#6127)
* [ios] Reset to style’s default position * [ios, macos] Added name property to MGLStyle
Diffstat (limited to 'platform/darwin/src/MGLStyle.h')
-rw-r--r--platform/darwin/src/MGLStyle.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/platform/darwin/src/MGLStyle.h b/platform/darwin/src/MGLStyle.h
index 3354d27a43..bc4c32da91 100644
--- a/platform/darwin/src/MGLStyle.h
+++ b/platform/darwin/src/MGLStyle.h
@@ -164,6 +164,13 @@ static const NSInteger MGLStyleDefaultVersion = 9;
*/
+ (NSURL *)satelliteStreetsStyleURLWithVersion:(NSInteger)version;
+/**
+ The name of the style.
+
+ You can customize the style’s name in Mapbox Studio.
+ */
+@property (readonly, copy, nullable) NSString *name;
+
#pragma mark Runtime Styling
/**