Skip to content

Commit 519ccef

Browse files
committed
chore: doc
1 parent bbfa0aa commit 519ccef

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

packages/ui-mapbox/blueprint.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,31 @@
1010
You either need your own tile server such as the one provided by [openmaptiles.org](https://openmaptiles.org) or a Mapbox API access token (they have a 🆓 Starter plan!), so [sign up with Mapbox](https://www.mapbox.com/signup/).
1111
Once you've registered go to your Account > Apps > New token. The 'Default Secret Token' is what you'll need.
1212

13+
### Android
14+
15+
Mapbox now requires (version > 8.6.6) an api key to download the sdk
16+
17+
If you want to use newer version than the default 8.6.6 you need to add this to your `app.gradle`
18+
```gradle
19+
allprojects {
20+
repositories {
21+
maven {
22+
url 'https://api.mapbox.com/downloads/v2/releases/maven'
23+
authentication {
24+
basic(BasicAuthentication)
25+
}
26+
credentials {
27+
// Do not change the username below.
28+
// This should always be `mapbox` (not your username).
29+
username = 'mapbox'
30+
// Use the secret token you stored in gradle.properties as the password
31+
password = project.properties['MAPBOX_DOWNLOADS_TOKEN'] ?: ""
32+
}
33+
}
34+
}
35+
}
36+
```
37+
1338
## Installation
1439
Run the following command from the root of your project:
1540

0 commit comments

Comments
 (0)