dTo(map);

  //  $(b._ctx.canvas).hide();

    map.on('moveend',updateMapFilter);
    map.on('zoomend',updateMapFilter);
    var geo;
    var dtm;
    var colorScale;

    function updateMapFilter() {

       src= b._ctx.canvas._image.src;


        //console.log(src);
        var xhr = new XMLHttpRequest();
        xhr.open('GET', src, true);
        xhr.responseType = 'arraybuffer';
        xhr.onload = function(e) {

            // band 0
            var tt = this.response;
            geo = L.ScalarFiel