src/Layer.js
/**
     * Custom Layer API: `prerender` function
     */
Custom Layer API: `prerender` function
Custom Layer API : ` prerender ` function
prerender (gl, matrix) {
        if (!util.equalArrays(this._matrix, matrix)) {
            this._matrix = matrix;
            this.requestData(matrix);
        }
    }
prerender ( gl , matrix ) { if ( ! util . equalArrays ( this . _matrix , matrix ) ) { this . _matrix = matrix ; this . requestData ( matrix ) ; } }
Custom Layer API: `prerender` function
Custom Layer API : ` prerender ` function
// Call request data if the matrix has changed