function (tileLayer) {
    if (this.options.changingMap) {
      return false;
    }

    // Check for existing layer
    if (this._usingTileProjection(tileLayer)) {
      console.log("That tile layer is already active.");
    } else {
      // Drop base tile layers
      this._dropTileLayers();
      this._update(tileLayer);
    }
  }
function (tileLayer) {
    if (this.options.changingMap) {
      return false;
    }

    
    if (this._usingTileProjection(tileLayer)) {
      console.log("That tile layer is already active.");
    } else {
      
      this._dropTileLayers();
      this._update(tileLayer);
    }
  }
function ( tileLayer ) { if ( this . options . changingMap ) { return false ; } // Check for existing layer if ( this . _usingTileProjection ( tileLayer ) ) { console . log ( "That tile layer is already active." ) ; } else { // Drop base tile layers this . _dropTileLayers ( ) ; this . _update ( tileLayer ) ; } }
Public Functions
Public Functions