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/.Deprecated: true
Members
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.
Deprecated: true
Methods
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.
Deprecated: true