You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you call listOfflineRegions on Android and no map has been shown, the following error is received. Using MapView requires setting a valid access token. Use Mapbox.getInstance(Context context, String accessToken) to provide one.
The readme says you can do the following
mapbox.listOfflineRegions({
// required for Android in case no map has been shown yet
accessToken: accessToken,
})
However listOfflineRegions doesn't appear to take a parameter, and Typescript cannot compile the code if you try to provide one.
The text was updated successfully, but these errors were encountered:
When you call listOfflineRegions on Android and no map has been shown, the following error is received.
Using MapView requires setting a valid access token. Use Mapbox.getInstance(Context context, String accessToken) to provide one.
The readme says you can do the following
However listOfflineRegions doesn't appear to take a parameter, and Typescript cannot compile the code if you try to provide one.
The text was updated successfully, but these errors were encountered: