Name | Type | Required | Description |
---|---|---|---|
accessToken |
String |
Yes |
access token to pull Mapbox-hosted tiles; can be null for other tile hosts |
sets the accessToken, which is required when you want to use mapbox tiles not required when using other tiles
Name | Type | Required | Description |
---|---|---|---|
accessToken |
String |
Yes |
access token to pull Mapbox-hosted tiles; can be null if for other tile hosts |
gets the accessToken
Name | Type | Required | Description |
---|---|---|---|
headerName |
String |
Yes |
name for customHeader |
headerValue |
String |
Yes |
value for customHeader |
also see CustomHttpHeaders
Name | Type | Required | Description |
---|---|---|---|
headerName |
String |
Yes |
name of customHeader to be removed |
also see CustomHttpHeaders
Opens Android Location Permission prompt. Returns a Promise which resolves into a boolean. Either permission was granted or denied.
Name | Type | Required | Description |
---|---|---|---|
connected |
Boolean |
Yes |
whether or not the SDK should assume it is online |
If you want to fully block map tile requests over the network, such as for a low-data / offline application.