From af0c89c2aaad85268af88bfa15a61e27352e1295 Mon Sep 17 00:00:00 2001 From: "Justin R. Miller" Date: Mon, 30 Mar 2015 22:37:00 -0700 Subject: [PATCH] expose style URL setting --- include/mbgl/ios/MGLMapView.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/mbgl/ios/MGLMapView.h b/include/mbgl/ios/MGLMapView.h index 1fd3b6981..bacef9d33 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://`). */ +- (void)setStyleURL:(NSURL *)styleURL; + #pragma mark - Annotating the Map /** @name Annotating the Map */