Name | Type | Required | Description |
---|---|---|---|
accessToken |
String |
Yes |
required acessToken to pull mapbox tiles, can be null if other tiles are used |
sets the accessToken, which is required when you want to use mapbox tiles not required when using other tiles
Name | Type | Required | Description |
---|---|---|---|
tileServer |
String |
Yes |
tile server |
No-op on non MapLibre implemntations. Use MapboxGL.TileServers.Mapbox to consume mapbox tiles with maplibre. Note: Consuming mapbox with MapLibre has different pricing than with the official SDK. Other values: MapboxGL.TileServers.MapLibre, MapboxGL.TileServers.MapTiler
Name | Type | Required | Description |
---|---|---|---|
accessToken |
String |
Yes |
required acessToken to pull mapbox tiles, can be null if other tiles are used |
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
Name | Type | Required | Description |
---|---|---|---|
telemetryEnabled |
Boolean |
Yes |
If mapbox' telemetry should be enabled or not
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 mapbox is told to be connected or not |
If you want to fully block online map - maybe to force offline maps