ConstructorOptions

Initialization options for the MapboxStyleImageryProvider constructor

See also

Properties

Link copied to clipboard
abstract val accessToken: String

The public access token for the imagery.

Link copied to clipboard
abstract val credit: Credit?

A credit for the data source, which is displayed on the canvas.

Link copied to clipboard
abstract val ellipsoid: Ellipsoid?

The ellipsoid. If not specified, the default ellipsoid is used. Default value - Ellipsoid.default

Link copied to clipboard
abstract val maximumLevel: Int?

The maximum level-of-detail supported by the imagery provider, or undefined if there is no limit.

Link copied to clipboard
abstract val minimumLevel: Int?

The minimum level-of-detail supported by the imagery provider. Take care when specifying this that the number of tiles at the minimum level is small, such as four or less. A larger number is likely to result in rendering problems. Default value - 0

Link copied to clipboard
abstract val rectangle: Rectangle?

The rectangle, in radians, covered by the image. Default value - Rectangle.MAX_VALUE

Link copied to clipboard
abstract val scaleFactor: Boolean?

Determines if tiles are rendered at a @2x scale factor.

Link copied to clipboard
abstract val styleId: String

The Mapbox Style ID.

Link copied to clipboard
abstract val tilesize: Int?

The size of the image tiles. Default value - 512

Link copied to clipboard
abstract val url: Resource?

The Mapbox server url. Default value - 'https://api.mapbox.com/styles/v1/'

Link copied to clipboard
abstract val username: String?

The username of the map account. Default value - 'mapbox'