Google

Wednesday, November 28, 2007

Google Maps and the 404 error : maps/gen_204

Running multiple Drupal sites and using Google maps, the last few days I been getting a bunch of 404 errors

warning page not found 11/28/2007 - 15:24 maps/gen_204 Anonymous 
warning page not found 11/28/2007 - 15:24 maps/gen_204 Anonymous
warning page not found 11/28/2007 - 15:23 maps/gen_204 Anonymous


Upon further inspection I see that for some reason The new version Google Maps API is referring to a file on my own server

http://www.mysite.com/maps/gen_204?ev=failed_tile&cad=x:14789,y:10052,zoom:3
http://www.mysite.com/maps/gen_204?ev=failed_tile&cad=x:14789,y:10054,zoom:3
http://www.mysite.com/maps/gen_204?ev=failed_tile&cad=x:14529,y:9900,zoom:3
http://www.mysite.com/maps/gen_204?ev=failed_tile&cad=x:29592,y:20109,zoom:2
http://www.mysite.com/maps/gen_204?ev=failed_tile&cad=x:14,y:11,zoom:13
http://www.mysite.com/maps/gen_204?ev=failed_tile&cad=x:29594,y:20144,zoom:2


Looking into the actual Google Maps JavaScript file
http://www.google.com/intl/en_ALL/mapfiles/93/maps2.api/main.js

I notice the following line
U.prototype.zv=function(a){var b=Mw(ey(a)),c=b[qf],d=b[rf],e=b[tv],f=Wr("x:%1$s,y:%2$s,zoom:%3$s",c,d,e);tn("/maps/gen_204?ev=failed_tile&cad="+f)};


So it looks like they have a relative path set up, so instead of looking for a Google maps tile, it is looking on my own site. I don't think the visitors see this, but everybody who moves the map are creating this error. I wouldn't expect Google to let something like this slip. But now I guess I have to wait or change the Maps version myself.