ConstructorOptions

sealed interface ConstructorOptions(source)

Initialization options for the MapboxImageryProvider constructor

See also

Properties

Link copied to clipboard
abstract var accessToken: String

The public access token for the imagery.

Link copied to clipboard
abstract var credit: Credit?

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

Link copied to clipboard
abstract var ellipsoid: Ellipsoid?

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

Link copied to clipboard
abstract var format: String?

The format of the image request. Default value - 'png'

Link copied to clipboard
abstract var mapId: String

The Mapbox Map ID.

Link copied to clipboard
abstract var maximumLevel: Int?

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

Link copied to clipboard
abstract var 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 var rectangle: Rectangle?

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

Link copied to clipboard
abstract var url: String?

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