ConstructorOptions

Initialization options for the MapboxStyleImageryProvider 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 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 scaleFactor: Boolean?

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

Link copied to clipboard
abstract var styleId: String

The Mapbox Style ID.

Link copied to clipboard
abstract var tilesize: Int?

The size of the image tiles. Default value - 512

Link copied to clipboard
abstract var url: Resource?

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

Link copied to clipboard
abstract var username: String?

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