Builder
class Builder
Content copied to clipboard
Constructors
Functions
accept Expired
Link copied to clipboard
open fun acceptExpired(acceptExpired: Boolean): TileRegionLoadOptions.Builder
Content copied to clipboard
Accepts expired data when loading tiles.
average Bytes Per Second
Link copied to clipboard
open fun averageBytesPerSecond(@Nullable averageBytesPerSecond: Integer): TileRegionLoadOptions.Builder
Content copied to clipboard
Limits the download speed of the tile region.
build
Link copied to clipboard
descriptors
Link copied to clipboard
open fun descriptors(@Nullable descriptors: List<TilesetDescriptor>): TileRegionLoadOptions.Builder
Content copied to clipboard
The tile region's tileset descriptors.
extra Options
Link copied to clipboard
open fun extraOptions(@Nullable extraOptions: Value): TileRegionLoadOptions.Builder
Content copied to clipboard
Extra tile region load options.
geometry
Link copied to clipboard
open fun geometry(@Nullable geometry: Geometry): TileRegionLoadOptions.Builder
Content copied to clipboard
The tile region's associated geometry.
metadata
Link copied to clipboard
open fun metadata(@Nullable metadata: Value): TileRegionLoadOptions.Builder
Content copied to clipboard
A custom Mapbox Value associated with this tile region for storing metadata.
network Restriction
Link copied to clipboard
open fun networkRestriction(@NonNull networkRestriction: NetworkRestriction): TileRegionLoadOptions.Builder
Content copied to clipboard
Controls which networks may be used to load the tile.
start Location
Link copied to clipboard
open fun startLocation(@Nullable startLocation: Point): TileRegionLoadOptions.Builder
Content copied to clipboard
Starts loading the tile region at the given location and then proceeds to tiles that are further away from it.