summaryrefslogtreecommitdiff
path: root/include/mbgl/ios
diff options
context:
space:
mode:
authorJustin R. Miller <incanus@codesorcery.net>2015-03-30 22:37:00 -0700
committerJustin R. Miller <incanus@codesorcery.net>2015-03-30 22:37:00 -0700
commitaf0c89c2aaad85268af88bfa15a61e27352e1295 (patch)
treed0735ea7890fae22acf4a9879d15abc2d463018f /include/mbgl/ios
parent33f14328c486daca461ed6f22ade1b50110af10c (diff)
downloadqtlocation-mapboxgl-af0c89c2aaad85268af88bfa15a61e27352e1295.tar.gz
expose style URL setting
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 */