diff options
author | Jason Wray <jason@kulturny.com> | 2015-10-02 19:43:04 -0400 |
---|---|---|
committer | Jason Wray <jason@kulturny.com> | 2015-10-02 19:43:04 -0400 |
commit | b406c942df3293f12415d24d03ef17eb44847c88 (patch) | |
tree | d855afd4c8e8a2936080678d71ee59ca607867cd /include | |
parent | 29da7bb26d64cea59e8482f5d58a46cc848904cc (diff) | |
download | qtlocation-mapboxgl-b406c942df3293f12415d24d03ef17eb44847c88.tar.gz |
[ios] update MGLMapView inline docs for v8 styles
Fixes #2503
Diffstat (limited to 'include')
-rw-r--r-- | include/mbgl/ios/MGLMapView.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mbgl/ios/MGLMapView.h b/include/mbgl/ios/MGLMapView.h index 402972f763..713d577f21 100644 --- a/include/mbgl/ios/MGLMapView.h +++ b/include/mbgl/ios/MGLMapView.h @@ -37,7 +37,7 @@ IB_DESIGNABLE /** Initializes and returns a newly allocated map view with the specified frame and style URL. * @param frame The frame for the view, measured in points. -* @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>`). Specify `nil` for the default style. +* @param styleURL The map style URL to use. Can be either an HTTP/HTTPS URL or a Mapbox map ID style URL (`mapbox://styles/<user>/<style>`). Specify `nil` for the default style. * @return An initialized map view. */ - (instancetype)initWithFrame:(CGRect)frame styleURL:(nullable NSURL *)styleURL; - (instancetype)initWithFrame:(CGRect)frame accessToken:(NSString *)accessToken styleURL:(nullable NSURL *)styleURL __attribute__((unavailable("Use -initWithFrame:styleURL:. Set MGLMapboxAccessToken in the Info.plist or call +[MGLAccountManager setAccessToken:]."))); @@ -240,7 +240,7 @@ IB_DESIGNABLE /** URL of the style currently displayed in the receiver. * -* The URL may be a full HTTP or HTTPS URL or a Mapbox URL indicating the style’s map ID (`mapbox://<user.style>`). +* The URL may be a full HTTP or HTTPS URL or a Mapbox URL indicating the style’s map ID (`mapbox://styles/<user>/<style>`). * * To display the default style, set this property to `nil`. */ @property (nonatomic, null_resettable) NSURL *styleURL; |