src/tile.js
function() {
        if ( this.imgElement && this.imgElement.parentNode ) {
            this.imgElement.parentNode.removeChild( this.imgElement );
        }
        if ( this.element && this.element.parentNode ) {
            this.element.parentNode.removeChild( this.element );
        }

        this.element    = null;
        this.imgElement = null;
        this.loaded     = false;
        this.loading    = false;
    }
function() {
        if ( this.imgElement && this.imgElement.parentNode ) {
            this.imgElement.parentNode.removeChild( this.imgElement );
        }
        if ( this.element && this.element.parentNode ) {
            this.element.parentNode.removeChild( this.element );
        }

        this.element    = null;
        this.imgElement = null;
        this.loaded     = false;
        this.loading    = false;
    }
function ( ) { if ( this . imgElement && this . imgElement . parentNode ) { this . imgElement . parentNode . removeChild ( this . imgElement ) ; } if ( this . element && this . element . parentNode ) { this . element . parentNode . removeChild ( this . element ) ; } this . element = null ; this . imgElement = null ; this . loaded = false ; this . loading = false ; }
Removes tile from its container.
@function
Removes tile from its container .