对象,用于设置和检索默认的Bing映射API密钥。
只有在使用
BingMapsImageryProvider
时才需要Bing API密钥
或BingMapsGeocoderService
。您可以在
https://www.bingmapsportal.com/Deprecated: true
Members
默认的Bing映射API密钥,如果没有提供给
使用Bing地图API的对象的构造函数。
Deprecated: true
Methods
获取用于访问Bing地图API的密钥。如果提供
键,则返回。否则,返回
BingMapsApi.defaultKey
。Name | Type | Description |
---|---|---|
providedKey |
string | null | undefined | 如果已定义,则提供要使用的键。 |
Returns:
必应映射要使用的API密钥。
Deprecated: true