diff options
author | Justin R. Miller <incanus@codesorcery.net> | 2015-03-30 22:37:00 -0700 |
---|---|---|
committer | Justin R. Miller <incanus@codesorcery.net> | 2015-03-30 22:37:00 -0700 |
commit | af0c89c2aaad85268af88bfa15a61e27352e1295 (patch) | |
tree | d0735ea7890fae22acf4a9879d15abc2d463018f /include/mbgl/ios | |
parent | 33f14328c486daca461ed6f22ade1b50110af10c (diff) | |
download | qtlocation-mapboxgl-af0c89c2aaad85268af88bfa15a61e27352e1295.tar.gz |
expose style URL setting
Diffstat (limited to 'include/mbgl/ios')
-rw-r--r-- | include/mbgl/ios/MGLMapView.h | 4 |
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 */ |