summaryrefslogtreecommitdiff
path: root/include/mbgl/ios
diff options
context:
space:
mode:
Diffstat (limited to 'include/mbgl/ios')
-rw-r--r--include/mbgl/ios/MGLMapView.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/mbgl/ios/MGLMapView.h b/include/mbgl/ios/MGLMapView.h
index 1fd3b69811..bacef9d33d 100644
--- a/include/mbgl/ios/MGLMapView.h
+++ b/include/mbgl/ios/MGLMapView.h
@@ -196,6 +196,10 @@
* @param styleName The map style name to use. */
- (void)useBundledStyleNamed:(NSString *)styleName;
+/** Sets the map style URL to use.
+* @param styleURL The map style URL to use. Can be either an HTTP/HTTPS URL or a Mapbox map ID style URL (`mapbox://<user.style>`). */
+- (void)setStyleURL:(NSURL *)styleURL;
+
#pragma mark - Annotating the Map
/** @name Annotating the Map */