src/aria/embed/controllers/MapController.js
function (evt) {
                var args = mapReadyHandlerArgs[evt.mapId];
                if (args) {
                    this._triggerLoadingIndicator(args.container, false);
                    delete mapReadyHandlerArgs[evt.mapId];
                    this._listeners--;
                    if (this._listeners === 0) {
                        this.mapManager.$removeListeners({
                            "mapReady" : {
                                fn : this._removeLoadingIndicator,
                                scope : this
                            }
                        });
                    }

                }
            }
function (evt) {
                var args = mapReadyHandlerArgs[evt.mapId];
                if (args) {
                    this._triggerLoadingIndicator(args.container, false);
                    delete mapReadyHandlerArgs[evt.mapId];
                    this._listeners--;
                    if (this._listeners === 0) {
                        this.mapManager.$removeListeners({
                            "mapReady" : {
                                fn : this._removeLoadingIndicator,
                                scope : this
                            }
                        });
                    }

                }
            }
function ( evt ) { var args = mapReadyHandlerArgs [ evt . mapId ] ; if ( args ) { this . _triggerLoadingIndicator ( args . container , false ) ; delete mapReadyHandlerArgs [ evt . mapId ] ; this . _listeners -- ; if ( this . _listeners === 0 ) { this . mapManager . $removeListeners ( { "mapReady" : { fn : this . _removeLoadingIndicator , scope : this } } ) ; } } }
"mapReady" event handler. Used in case the map is loading
@param {Object} evt Event description
@private
mapReady event handler . Used in case the map is loading