Builder
class Builder
Content copied to clipboard
Constructors
Functions
access
                    Link copied to clipboard
                        open fun accessToken(@NonNull accessToken: String): ResourceOptions.Builder
Content copied to clipboard
The access token that is used to access resources provided by Mapbox services.
asset
                    Link copied to clipboard
                        The path to the folder where application assets are located.
base
                    Link copied to clipboard
                        The base URL that would be used to make HTTP requests.
build
                          
                    Link copied to clipboard
                        data
                    Link copied to clipboard
                        The path to the map data folder.
tile
                    Link copied to clipboard
                        open fun tileStore(@Nullable tileStore: TileStore): ResourceOptions.Builder
Content copied to clipboard
The tile store instance.
tile
                    Link copied to clipboard
                        open fun tileStoreUsageMode(@NonNull tileStoreUsageMode: TileStoreUsageMode): ResourceOptions.Builder
Content copied to clipboard
The tile store usage mode.
Extensions
apply
                    Link copied to clipboard
                        fun ResourceOptions.Builder.applyDefaultParams(context: Context): ResourceOptions.Builder
Content copied to clipboard
Get a default ResourceOptions.Builder with Mapbox pre-defined options, and with the access token taken from the Android resources(if available).