code: function(x, y){
              return {
                  x: Math.floor(x / this.tileSize) + this.originX,
                  y: Math.floor(y / this.tileSize) + this.originY
              };
          }
docs: Converts map view pixel coords to map tile coords. Map view pixel coords are relative to the top left of the canvas element.
  @method pixelToTileCoords
  @param {Number} x - Map view pixel x coord.
  @param {Number} y - Map view pixel y coord.
  @return {Object|False}  {x: 0, y: 0}