ConstructorOptions

sealed interface ConstructorOptions(source)

Initialization options for the BingMapsImageryProvider constructor

See also

Properties

Link copied to clipboard
abstract var culture: String?

The culture to use when requesting Bing Maps imagery. Not all cultures are supported. See [http://msdn.microsoft.com/en-us/library/hh441729.aspx] for information on the supported cultures. Default value - ''

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 key: String?

The Bing Maps key for your application, which can be created at https://www.bingmapsportal.com/.

Link copied to clipboard
abstract var mapLayer: String?

Additional display layer options as defined on https://learn.microsoft.com/en-us/bingmaps/rest-services/imagery/get-imagery-metadata#template-parameters

Link copied to clipboard
abstract var mapStyle: BingMapsStyle?

The type of Bing Maps imagery to load. Default value - BingMapsStyle.AERIAL

Link copied to clipboard

The policy that determines if a tile is invalid and should be discarded. By default, a DiscardEmptyTileImagePolicy will be used, with the expectation that the Bing Maps server will send a zero-length response for missing tiles. To ensure that no tiles are discarded, construct and pass a NeverTileDiscardPolicy for this parameter.

Link copied to clipboard
abstract var tileProtocol: String?

The protocol to use when loading tiles, e.g. 'http' or 'https'. By default, tiles are loaded using the same protocol as the page.