BingMapsApi

Object for setting and retrieving the default Bing Maps API key. A Bing API key is only required if you are using BingMapsImageryProvider or BingMapsGeocoderService. You can create your own key at https://www.bingmapsportal.com/.

Members

static Cesium.BingMapsApi.defaultKey : String

The default Bing Maps API key to use if one is not provided to the constructor of an object that uses the Bing Maps API.

Methods

static Cesium.BingMapsApi.getKey(providedKey)string|undefined

Gets the key to use to access the Bing Maps API. If the provided key is defined, it is returned. Otherwise, returns BingMapsApi.defaultKey.
Name Type Description
providedKey string | null | undefined The provided key to use if defined.
Returns:
The Bing Maps API key to use.