summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLAccountManager.h
diff options
context:
space:
mode:
Diffstat (limited to 'platform/darwin/src/MGLAccountManager.h')
-rw-r--r--platform/darwin/src/MGLAccountManager.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/platform/darwin/src/MGLAccountManager.h b/platform/darwin/src/MGLAccountManager.h
index c1aebd879c..741cc323cb 100644
--- a/platform/darwin/src/MGLAccountManager.h
+++ b/platform/darwin/src/MGLAccountManager.h
@@ -17,17 +17,17 @@ MGL_EXPORT
Set the
<a href="https://www.mapbox.com/help/define-access-token/">Mapbox access token</a>
to be used by all instances of MGLMapView in the current application.
-
+
Mapbox-hosted vector tiles and styles require an API access token, which you
can obtain from the
<a href="https://www.mapbox.com/studio/account/tokens/">Mapbox account page</a>.
Access tokens associate requests to Mapbox’s vector tile and style APIs with
your Mapbox account. They also deter other developers from using your styles
without your permission.
-
+
@param accessToken A Mapbox access token. Calling this method with a value of
`nil` has no effect.
-
+
@note You must set the access token before attempting to load any Mapbox-hosted
style. Therefore, you should generally set it before creating an instance of
MGLMapView. The recommended way to set an access token is to add an entry to