src/aria/embed/controllers/MapController.js
function (container, cfg) {
                var localMapStatus = this.mapManager.getMapStatus(cfg.id);
                var mapDom = mapDoms[cfg.id];
                if (localMapStatus === null) {
                    this._createMap(container, cfg);
                } else {
                    container.appendChild(mapDom);
                }
                localMapStatus = this.mapManager.getMapStatus(cfg.id);
                if (cfg.loadingIndicator && localMapStatus != this.mapManager.READY) {
                    this._activateLoadingIndicator(container, cfg);
                }
            }
function (container, cfg) {
                var localMapStatus = this.mapManager.getMapStatus(cfg.id);
                var mapDom = mapDoms[cfg.id];
                if (localMapStatus === null) {
                    this._createMap(container, cfg);
                } else {
                    container.appendChild(mapDom);
                }
                localMapStatus = this.mapManager.getMapStatus(cfg.id);
                if (cfg.loadingIndicator && localMapStatus != this.mapManager.READY) {
                    this._activateLoadingIndicator(container, cfg);
                }
            }
function ( container , cfg ) { var localMapStatus = this . mapManager . getMapStatus ( cfg . id ) ; var mapDom = mapDoms [ cfg . id ] ; if ( localMapStatus === null ) { this . _createMap ( container , cfg ) ; } else { container . appendChild ( mapDom ) ; } localMapStatus = this . mapManager . getMapStatus ( cfg . id ) ; if ( cfg . loadingIndicator && localMapStatus != this . mapManager . READY ) { this . _activateLoadingIndicator ( container , cfg ) ; } }
Called by the Map embed widget at initialization
@param {HTMLElement} container
@param {Object} cfg
Called by the Map embed widget at initialization