var x = Math.round((bounds.left - this.maxExtent.left) / (res * this.tileSize.w));