赣州市洪水风险预警系统三维版本
guoshilong
2023-02-27 4d8c6dd77427e8e581fda17b6b65ba86bfb7a815
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import defined from './defined.js';
 
    /**
     * Object for setting and retrieving the default Bing Maps API key.
     *
     * A Bing API key is only required if you are using {@link BingMapsImageryProvider}
     * or {@link BingMapsGeocoderService}. You can create your own key at
     * {@link https://www.bingmapsportal.com/}.
     *
     * @exports BingMapsApi
     */
    var BingMapsApi = {};
 
    /**
     * 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.
     *
     * @type {String}
     */
    BingMapsApi.defaultKey = undefined;
 
    BingMapsApi.getKey = function(providedKey) {
        if (defined(providedKey)) {
            return providedKey;
        }
 
        return BingMapsApi.defaultKey;
    };
export default BingMapsApi;