src/utils/load-google-maps.js
/**
     * Load the Google Maps JavaScript API script and return a Promise.
     *
     * @ignore
     */
Load the Google Maps JavaScript API script and return a Promise.
@ignore
Load the Google Maps JavaScript API script and return a Promise . @ignore
loadPromise() {
        return new Promise((resolve, reject) => {
            this.loadCallback((err) => {
                if (!err) {
                    resolve();
                } else {
                    reject(err);
                }
            });
        });
    }
loadPromise ( ) { return new Promise ( ( resolve , reject ) => { this . loadCallback ( ( err ) => { if ( ! err ) { resolve ( ) ; } else { reject ( err ) ; } } ) ; } ) ; }
Load the Google Maps JavaScript API script and return a Promise.
Load the Google Maps JavaScript API script and return a Promise .